refactor: move category data behind server ownership #375
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
status:blocked
track:api
track:auto
track:core
track:deploy
track:infra
track:ui
type:cleanup
type:docs
type:epic
type:release
type:research
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
barrettruth/delta!375
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "issue-360-category-server-owner"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Category color writes and category listing/count SQL were split across route/action adapters and core helpers.
Solution
src/core/categories.tsGET /api/categoriesthrough shared listing and map back to the existing{ name, count }responseVerification
nix develop --command pnpm exec vitest run tests/core/categories.test.ts tests/server/dashboard-data.test.tsnix develop --command pnpm lintnix develop --command pnpm typechecknix develop --command just ciCloses #360