feat: Plan page top: three smooth graphs and a four-week activity map
Back to our planSummary
Replace the three big numbers at the top of the plan page with three smooth graphs (finished per day, done in all, still open) and, right under them, a medium four-week activity map.
Details
Part of #1188; chosen design in its comments and the mockups. Desktop: the three graphs in one row. Tablet: finished on top, the other two side by side below. Phone: all three stacked. Each graph carries only a small title and one small figure; the graphs and the map explain the rest, with no explanatory sentences. Done and open keep their meanings' colours from the state marks (done purple, open green). Uses the series from the data issue, AreaChart and HeatMap. The "Updated" line stays. This replaces PlanSummary and its three tiles; the unused tile code is removed in the same PR.
Acceptance criteria
- Not done: The three graphs and the four-week map follow the mockups at phone, tablet and desktop widths, in light and dark.
- Not done: Layout as above, equal tile heights in a row, nothing wraps out of line down to 320 px.
- Not done: No explanatory sentences; each graph has a text equivalent and meets contrast.
- Not done:
PlanSummaryand the stats only it used are removed; the roadmap note, generated references and component rows change in the same PR. - Not done: Tests first, an axe check, a visual review at the six widths.
Files likely touched
src/modules/roadmap/ui/ (summary), src/app/(frontend)/roadmap/page.tsx, src/modules/roadmap/domain/stats.ts, src/modules/roadmap/README.md, docs/reference/
Must not touch
Mission tiles and pages, other modules.
Generated by Claude Code, opens in a new tab