project-bifrost-platform/src/components/admin
Jonathan Hvid 1ec01a2257 feat(roadmap): 'In motion right now' strip + subtitle copy + admin helper
New <RoadmapInMotion> component renders between the dispatch banner
and the route's section header. Pulls the most-recent shipping item
(same selection rule the .rr-current marker uses) and prints the
first sentence of its description as a 18px serif italic line
preceded by an 'IN MOTION RIGHT NOW' tracked eyebrow.

A member who only spends 5 seconds on /roadmap now still walks away
with a sentence about what just shipped — no scroll, no hover.

firstSentenceOf() is the obvious regex against the first
[.!?](?=\s|$). Bails to the 200-char slice if no sentence boundary
fits (covers 'Dr.' / 'e.g.' confusables). Returns '' on null. The
strip hides itself entirely when there's no shipping item, or when
the shipping item has no description text.

Page subtitle: 'Hover any milestone for the full story.' →
'Tap or hover any milestone for the full story.' — touch devices
don't have hover, and the kind of detail that says we're paying
attention.

Admin description-field gains a helper note: 'For shipping items:
the first sentence appears on /roadmap as the "In motion right now"
line. Make it count.' Nudges good first-sentence writing without
adding a new field to maintain.

Banner margin under the dispatch banner reduces 56 → 40px because
the in-motion strip carries its own 36px bottom margin to the route.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-12 12:00:14 +02:00
..
ActivityTab.astro feat(admin): pulses, roadmap, events, activity tabs 2026-05-11 14:57:44 +02:00
DispatchesTab.astro feat(polls): polls attach to dispatches — standalone Pulses entity retired 2026-05-12 10:14:50 +02:00
EventsTab.astro feat(admin): Dispatches tab + user-edit form + extended event form 2026-05-11 16:10:20 +02:00
PulsesTab.astro feat(admin): pulses, roadmap, events, activity tabs 2026-05-11 14:57:44 +02:00
RoadmapTab.astro feat(roadmap): 'In motion right now' strip + subtitle copy + admin helper 2026-05-12 12:00:14 +02:00
UserEditTab.astro feat(admin): Dispatches tab + user-edit form + extended event form 2026-05-11 16:10:20 +02:00