Commit Graph

194 Commits

Author SHA1 Message Date
3c39410635 docs(06-03): complete useFirstRunState hook and DB schema push summary
- SUMMARY.md for plan 06-03 with all task results
- STATE.md updated: Phase 06 complete (3/3 plans)
- ROADMAP.md updated: Phase 06 marked complete

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-20 20:08:45 +02:00
0c1105fc78 feat(06-03): create useFirstRunState derived hook
- Derives first-run state from cached useCategories + useTemplate queries
- Returns { isFirstRun, loading } with no additional network calls
- isFirstRun true when categories or template items array is empty
- Loading guard prevents spurious redirects during fetch
2026-04-20 19:32:09 +02:00
0e0c2a6ae4 chore: merge executor worktree (06-02 presets + i18n) 2026-04-20 17:49:06 +02:00
9a64cbb505 chore: merge executor worktree (06-01 DB migrations) 2026-04-20 17:49:06 +02:00
60c27db074 docs(06-01): complete plan 01 DB safety constraints and first-run flag summary 2026-04-20 17:48:56 +02:00
39840ca5af feat(06-01): add setup_completed boolean to Profile TypeScript interface
- Added setup_completed: boolean after currency field in Profile interface
2026-04-20 17:48:37 +02:00
934ae0e4c7 docs(06-02): complete preset data library plan summary 2026-04-20 17:48:28 +02:00
0f441b6041 feat(06-01): add migration 007 setup_completed column and backfill
- ALTER TABLE profiles ADD COLUMN setup_completed boolean NOT NULL DEFAULT false
- Backfill existing users with categories OR template items to true
- UNION covers edge case users with template items but no categories
2026-04-20 17:48:25 +02:00
23fd3fad35 feat(06-01): add migration 006 uniqueness constraints with safe deduplication
- DELETE duplicate budgets keeping oldest per (user_id, start_date)
- ADD CONSTRAINT budgets_user_month_unique UNIQUE (user_id, start_date)
- DELETE duplicate categories keeping oldest per (user_id, name)
- ADD CONSTRAINT categories_user_name_unique UNIQUE (user_id, name)
- Wrapped in single BEGIN/COMMIT transaction for atomicity
2026-04-20 17:48:13 +02:00
d23508017a feat(06-02): add preset i18n translations to en.json and de.json
- Add top-level presets key with presets.{type}.{slug} structure
- 19 English translations covering all 6 category types
- 19 German translations covering all 6 category types
- Both JSON files remain valid after edits
2026-04-20 17:48:11 +02:00
3bc7782198 feat(06-02): create 19-item preset budget library
- Add PresetItem interface with slug, type, defaultAmount, item_tier
- Export PRESETS array with 19 items across 6 category types
- Distribution: 4 income, 4 bill, 5 variable_expense, 2 debt, 2 saving, 2 investment
- All item_tier values are fixed or variable (no one_off)
2026-04-20 17:47:47 +02:00
9963926971 docs(06): create phase 6 plan — preset data, first-run detection, and DB safety
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-20 17:45:50 +02:00
662390fc78 docs(06): research phase 6 preset data, first-run detection, and DB safety
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-20 17:41:49 +02:00
843261d321 docs(06): smart discuss context 2026-04-20 17:38:01 +02:00
6607ec8aa5 docs(phase-05): complete phase execution 2026-04-20 17:26:09 +02:00
d99c098df7 docs(05): update verification after radius scale fix 2026-04-20 17:25:56 +02:00
eceddcaf4f fix(05): add explicit radius scale tokens for Tailwind v4 cascade
Tailwind v4 does not derive --radius-xs through --radius-3xl from --radius.
The named scale is independent, so Cards (rounded-xl), Buttons (rounded-md),
etc. retained non-zero border-radius despite --radius: 0. Adding all scale
tokens as 0 ensures complete sharp-corner cascade.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-20 17:25:09 +02:00
c6dc2c3050 chore: merge executor worktree (worktree-agent-a2b5acd5) 2026-04-20 17:17:19 +02:00
c3b50c70a8 docs(05-03): complete page rounding sweep and spacing upgrade plan 2026-04-20 17:17:05 +02:00
00670afe4e feat(05-03): remove rounded-* and upgrade spacing on all 9 pages
- DashboardPage: space-y-6->space-y-8, gap-6->gap-8 in chart grid
- BudgetListPage: remove rounded-md from template toggle row
- BudgetDetailPage: remove rounded-sm/md from skeleton and group headings, rounded-md from summary box, rounded-full from category dot
- TemplatePage: remove rounded-sm/full/md from skeleton and group headings and category dot; gap-6->gap-8, space-y-6->space-y-8
- CategoriesPage: remove rounded-sm/full/md from skeleton and group headings; space-y-6->space-y-8
- QuickAddPage: remove rounded-full/md from skeleton items
- SettingsPage: space-y-4->space-y-6 in CardContent (skeleton and live)
2026-04-20 17:16:29 +02:00
12ed62e430 docs(phase-05): update tracking after wave 1 2026-04-20 17:13:14 +02:00
441d201837 chore: merge executor worktree (worktree-agent-a29c13e1) 2026-04-20 17:12:56 +02:00
6e892374b8 chore: merge executor worktree (worktree-agent-a0017a3e) 2026-04-20 17:12:52 +02:00
1547fe350c docs(05-02): complete shared component rounding and spacing cleanup plan 2026-04-20 17:12:39 +02:00
4eb866cad1 docs(05-01): complete design token foundation plan summary 2026-04-20 17:12:22 +02:00
e7282fa3d6 feat(05-02): remove hardcoded rounded-* from CategorySection, ChartEmptyState, QuickAddPicker
- CategorySection: remove rounded-md from collapsible trigger button
- ChartEmptyState: remove rounded-lg from empty state border container
- QuickAddPicker: remove rounded-sm from picker item buttons
- QuickAddPicker: remove rounded-full from category dot indicator
2026-04-20 17:12:03 +02:00
4c74deced7 feat(05-01): update chart Bar radius to 0 and remove rounded-full legend dot
- SpendBarChart: set radius={0} on both Bar elements (was radius={4})
- IncomeBarChart: set radius={0} on both Bar elements (was radius={[4,4,0,0]})
- ExpenseDonutChart: remove rounded-full from legend color dot className
2026-04-20 17:11:48 +02:00
e8f13c91c6 feat(05-02): upgrade PageShell spacing to gap-8 and remove rounded-* from DashboardSkeleton
- PageShell: gap-6 → gap-8 for header-to-content spacing on all pages
- DashboardSkeleton: gap-6 → gap-8 (outer flex), gap-4 → gap-6 (summary cards), gap-6 → gap-8 (chart grid)
- DashboardSkeleton: remove rounded-md from 3 chart skeleton placeholders
- DashboardSkeleton: remove rounded-md from collapsible section row divs
- DashboardSkeleton: remove rounded-full from 2 badge skeleton placeholders
2026-04-20 17:11:20 +02:00
99b5b5f8e4 feat(05-01): edit design tokens and add CSS overrides in index.css
- Set --radius: 0 for sharp-cornered design system cascade
- Warm background chroma from 0.005 to 0.01
- Delete --color-chart-1 through --color-chart-5 (redundant with fill vars)
- Raise fill chroma to 0.22+ for vibrant pastel category colors
- Add .recharts-rectangle and [data-sonner-toast] radius overrides
2026-04-20 17:11:12 +02:00
e5637511d7 docs(05): create phase 5 design system token rework plans
3 plans across 2 waves covering DS-01, DS-02, DS-03:
- Plan 01: Token edits (radius, colors, chart vars) + chart components
- Plan 02: Shared component rounded-* removal + spacing upgrades
- Plan 03: Per-page sweep (9 pages) + visual verification checkpoint

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-20 16:53:20 +02:00
df2c6af8bf docs(phase-5): add validation strategy
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-20 16:45:06 +02:00
0a598e53d8 docs(05): research phase 5 design system token rework
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-20 16:44:11 +02:00
1258368522 docs(phase-5): UI design contract for Design System Token Rework
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-20 16:37:13 +02:00
a67a802bc2 docs(05): smart discuss context for Design System Token Rework
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-20 16:34:35 +02:00
1ea119d2a4 docs: create milestone v2.0 roadmap (5 phases) 2026-04-02 16:09:19 +02:00
0b02d7d328 docs: define milestone v2.0 requirements 2026-04-02 15:59:43 +02:00
0b72f1c305 docs: complete project research 2026-04-02 15:30:56 +02:00
8fdab4b796 docs: start milestone v2.0 UX Simplification & Design Rework 2026-04-02 15:16:10 +02:00
4b0f18a216 Merge branch 'Develop' of https://gitea.jeanlucmakiola.de/makiolaj/SimpleFinanceDash into Develop
# Conflicts:
#	.planning/milestones/v1.0-phases/02-dashboard-charts-and-layout/02-01-SUMMARY.md
#	.planning/milestones/v1.0-phases/03-collapsible-dashboard-sections/03-CONTEXT.md
2026-04-02 14:33:13 +02:00
039fa0bc80 sum 2026-04-02 14:29:36 +02:00
439d0e950d chore: archive v1.0 phase directories 2026-03-24 09:46:00 +01:00
3a771ba7cd chore: complete v1.0 UI/UX Overhaul milestone 2026-03-24 09:44:12 +01:00
1d5e019839 docs: sync roadmap and state — mark phases 02-04 complete 2026-03-24 09:39:50 +01:00
0410d90e02 docs(02-01): add missing summary for month navigation plan 2026-03-24 09:39:26 +01:00
a270deb2db docs(phase-04): complete phase execution 2026-03-17 16:29:35 +01:00
51516cd73d docs(04-03): add final commit hash and self-check to SUMMARY.md 2026-03-17 16:24:18 +01:00
1e61b88628 docs(04-03): complete budget pages design consistency plan
- BudgetListPage: PageShell, locale-aware months via Intl.DateTimeFormat, skeleton, i18n month/year/total labels
- BudgetDetailPage: semantic tokens, direction-aware diff, group headers, skeleton, PageShell, locale heading
- STATE.md: advance plan, record metrics, add decisions, update session
- ROADMAP.md: phase 04 marked 3/3 plans complete
2026-03-17 16:23:50 +01:00
24d071c1f3 feat(04-03): upgrade BudgetDetailPage with semantic tokens, direction-aware diff, PageShell, group headers, and skeleton
- Replace TierBadge and tier column with cleaner per-category grouping display
- Rewrite DifferenceCell with direction-aware diff logic (spending types: over when actual > budgeted; income/saving/investment: over when actual < budgeted)
- Replace text-green-600/text-red-600 with text-on-budget/text-over-budget semantic tokens
- Replace dot+h2 group headers with left-border accent headers matching dashboard style
- Fix headingLabel to use i18n.language via Intl.DateTimeFormat instead of hardcoded 'en'
- Wrap page in PageShell with locale-aware title and Add Item action button
- Add back-link as first child of PageShell with -mt-4 compensation
- Replace null loading state with PageShell + Skeleton groups
- Update group footer total label to use budgets.total i18n interpolation key
2026-03-17 16:21:37 +01:00
89dd3ded74 feat(04-03): upgrade BudgetListPage with PageShell, locale-aware months, skeleton, and i18n labels
- Replace hardcoded MONTHS array with Intl.DateTimeFormat locale-aware monthItems useMemo
- Update budgetLabel helper to accept locale parameter and use Intl.DateTimeFormat
- Replace null loading state with PageShell + Skeleton rows
- Replace manual header with PageShell title and action prop
- Replace hardcoded 'Month'/'Year' Labels with t('budgets.month')/t('budgets.year')
- Add month/year/total keys to en.json and de.json budgets namespace
2026-03-17 16:20:02 +01:00
f166f1ac5e docs(04-02): complete CRUD pages design consistency plan
- 04-02-SUMMARY.md: documents PageShell adoption, skeleton loading, group headers
- STATE.md: position advanced to 04-02 complete, decisions recorded
- ROADMAP.md: phase 4 progress updated (2 of 3 plans complete)
2026-03-17 16:18:11 +01:00