| 03-setups-and-dashboard |
02 |
ui |
| tanstack-router |
| react |
| zustand |
| tanstack-query |
| slide-out-panel |
|
| phase |
provides |
| 03-setups-and-dashboard |
Setup CRUD API at /api/setups, junction table setup_items |
|
| phase |
provides |
| 01-collection-core |
ItemCard, CategoryHeader, TotalsBar, SlideOutPanel, formatters |
|
| phase |
provides |
| 02-planning-threads |
ThreadCard, ThreadTabs, useThreads hooks |
|
|
| Dashboard page at / with three summary cards (Collection, Planning, Setups) |
| Collection page at /collection with gear/planning tabs (moved from /) |
| Setups list page at /setups with inline create form |
| Setup detail page at /setups/:id with item picker and category-grouped items |
| ItemPicker component for checklist-based item assignment |
| Route-aware TotalsBar with optional stats/linkTo/title props |
| Setup query/mutation hooks (useSetups, useSetup, useCreateSetup, etc.) |
|
| 03-03-visual-verification |
|
| added |
patterns |
|
|
| route-aware-totals-bar |
| checklist-picker-in-slide-panel |
| dashboard-card-grid |
|
|
| created |
modified |
| src/client/routes/collection/index.tsx |
| src/client/routes/setups/index.tsx |
| src/client/routes/setups/$setupId.tsx |
| src/client/components/DashboardCard.tsx |
| src/client/components/SetupCard.tsx |
| src/client/components/ItemPicker.tsx |
| src/client/hooks/useSetups.ts |
|
| src/client/routes/index.tsx |
| src/client/routes/__root.tsx |
| src/client/components/TotalsBar.tsx |
| src/client/components/ItemCard.tsx |
| src/client/hooks/useItems.ts |
| src/client/stores/uiStore.ts |
| src/client/routeTree.gen.ts |
|
|
| TotalsBar refactored to accept optional props instead of creating separate components per page |
| Setup detail computes totals client-side from items array rather than separate API call |
| ItemPicker uses local state for selections, syncs on Done button press |
| FAB only visible on /collection gear tab, hidden on dashboard and setups |
|
| Route-aware TotalsBar: optional stats/linkTo/title props with backward-compatible default |
| Checklist picker pattern: SlideOutPanel with category-grouped checkboxes and Done/Cancel |
| Dashboard card pattern: DashboardCard with icon, stats, and optional empty text |
|
| SETP-01 |
| SETP-02 |
| SETP-03 |
| DASH-01 |
|
5min |
2026-03-15 |