docs(04-02): complete chart tooltip currency formatting plan

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-12 09:28:20 +01:00
parent 5a70899cf8
commit bd84a80ac4
5 changed files with 131 additions and 12 deletions

View File

@@ -3,14 +3,14 @@ gsd_state_version: 1.0
milestone: v1.0
milestone_name: milestone
status: planning
stopped_at: Completed 04-01-PLAN.md
last_updated: "2026-03-12T08:24:41.212Z"
stopped_at: Completed 04-02-PLAN.md
last_updated: "2026-03-12T08:28:10.884Z"
last_activity: 2026-03-11 — Roadmap created from requirements and research
progress:
total_phases: 4
completed_phases: 3
completed_phases: 4
total_plans: 10
completed_plans: 9
completed_plans: 10
percent: 0
---
@@ -59,6 +59,7 @@ Progress: [░░░░░░░░░░] 0%
| Phase 03-interaction-quality-and-completeness P02 | 5 | 2 tasks | 3 files |
| Phase 03-interaction-quality-and-completeness P03 | 5 | 2 tasks | 4 files |
| Phase 04-chart-polish-and-bug-fixes P01 | 1 | 2 tasks | 2 files |
| Phase 04-chart-polish-and-bug-fixes P02 | 10 | 2 tasks | 4 files |
## Accumulated Context
@@ -90,6 +91,8 @@ Recent decisions affecting current work:
- [Phase 03-interaction-quality-and-completeness]: Empty tracker sections show tinted skeleton card (not null) — section always visible with palette-tinted placeholders when no items exist
- [Phase 04-chart-polish-and-bug-fixes]: formatCurrency third parameter defaults to 'en', replacing hardcoded 'de-DE' — all existing 2-arg call sites now produce English formatting (FIX-01)
- [Phase 04-chart-polish-and-bug-fixes]: Defensive locale || 'en' guard in formatCurrency prevents RangeError when empty string is passed
- [Phase 04-chart-polish-and-bug-fixes]: Custom Tooltip content renderer replicates ChartTooltipContent styling without importing shadcn source — aligned with project rule forbidding edits to src/components/ui/
- [Phase 04-chart-polish-and-bug-fixes]: DashboardPage.test.tsx mocks useAuth to prevent i18n initReactI18next import error triggered by new useAuth dependency
### Pending Todos
@@ -102,6 +105,6 @@ None yet.
## Session Continuity
Last session: 2026-03-12T08:24:41.210Z
Stopped at: Completed 04-01-PLAN.md
Last session: 2026-03-12T08:28:10.883Z
Stopped at: Completed 04-02-PLAN.md
Resume file: None