Skip to content
SprecherEast
Issue 946

Open plan issues in a dialog and make Open and Done clear

Back to our plan
Done
enhancementfrontenduxpriority: medium

Problem

In plain words: on the plan page, opening an issue takes a neighbor to a whole new page, and they have to press back to return to where they were. Also, the "Open" and "Done" marks look like the other small labels, so it is hard to tell at a glance whether something is finished.

Proposed fix

  • Clicking an issue or an epic on the plan opens its full content (title, status, labels, description, the issues under an epic, the link to GitHub) in a shared dialog over the plan. A close button and a "Back" button both close it and return to the same place in the plan.
  • A direct visit to an issue's address, a refresh or a shared link still shows the normal page, so every issue keeps an address that works without a script.
  • Use what Next.js does natively (a parallel slot with an intercepting route) and the UI kit's existing dialog, giving it a centered panel placement if it lacks one, so one dialog is reused across the site. The issue's content is one shared component used by the dialog and the page.
  • The status mark becomes clear: Open in green with an icon, Done in purple with a check, Not planned in muted gray with its own icon. Words stay in every mark, so color is never the only signal. Labels become plain outlined and smaller so only the status stands out. Any color needed comes from new theme tokens, with light and dark checked for contrast.

Acceptance criteria

  • Not done: From the plan, clicking an issue or epic opens it in the dialog; close and Back both return to the plan in the same place; Escape and the browser's back button do the same.
  • Not done: A direct visit or refresh of an issue address shows the full page; an unknown or screened number still answers 404, in the dialog too.
  • Not done: Open, Done and Not planned are clearly different from each other and from the labels, in light and dark, and on a phone; contrast pairs added to the theme contract and passing.
  • Not done: Tests first: the status marks, the dialog's close and back behavior, the shared issue content, the theme contract; axe on each.
  • Not done: The notes for the plan page, UI kit and theme, the component-set row and the generated references describe it.
  • Not done: Checked in a browser at phone and desktop width, in light and dark.

Files likely touched

src/app/(frontend)/roadmap/ (layout, a modal slot), src/modules/roadmap/ui/, src/platform/ui/Dialog.client.tsx and Badge.tsx, src/platform/theme/, src/themes/default/theme.css, docs/ui/component-set.md, the plan, UI kit and theme notes, docs/reference/ (generated).

Must not touch

The plan's data reading and screening rules, other pages, and other dialogs' behavior (the menu, map and picture zoom keep their look).

Area

frontend

Priority

medium

Epic: #919. Follows the plan page, #939.


Generated by Claude Code, opens in a new tab

See it on GitHub, opens in a new tab