Several stops: show each alert with its own stop, and don't change pages while it scrolls #16
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What happens now
On a sign with several stops, the stop pages rotate on their own timer, and the alert line on the bottom row runs on a separate timer. So the page can change to another stop while a stop's alert is still scrolling. You then read one station's alert under a different station's name and trains. That's confusing.
This is how it was designed. The
service-alertsspec says so in two requirements:The alert dot also shows on every page, not just on the stop the alert is for.
What it should do
Questions to settle in the design
train-display) and to a warning too wide for the row (outage-display). Those are already per stop or per page.Done when
service-alertsspec (anddisplay-motion, if it covers page timing) says when a page may change.docs/mbta-compliance.mdis updated if what the sign shows changes.Related: #4 (several messages at once, and how they share the turns).
Done in v0.1.11 (commit
bd8000e), OpenSpec changealerts-with-their-stop.What the sign does now
With several stops on pages:
The dot's new colours, from ticket 4, are in that ticket.
The questions in this ticket
How it was checked
look-alerts-one-of-two-stops: Forest Hills' closure and delay pass only under Forest Hills' page, the page stays to the end of each pass (checkpointforest-hills-held-to-the-end-of-the-pass, 25 s into an 8 s dwell), and Park Street follows with no dot.look-alert-two-stops,warn-alerts-two-stops(its checkpoints renamed for the stop each message passes under),look-short-namesin three fonts,warn-one-stop-fails,replay-two-stops-rush.test/test_looks:test_each_stop_shows_only_its_own_alerts,test_a_page_waits_for_its_line_to_pass,test_one_message_passes_each_visit,test_an_alert_for_two_stops_passes_on_each_page,test_down_moves_on_even_while_a_line_passes.pio test -e native292 of 292,native_asan292 of 292,program check309 checkpoints with 0 differences, the browser build 308 with 0 differences, and both boards build (static RAM unchanged on both). CI passed on the commit.docs/mbta-compliance.mdupdated.Release
v0.1.11was published on 2026-12-01 at 15:58 Boston time, with all seven files. Each sign installs it at its next nightly check (03:00 to 03:59 Boston time), or a minute after its first trains the next time it starts.