feat: Plan page: click a day to filter missions and projects, with a mission's own pick
Back to our planSummary
Let a neighbor click a day in the four-week activity map to see only what happened that day. The missions and projects stay in place below, narrowed to the issues created or finished that day. Each mission also gets its own day pick.
Details
Owner direction (2026-11-14, voice):
- Nothing is selected when the page loads: today's ring goes away until someone clicks.
- Clicking a day in the top map filters everything below it. A mission or project with no issue created or finished that day is hidden, and the issues inside the ones that remain are narrowed too.
- Each mission's own week strip is also clickable and filters only that mission. Where both are set, the mission's own pick wins for that mission; clearing it returns the mission to following the top filter, not to everything.
- A small "Clear" control appears only where a selection exists. Where it goes (a chip under the map, tapping the selected day again, a sticky bar on phones) is open: mockups first, the owner picks.
Native first: the plan is already on the page and the page is static, so the filter is a small client island on top of the same data (client code at the leaf, as the event filters do in EventFilters.client.tsx), not a server round trip that would make the page dynamic. HeatMap gains an optional selectable mode (buttons built through the kit, a pressed state, no selection by default) rather than a new piece.
Acceptance criteria
- Not done: The owner has picked the reset control from mockups; the choice is recorded here.
- Not done: Nothing is selected on load; the "today" ring shows only as selection, never by default.
- Not done: Clicking a day in the top map narrows every mission and project to issues created or finished that day, and hides those with none; clicking it again or using the reset control restores the list.
- Not done: A mission's own day pick overrides the top filter for that mission only; its clear returns it to the top filter.
- Not done: The selection and its reset are keyboard- and screen-reader-operable (pressed state, named days, 44 px targets, a live count of what is shown), and an empty result says so plainly.
- Not done: The page stays static and works without the filter if scripts are off (the full list shows).
- Not done: Tests first (the filter rule in
domain/), an axe check, gallery entry and component-set row for the selectableHeatMap; the roadmap note and generated references change in the same PR.
Files likely touched
src/modules/roadmap/ (domain filter rule, ui, README), src/platform/ui/HeatMap.tsx, docs/ui/component-set.md, docs/reference/
Must not touch
The privacy screen's rules and the GitHub milestone and epic titles.
Open questions
Which reset control (mockups to follow).
Generated by Claude Code, opens in a new tab