fix(dashboard): exclude service items from physical unit calculation #143

Closed
opened 2026-09-29 11:37:53 +00:00 by yuris · 0 comments
Owner

Goal

Exclude service items (type === "Service") from the physical stock unit calculation on the dashboard, preventing inflated unit counts.

Acceptance Criteria

  • In apps/management/app/(dashboard)/page.tsx, physicalUnits calculation filters out items where type === "Service".
  • The dashboard unit metric accurately reflects only physical goods (Part, Consumable, Accessory).
  • Verification passes: pnpm --filter garage typecheck, pnpm --filter garage lint, and pnpm --filter garage test lib app.
# Goal Exclude service items (`type === "Service"`) from the physical stock unit calculation on the dashboard, preventing inflated unit counts. # Acceptance Criteria - [ ] In `apps/management/app/(dashboard)/page.tsx`, `physicalUnits` calculation filters out items where `type === "Service"`. - [ ] The dashboard unit metric accurately reflects only physical goods (Part, Consumable, Accessory). - [ ] Verification passes: `pnpm --filter garage typecheck`, `pnpm --filter garage lint`, and `pnpm --filter garage test lib app`.
yuris closed this issue 2026-09-29 11:47:31 +00:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
yuris/garage#143
No description provided.