Issue 1217
feat: Plan page: full-width activity map with a one-line caption and key
Back to our planDone
enhancementfrontendpriority: medium
Summary
The four-week activity map sits centered with empty space on both sides, narrower than the graphs above it. Make it as wide as they are, and put its caption and key on one line.
Details
Owner direction (2026-11-14, voice, after seeing the live page on a phone):
- The calendar stretches across the full width, as wide as the "Still open" graph, so the page does not mix one wide piece and one thin one.
- "Work done per day" sits at the left and the Less-to-More key at the right, on one line, on phones too. This replaces the stacked phone layout from #1205.
Native first: this is a layout change to the shared HeatMap and its caption row; no new piece. Squares become wider than tall; their height keeps the tap size.
Acceptance criteria
- Not done: The calendar map fills the width of its box at the six review widths, light and dark, with no horizontal scroll at 320 px.
- Not done: The caption is at the left and the key at the right on one line at every width; the key still uses the squares' own shades.
- Not done: Tests first for the one-line row; axe check; gallery and component-set row updated; the roadmap and UI-kit notes and generated references change in the same PR.
Files likely touched
src/platform/ui/HeatMap.tsx and its test, docs/ui/component-set.md, src/platform/ui/README.md, docs/reference/
Must not touch
The filter rules and the plan data.
Generated by Claude Code, opens in a new tab