Skip to content
SprecherEast
Issue 502

enhancement: Inline road diagrams in event content

Back to our plan
Open
enhancementfrontendcmspriority: high

Problem

The WisDOT Milwaukee Street/I-94 event needs a readable neighborhood explainer with real text, an accessible HTML timeline, and one or two accurate WisDOT diagrams. The Events rich-text editor currently offers text and lists but not the existing inline media block, so image-and-text stories cannot be built without flattening them into a single poster.

Summary of the owner's direction (ChatGPT conversation, 2026-10-27): the content should be built from text, CSS, HTML and one or two images, not one very large image that holds everything. He approved publication of the corrected source-grounded illustration.

Proposed fix

  • Reuse Payload's native BlocksFeature and the existing MediaBlock in Events rich text, as Posts already do. Render with the existing richTextBlocks map.
  • Preserve existing event presentation and authoring flow.
  • Author the Milwaukee Street article in Payload as real headings, paragraphs, list-based timeline, links to WisDOT, and one or two independent images. Label the plans “proposed/conditional,” never final construction drawings.
  • Test editor registration and rendering, verify accessible alt text/caption and responsive layout.

Native-first check: already-installed Payload BlocksFeature, site MediaBlock, and RichText renderer support this. No new package or custom image widget needed.

Acceptance criteria

  • Not done: Events rich-text editor offers an inline media block from the existing media library.
  • Not done: Published events render an inline media block with alt text/caption without affecting posts.
  • Not done: Milwaukee Street event includes factual text, native HTML timeline content, at most two source-backed road images, and clear provisional status.
  • Not done: Mobile/dark/light layouts remain readable and source links work.
  • Not done: Required CI checks and independent PR review pass before merge.

Area

cms, frontend

Priority

priority: high

See it on GitHub, opens in a new tab