Skip to content
SprecherEast
Issue 510

enhancement: Outcome fork block (one question, 2–3 possible outcomes)

Back to our plan
Done
enhancementfrontendcmsuxpriority: high

Problem

In plain words: many neighborhood stories hinge on one open question ("Will the City and State agree on cost?"). Readers understand it faster as a fork: the question on top, lines branching to 2–3 possible outcomes, each with what it would mean.

Proposed fix

  • Pattern: comparison cards joined by a branch connector (decision tree with one level).
  • Fields: question, then 2–3 outcomes with title, tone (positive, negative, neutral, shown with an icon and text too), and a short description.
  • Connector drawn with CSS borders (no diagram library); on phones the branches stack vertically with the connector running down the left.
  • Markup: the question as a heading, outcomes as a list.
  • Uses the shared editorial-block registration from the Timeline sub-issue.

Acceptance criteria

  • Not done: Editors can insert an Outcome fork in Events and Posts rich text.
  • Not done: Outcome tone readable without color; connector is decorative (aria-hidden).
  • Not done: Readable at all six widths, light and dark; passes axe.
  • Not done: Unit tests for the mapper and renderer.

Area

frontend, cms, ux

Priority

priority: high


Generated by Claude Code, opens in a new tab

See it on GitHub, opens in a new tab