feat: Plan page: replace the top numbers with smooth daily activity graphs
Back to our planSummary
The three numbers at the top of the plan page (finished this week, done in all, still open) say little on their own. Replace them with smooth, filled graphs by day, so a neighbor or the owner sees the rhythm of the work at a glance, with almost no words.
Details
Owner direction (2026-11-13, voice and text): the graphs should do the explaining, with a light timeline along the bottom and a very small figure on each; no explanatory sentences. The present line pictures on the mission tiles read as thin and rough, so the new look replaces them everywhere for one consistent style: a smooth curve, a soft filled area under it, a faint baseline and a marker on the latest value, in theme colors, light and dark.
First version: one tile each for finished per day, done in total over time, and still open over time, all by day. The week, month and year fallback when days turn quiet is a later step; the existing rule in domain/activity.ts stays as it is until then.
Data check (2026-11-13): finished issues per day over the last 20 days ranged from 3 to 36, so days are dense. Per hour is too sparse today (about half the hours of a day are empty). The plan already refreshes hourly from GitHub and carries each issue's close and last-change times; "still open over time" needs issue open dates added to what the plan reads.
Principles: the page stays public, so it shows only what the plan already allows (screened issues stay hidden and uncounted). Milestone and epic titles stay as written in GitHub, written plainly enough to show as they are; no translation layer.
Before building (owner asked for these):
- Check whether the shared chart system or an established chart library already draws smooth area charts, before writing a new piece (native first). If a new shared piece is needed, it replaces
Sparklinerather than sitting beside it. - Five mockups of the page at phone, narrow, tablet and desktop widths, for the owner to choose from. They also show what he is working on, what is next, what is idle and what is in review, using only what is public-safe. Those extra views are separate issues once he picks a direction.
Related: #1105 (page brief), #1126, #1128 (the tiles and the Sparkline), #480.
Acceptance criteria
- Done: Five mockups at four widths are shared with the owner, and he picks one; the choice is recorded on this issue and in
docs/product/briefs/plan-page.md. - Done: The finding on existing chart support (native, library or new piece) is recorded here before code is written.
- Done: The three top tiles show daily graphs with a day timeline and a very small figure, no explanatory sentences.
- Done: The mission tiles and mission pages use the same graph style; no old line pictures remain.
- Done: Every graph has a text equivalent for screen readers, meets contrast in light and dark, and holds its alignment at the six review widths.
- Done: A quiet stretch shows as zero, never a gap; an empty plan still shows its empty state.
- Done: Tests first, an axe check, gallery entry and component-set row for any new shared piece; the roadmap note and generated references change in the same PR.
Files likely touched
src/modules/roadmap/ (domain, ui, README), src/platform/ui/ (chart piece), docs/product/briefs/plan-page.md, docs/reference/, docs/ui/component-set.md
Must not touch
Other modules, the privacy screen's rules, GitHub milestone and epic titles.
Generated by Claude Code, opens in a new tab
Issues in this epic
#1189 · Closed Nov 14
#1190 · Closed Nov 14
#1191 · Closed Nov 14
#1192 · Closed Nov 14
#1193 · Closed Nov 14
#1204 · Closed Nov 14
#1205 · Closed Nov 14
#1213 · Closed Nov 14
#1215 · Closed Nov 14
#1217 · Closed Nov 14
#1218 · Closed Nov 14
#1233 · Closed Nov 14
#1240 · Closed Nov 14
#1243 · Closed Nov 14