Issue 1205
feat: Plan page: activity map label, less-to-more legend and spacing
Back to our planDone
enhancementfrontenduxpriority: medium
Summary
The four-week activity map needs a plain label, a "less to more" legend, more space above and below, and full width on a phone, so a first-time visitor reads it without help.
Details
Owner direction (2026-11-14, voice):
- A short label, three words at most, that says what the squares show: "Work done per day".
- A tiny legend of squares from faint to bright, "Less" at one end and "More" at the other, so brighter reads as more work without a sentence.
- A little more margin above and below the map.
- On a phone the map takes the full screen width; the label sits above it on a phone and to its left on a desktop.
Native first: this is a variant of the shared HeatMap and the roadmap's PlanSummary; no new piece. The legend reuses the same shade steps the squares use, so the two can never disagree.
Acceptance criteria
- Not done: The owner has seen mockups for phone and desktop and approved them; recorded here.
- Not done: The map shows "Work done per day" and a less-to-more legend built from the same shade steps as the squares.
- Not done: The map has more space above and below, and fills the screen width on a phone without horizontal scrolling at 320 px.
- Not done: The label and legend are available to screen readers (the map's text equivalent already lists every value) and hold their alignment at the six review widths, light and dark.
- Not done: Tests first, an axe check, the
HeatMapgallery entry and component-set row updated; the roadmap note and generated references change in the same PR.
Files likely touched
src/platform/ui/HeatMap.tsx, src/modules/roadmap/ui/PlanSummary.tsx, docs/ui/component-set.md, docs/reference/
Must not touch
The plan data, the privacy screen and the GitHub milestone and epic titles.
Generated by Claude Code, opens in a new tab