Walk time per stop: hide or dim the trains you can't reach #17

Open
opened 2026-12-01 14:59:45 -05:00 by cmoriarty · 0 comments
Owner

Split from #8 (milestone 5) on 2026-12-01, at the owner's word. Nothing of it is built: the settings have no walk time.

The goal: each stop can carry a walk time, and the sign leaves out (or dims) the trains you can't reach in time.

What was planned (design decision 12 and the several-stops delta of add-setup-without-code, archived as openspec/changes/archive/2026-12-01-add-setup-without-code/):

  • A walk time of 1 to 30 minutes per stop (walk in a stop entry, 0 for none). A train can be caught if it leaves at least that many minutes from now, by its departure time, else its arrival. 5 min 0 s can be caught, 4 min 59 s can't.
  • A setting for trains that can't be caught: hide (the default) or dim (each colour at reduced brightness, never the grey of old data; a stuck train's time dim red).
  • The walk time never empties a page: if no predicted train can be caught, those trains are shown dimmed rather than "No trains predicted".
  • A train with a status ("Stopped 1 stop away") is always shown.
  • The times don't change: a train 9 minutes away shows 9.
  • In the shared layout, the stop whose next catchable train leaves soonest comes first, in the rows and the title; rotation keeps the settings' order.
  • Scenarios walk-hide, walk-dim, walk-shared-leads on the two-stop rush-hour replay; the dim level chosen on the panel beside the grey of old data; docs/mbta-compliance.md says the walk time hides trains and changes no time.

Where it is set: first setup's More settings for each stop, and the settings page once #15 exists.

Still open from the plan: should rotation mark the stop to walk to? (default there: no.)

Start it as an OpenSpec change of its own.

Split from #8 (milestone 5) on 2026-12-01, at the owner's word. Nothing of it is built: the settings have no walk time. **The goal:** each stop can carry a walk time, and the sign leaves out (or dims) the trains you can't reach in time. **What was planned** (design decision 12 and the `several-stops` delta of `add-setup-without-code`, archived as `openspec/changes/archive/2026-12-01-add-setup-without-code/`): - A walk time of 1 to 30 minutes per stop (`walk` in a stop entry, 0 for none). A train can be caught if it leaves at least that many minutes from now, by its departure time, else its arrival. 5 min 0 s can be caught, 4 min 59 s can't. - A setting for trains that can't be caught: `hide` (the default) or `dim` (each colour at reduced brightness, never the grey of old data; a stuck train's time dim red). - The walk time never empties a page: if no predicted train can be caught, those trains are shown dimmed rather than "No trains predicted". - A train with a status ("Stopped 1 stop away") is always shown. - The times don't change: a train 9 minutes away shows 9. - In the shared layout, the stop whose next catchable train leaves soonest comes first, in the rows and the title; rotation keeps the settings' order. - Scenarios `walk-hide`, `walk-dim`, `walk-shared-leads` on the two-stop rush-hour replay; the dim level chosen on the panel beside the grey of old data; `docs/mbta-compliance.md` says the walk time hides trains and changes no time. **Where it is set:** first setup's *More settings* for each stop, and the settings page once #15 exists. **Still open from the plan:** should rotation mark the stop to walk to? (default there: no.) Start it as an OpenSpec change of its own.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
moriarty-engineering/my-stop#17
No description provided.