Skip to content
SprecherEast
Issue 1215

bug: Plan page: a day pressed in a mission can make the mission disappear

Back to our plan
Done
bugfrontendpriority: medium

Summary

With two or more days chosen on the map, pressing one of those days inside a mission can make that mission disappear instead of showing the day as selected, so it looks as if the press did nothing.

Details

Owner report (2026-11-14, voice): filtering by two days and then pressing the same day on a mission sometimes does not select it.

Reproduced in a test: a mission whose issues fall on only one of the two chosen days. Pressing the other day gives it a pick that matches nothing, and the filter then hides the mission, so the press has no visible result and cannot be undone from the mission. The same happens for a project.

Fix idea: a mission or project that holds its own pick the level above allows stays on the page, with its day selected and no issues, so the day can be pressed again; a level hidden only because of the days above stays hidden as before. The rule lives in domain/filterPlan.ts.

If the owner's case turns out to be a different one, it is added here with its steps.

Acceptance criteria

  • Not done: A failing test first reproduces the disappearing mission and project; it passes after the fix.
  • Not done: Nothing changes with no day chosen: every mission and project still shows.
  • Not done: The roadmap note says how a pick that matches nothing behaves.

Files likely touched

src/modules/roadmap/domain/filterPlan.ts and its test, src/modules/roadmap/README.md

Must not touch

The map, the pills and the strips' look.


Generated by Claude Code, opens in a new tab

See it on GitHub, opens in a new tab