Skip to content
SprecherEast
Issue 499

Show an event's source on its page and cards, as search now does

Back to our plan
Open
enhancementfrontendpriority: low

Type

enhancement

Problem

Since #496, search copies sourceName and sourceUrl from events as well as posts. A search result can now say "Source: …" for an event, but the same event's card on /events and its own page don't show a source. That's the same mismatch #492 fixed for posts, and #161 asks that every civic item show where it came from. Agent-suggested events always have a source (#123).

Also from the #496 review: in docs/ui/elements-content.md, row C2 still says events in search link to /posts/<slug> and 404 (fixed in #200), and its field list leaves out cancelled, sourceName and sourceUrl.

Proposed fix

  • Show an event's source the way posts do: a "Source" fact on the event page (linked when it's http or https), and a muted text line on event cards. Reuse toPostSource's rule; it may move to platform/ if two modules need it.
  • Update C2, and the event card and page rows, in docs/ui.

Acceptance criteria

  • An event with a source shows it on its page and its cards, the same as in search.
  • An event without a source looks as it does today.
  • Tests and axe pass, and screenshots at the six widths show no overflow.

Area

frontend

Priority

low


Generated by Claude Code, opens in a new tab

See it on GitHub, opens in a new tab