4.0 KiB
4.0 KiB
phase, plan, subsystem, tags, dependency_graph, tech_stack, key_files, decisions, metrics
| phase | plan | subsystem | tags | dependency_graph | tech_stack | key_files | decisions | metrics | ||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 05-design-system-token-rework | 02 | frontend-components |
|
|
|
|
|
|
Phase 05 Plan 02: Shared Component Rounding and Spacing Cleanup Summary
Sharp corners enforced across all 5 shared components by removing hardcoded rounded-* classes, and page-level spacing upgraded from gap-6 to gap-8 in PageShell propagating to all 9 pages.
Tasks Completed
| Task | Name | Commit | Files Modified |
|---|---|---|---|
| 1 | Upgrade PageShell spacing and remove rounded-* from DashboardSkeleton | e8f13c9 |
PageShell.tsx, DashboardSkeleton.tsx |
| 2 | Remove rounded-* from CategorySection, ChartEmptyState, QuickAddPicker | e7282fa |
CategorySection.tsx, ChartEmptyState.tsx, QuickAddPicker.tsx |
Changes Made
Task 1: PageShell + DashboardSkeleton
PageShell.tsx
gap-6→gap-8in the root flex container (line 15) — applies generous section spacing across all 9 pages
DashboardSkeleton.tsx
- Outer flex:
gap-6→gap-8 - Summary cards grid:
gap-4→gap-6 - Chart area grid:
gap-6→gap-8 - Removed
rounded-mdfrom 3 chart skeleton<Skeleton>elements - Removed
rounded-mdfrom collapsible section row<div> - Removed
rounded-fullfrom 2 badge<Skeleton>elements (2 occurrences via replace_all)
Task 2: CategorySection + ChartEmptyState + QuickAddPicker
CategorySection.tsx
- Removed
rounded-mdfrom collapsible trigger<button>— sharp left-bordered row maintained viaborder-l-4
ChartEmptyState.tsx
- Removed
rounded-lgfrom the dashed-border container div — sharp rectangular empty state
QuickAddPicker.tsx
- Removed
rounded-smfrom picker item<button>elements in the popover list - Removed
rounded-fullfrom the category type dot indicator<div>
Verification
bun run build → exit 0 (both tasks)
grep rounded-md PageShell.tsx → 0 matches
grep rounded-md DashboardSkeleton.tsx → 0 matches
grep rounded-full DashboardSkeleton.tsx → 0 matches
grep rounded-md CategorySection.tsx → 0 matches
grep rounded-lg ChartEmptyState.tsx → 0 matches
grep rounded-sm QuickAddPicker.tsx → 0 matches
grep rounded-full QuickAddPicker.tsx → 0 matches
grep gap-8 PageShell.tsx → 1 match ✓
Deviations from Plan
None — plan executed exactly as written.
Known Stubs
None — this plan modifies only CSS class strings. No data wiring or UI stubs introduced.
Threat Flags
None — pure CSS class changes, no security-relevant surface modified.
Self-Check
Commits exist:
e8f13c9: feat(05-02): upgrade PageShell spacing to gap-8 and remove rounded-* from DashboardSkeletone7282fa: feat(05-02): remove hardcoded rounded-* from CategorySection, ChartEmptyState, QuickAddPicker
Files exist:
- src/components/shared/PageShell.tsx — modified
- src/components/dashboard/DashboardSkeleton.tsx — modified
- src/components/dashboard/CategorySection.tsx — modified
- src/components/dashboard/charts/ChartEmptyState.tsx — modified
- src/components/QuickAddPicker.tsx — modified