Skip to content

refactor: address code review findings#146

Merged
vsxd merged 1 commit intomainfrom
refactor/code-review-improvements
Mar 23, 2026
Merged

refactor: address code review findings#146
vsxd merged 1 commit intomainfrom
refactor/code-review-improvements

Conversation

@vsxd
Copy link
Collaborator

@vsxd vsxd commented Mar 23, 2026

Summary

Implements 6 improvements based on code review findings from 2026-03-22:

  • Backend: Make label business limits configurable via application.yml
  • Frontend: Split use-skill-queries.ts into 4 domain-specific modules
  • Frontend: Enable no-explicit-any as warn and clean up all 10 any usages
  • Frontend: Unify API error handling by removing unwrap() in favor of fetchJson()
  • Testing: Add label system scenarios to smoke test script
  • Testing: Add 6 new unit tests for label management UI

Test plan

  • Backend tests: 301 passed
  • Frontend tests: 129 passed (up from 123)
  • TypeScript typecheck: passing
  • ESLint no-explicit-any: 0 warnings
  • Run smoke test against local environment

Implements 6 high-priority improvements from code review:

Backend:
- Make label business limits configurable via application.yml (max-definitions, max-per-skill)

Frontend:
- Split use-skill-queries.ts into domain-specific modules (label/namespace/user/skill)
- Enable @typescript/no-explicit-any as warning and clean up 10 any types
- Unify API error handling by removing unwrap() in favor of fetchJson()

Testing:
- Add label system scenarios to smoke test script
- Add 6 new tests for label management UI (validation, rendering)

All tests passing: 301 backend, 129 frontend
@vsxd vsxd merged commit fa84a2d into main Mar 23, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant