docs: create milestone v2.0 roadmap (5 phases)

This commit is contained in:
2026-04-02 16:09:19 +02:00
parent 0b02d7d328
commit 1ea119d2a4
4 changed files with 276 additions and 73 deletions

View File

@@ -2,12 +2,12 @@
gsd_state_version: 1.0
milestone: v2.0
milestone_name: UX Simplification & Design Rework
status: planning
status: ready_to_plan
stopped_at: null
last_updated: "2026-04-02T00:00:00.000Z"
last_activity: 2026-04-02
progress:
total_phases: 0
total_phases: 5
completed_phases: 0
total_plans: 0
completed_plans: 0
@@ -21,47 +21,38 @@ progress:
See: .planning/PROJECT.md (updated 2026-04-02)
**Core value:** Opening the app should feel like opening a beautifully designed personal spreadsheet — clean pastel colors, clear data layout, approachable and visually delightful. The UI IS the product.
**Current focus:** Defining requirements for v2.0
**Current focus:** Phase 5 — Design System Token Rework
## Current Position
Phase: Not started (defining requirements)
Plan:
Status: Defining requirements
Last activity: 2026-04-02 — Milestone v2.0 started
Phase: 5 of 9 overall (1 of 5 in v2.0)
Plan: Not started
Status: Ready to plan
Last activity: 2026-04-02 — v2.0 roadmap created, 5 phases defined
Progress: [░░░░░░░░░░░░░░░░░░░░] 0/0 plans (0%)
Progress: [░░░░░░░░░░░░░░░░░░░░] 0/? plans (0%)
## Performance Metrics
**Velocity:**
**Velocity (v1.0 baseline):**
- Total plans completed (v1.0): 10
- Average duration: ~2.4 min/plan
- Total execution time: ~24 min
- Total plans completed: 0
- Average duration: -
- Total execution time: 0 hours
**By Phase:**
**By Phase (v1.0):**
| Phase | Plans | Total | Avg/Plan |
|-------|-------|-------|----------|
| - | - | - | - |
**Recent Trend:**
| 01 Design Foundation | 2 | ~5 min | 2.5 min |
| 02 Dashboard Charts | 3 | ~7 min | 2.3 min |
| 03 Collapsible Sections | 2 | ~4 min | 2 min |
| 04 Full-App Consistency | 3 | ~7 min | 2.3 min |
**v2.0 Trend:**
- Last 5 plans: -
- Trend: -
*Updated after each plan completion*
| Phase 01 P01 | 3min | 2 tasks | 5 files |
| Phase 01 P02 | 2min | 2 tasks | 5 files |
| Phase 02 P02 | 2min | 2 tasks | 4 files |
| Phase 02 P01 | 2min | 2 tasks | 4 files |
| Phase 02-dashboard-charts-and-layout P03 | 3min | 2 tasks | 2 files |
| Phase 03-collapsible-dashboard-sections P01 | 2min | 2 tasks | 8 files |
| Phase 03-collapsible-dashboard-sections P02 | 2min | 1 tasks | 2 files |
| Phase 04-full-app-design-consistency P01 | 2min | 2 tasks | 4 files |
| Phase 04-full-app-design-consistency P02 | 3min | 2 tasks | 4 files |
| Phase 04-full-app-design-consistency P03 | 2min | 2 tasks | 4 files |
## Accumulated Context
@@ -70,30 +61,9 @@ Progress: [░░░░░░░░░░░░░░░░░░░░] 0/0 pla
Decisions are logged in PROJECT.md Key Decisions table.
Recent decisions affecting current work:
- [Roadmap]: 4-phase structure derived from research — foundation before features, dashboard before other pages, charts before collapsibles
- [Roadmap]: All research flags set to NO — no `/gsd:research-phase` needed before any phase
- [Phase 01]: Applied Recharts v3 initialDimension patch on chart.tsx (shadcn-ui/ui#9892)
- [Phase 01]: Category text colors darkened to oklch ~0.55 for WCAG 4.5:1 contrast; chart fills kept lighter at ~0.65-0.70 (two-tier pattern)
- [Phase 01]: StatCard uses font-bold (upgraded from font-semibold) for stronger KPI visual weight
- [Phase 01]: SummaryStrip accepts t() as prop to stay presentational; DashboardSkeleton mirrors exact grid layout to prevent shift
- [Phase 02]: Donut legend placed below chart for better 3-column layout fit
- [Phase 02]: ChartEmptyState created in Plan 02 as Rule 3 deviation (blocking dep from Plan 01)
- [Phase 02]: MonthNavigator uses Select dropdown for month jump -- consistent with existing form patterns
- [Phase 02]: useMonthParam uses useSearchParams callback form to preserve other URL params
- [Phase 02-03]: useMemo hooks declared before early returns (Rules of Hooks compliance)
- [Phase 02-03]: QuickAdd button placed below chart grid (SummaryStrip -> charts -> QuickAdd ordering)
- [Phase 02-03]: Chart grid uses md:grid-cols-2 lg:grid-cols-3 responsive breakpoints
- [Phase 03-collapsible-dashboard-sections]: CategorySection uses controlled open/onOpenChange pattern — Plan 02 will own open state in DashboardContent
- [Phase 03-collapsible-dashboard-sections]: Direction-aware diff: spending types (bill, variable_expense, debt) over when actual > budgeted; income/saving/investment over when actual < budgeted
- [Phase 03-collapsible-dashboard-sections]: CollapsibleContent wired to CSS keyframes via data-[state=open]:animate-collapsible-open Tailwind variant
- [Phase 03-collapsible-dashboard-sections]: key prop state reset over useEffect: keying DashboardContent by budgetId causes full remount on month change, cleanly resetting openSections without violating react-hooks linter rules
- [Phase 04-full-app-design-consistency]: Inline SVG paths used for Google and GitHub icons — avoids dependency on external icon library while keeping icons fully styled
- [Phase 04-full-app-design-consistency]: Auth card accent pattern established: border-t-4 border-t-primary shadow-lg on Card with bg-muted/60 background and favicon.svg logo
- [Phase 04-full-app-design-consistency]: TemplatePage uses manual PageShell-mirrored layout (flex flex-col gap-6) instead of PageShell directly — preserves inline-editable TemplateName component
- [Phase 04-full-app-design-consistency]: SettingsPage CardHeader and CardTitle removed — PageShell provides page-level title, CardContent gets pt-6 to compensate
- [Phase 04-full-app-design-consistency]: Direction-aware diff pattern replicated from CategorySection: SPENDING_TYPES array + isSpendingType() covers all 6 category types correctly
- [Phase 04-full-app-design-consistency]: TierBadge column removed from BudgetDetailPage to reduce visual noise and align with CategorySection display style
- [Phase 04-full-app-design-consistency]: budgets.month/year/total keys added to en.json and de.json — i18next interpolation pattern for translated total labels
- [Roadmap v2.0]: 5-phase structure — tokens first (global scope), DB safety before UI writes, wizard before auto-budget, auto-budget before inline add
- [Roadmap v2.0]: Phase 6 kept separate from Phase 7 — DB constraints and backfill migration must land before any wizard UI to prevent data corruption
- [Roadmap v2.0]: SETUP-01, SETUP-02, AUTO-01, AUTO-03 split across Phase 6 and Phase 7/8 — Phase 6 provides the prerequisite DB/data layer, later phases deliver user-visible behavior
### Pending Todos
@@ -101,10 +71,11 @@ None yet.
### Blockers/Concerns
- ⚠️ [Phase 02-03] 6 pre-existing lint errors in unrelated files (MonthNavigator.tsx, badge.tsx, button.tsx, sidebar.tsx, useBudgets.ts) — not caused by Phase 2 changes but may affect Phase 3 CI
- ⚠️ [Phase 8] Verify `profiles` table currency column name before writing auto-create code — check `supabase/migrations/001_profiles.sql` at planning time (research flagged this)
- ⚠️ [Phase 6] `setup_completed` backfill migration must ship before Phase 7 deploys — existing v1.0 users must not see the wizard on first v2.0 login
## Session Continuity
Last session: 2026-04-02
Stopped at: Milestone v2.0 kickoff — defining requirements
Stopped at: Roadmap created — ready to plan Phase 5
Resume file: None