Skip to content
SprecherEast
Issue 1193

feat: Plan page missions: blocks, and phone accordions with projects and issues

Back to our plan
Done
enhancementfrontenduxpriority: medium

Summary

Replace the mission tiles on the plan page with the chosen design: on tablet and desktop each mission is a block with a name, a small number and a full-width one-week heat map; on phones each mission is an accordion that opens to its heat map and its projects, and each project opens to its own heat map and its issues.

Details

Part of #1188; chosen design in its comments and the mockups. A mission with no finished work this week is marked idle (a hollow dot instead of a filled one) and the order stays latest activity first. Accordions start closed and use the kit's Disclosure; a project row and an issue row link where they do today (/roadmap/[number]), and the mission's name still links to its own page. Tablet and desktop show two columns and three columns of blocks. The one-week heat map spans the full width of its card at every size. Only what the plan already shows appears. With the tiles gone, MissionTile, MissionFigures and Sparkline are used nowhere and are removed; the mission page keeps working, adopting the same heat map. Depends on the data issue and HeatMap.

Acceptance criteria

  • Not done: Blocks (two columns on tablet, three on desktop) and accordions (phone) follow the mockups, in light and dark.
  • Not done: Opening a mission shows its one-week heat map and its projects; opening a project shows its heat map and issues; all closed on load, and a screen reader hears each state.
  • Not done: Every heat map spans its card's full width; rows stay aligned at the six widths.
  • Not done: Idle missions are marked by shape, not colour alone; every issue and project link keeps a 44 px target.
  • Not done: Unused tile, figures and Sparkline code is 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/, src/modules/roadmap/README.md, src/platform/ui/Sparkline.tsx (removed) and its gallery and component rows, docs/reference/

Must not touch

Other modules, the privacy screen's rules.


Generated by Claude Code, opens in a new tab

See it on GitHub, opens in a new tab