Skip to content
SprecherEast
Issue 819

feat: Move the Milwaukee Street map onto the figure block with a shorter caption

Back to our plan
Open
enhancementcmsuxpriority: medium

Numbering: epic #813; banner #814; lightbox #815; figure #816; Payload block #817; blue tone #818; content edit #819; guidelines #820. Where the text below says 01 to 07, read these numbers (01=#815, 02=#816, 03=#817, 04=#819, 05=#814, 06=#818, 07=#820).

Problem

In plain words: the WisDOT Figure 2-9 map on the event page "A new way onto I-94? Let's talk about Milwaukee Street" (event id 12) and on the post "A new way onto I-94 at Milwaukee Street" is shown full width with its key under it. Its caption is long, and it repeats the "not to scale" note that the image already carries (as the owner reported on 2026-11-07, Claude in Chrome side panel). Once the figure block exists (03), both documents should use it: small, floated right, short caption, label badge, and the key and long wording in the lightbox.

Proposed fix

A live-content edit in Admin through the owner's signed-in browser. No code.

Before any edit (restore point):

  1. Open each document's Versions tab and write its current version on this issue: event 12 is version 34 (published 2026-10-31 22:11 Central, 14 versions). Read and record the post's current version.
  2. Versions are capped (draftVersions(25) for events, 50 for posts in src/modules/events/cms/events.ts and src/modules/news/cms/posts.ts; event 12 has 14 now), so later saves, autosaves included, can push the restore point out. Before the first edit, also save a copy of each document's JSON from the signed-in browser (/api/events/12?depth=0 for the event, the matching /api/posts/<id>?depth=0 for the post) and keep it with the owner's notes, not in the public repo.
  3. If an edit goes wrong, restore that version from the Versions tab, or re-enter the saved JSON's content. The VPS daily and pre-deploy backups (#148, ops/README.md) are the last line.

In each document:

  1. Replace the mediaBlock + diagramKey pair with one Figure block: the same image, align right, the default size, and the same key entries in the same order (the numbers must still match the orange markers).
  2. Label: Figure 2-9
  3. Short caption (under the small figure), keeping the "preferred concept, conditional on a funding agreement" meaning: "WisDOT's preferred concept, conditional on a funding agreement with Madison."
  4. Long caption (lightbox only), built on #637's wording without the parts the image already shows: "Source: WisDOT, Figure 2-9 of the December 2024 environmental study. We added the numbered markers for this neighborhood guide. It is not a final construction drawing."
    • Dropped: "not to scale" (the image itself says it).
    • Kept: the credit and source, "preferred concept" (not "approved plan", as #637 set), and the funding condition (in the short caption).
  5. Copy rules: "we", never "I"; the site is "Sprecher East"; if AI help is mentioned, say "AI tools"; brand voice length limits (docs/guidelines/brand-voice.md).
  6. Save as draft, check Live Preview, then publish. Record the new version numbers on this issue.

Coordination with #637: #637 owns the post's title and subheading, and wrote the first caption and fine print for the shared Caption. This issue only moves that caption onto the figure block and shortens it. It doesn't change the title or subheading. If #637's step 3 is still open when this runs, this issue does it in the new form and comments on #637 that its step 3 is covered here.

Native-first check: this is content work in Payload Admin with the block from 03. Nothing to build.

Acceptance criteria

  • Not done: Both documents' versions before the edit are recorded on this issue (event 12: version 34; the post: as read).
  • Not done: On the live event page and the live post, the map is small and floated right with text on its left from md up, stacked on phones, with a gray "Figure 2-9" badge and the short caption.
  • Not done: The small view shows no numbered key. Clicking, tapping or Enlarge opens the lightbox with the larger image, the four-item key (numbers match the markers) and the long caption.
  • Not done: No "not to scale" text anywhere in the caption. The credit, source, "preferred concept" and the funding condition are all present.
  • Not done: The copy follows the brand voice: "we", "Sprecher East", no model names.
  • Not done: Checked live at 320, 430, 768, 1024, 1280 and 1920 px in light and dark. Keyboard: Escape closes, focus returns, the key is readable.
  • Not done: The card and link-preview images of both documents are unchanged (owner's standing rule). Checked on /events, /posts and with a link-preview check.
  • Not done: #637 has a comment on what this changed in its caption step.
  • Not done: Behavior change: none in code (content edit only). The record is the issue comment with old and new version numbers.

Files likely touched

None (live content in Admin: event id 12 and the I-94 post).

Must not touch

  • Code and docs in the repo
  • The post's title and subheading (#637)
  • Other posts and events

Area

cms, ux

Priority

priority: medium


Generated by Claude Code, opens in a new tab

See it on GitHub, opens in a new tab