Skip to content

Conversation

@thecristen
Copy link
Collaborator

Scope

Asana Ticket: [SF/UD] 🐞 Fix subway "service continues until" so it's not connected to the service picker

Implementation

Had to find another way to get that end of service time. I decided to partially reuse the logic for getting predicted schedules. This way, if the last trip happens to be a delayed prediction, the display can reflect this (instead of showing an outdated schedule value).

How to test

Go to any subway line, notice the "Service Continues Until" time no longer changes when you change the service picker selection.

No screenshots included because this should be a no-op, and the "Service Continues Until" time should continue to match the latest "Last train" time from the Daily Schedules section (for current/today service).

@thecristen thecristen requested a review from a team as a code owner January 20, 2026 22:49
@thecristen thecristen requested review from joshlarson and removed request for a team January 20, 2026 22:49
@thecristen thecristen added the dev-blue Deploy to dev-blue label Jan 20, 2026
<.attached_callout :if={@last_trip_time}>
{gettext("Service Continues Until %{end_of_service}",
end_of_service: format!(@last_trip_time, :hour_12_minutes)
)}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe I should just reuse the first/last vehicle logic, now that I think of it 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dev-blue Deploy to dev-blue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants