Skip to content

fix(ScheduleFinderLive): end of service for today#2894

Merged
thecristen merged 10 commits intomainfrom
cbj/sf2.0/service-until
Jan 22, 2026
Merged

fix(ScheduleFinderLive): end of service for today#2894
thecristen merged 10 commits intomainfrom
cbj/sf2.0/service-until

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
Base automatically changed from cbj/sf2.0/no-prediction to main January 21, 2026 16:51
# Conflicts:
#	lib/dotcom/schedule_finder/upcoming_departures.ex
#	lib/dotcom_web/live/schedule_finder_live.ex
Copy link
Contributor

@joshlarson joshlarson left a comment

Choose a reason for hiding this comment

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

Left two stylistic comments, but this looks good either way.

@thecristen thecristen merged commit 42742ae into main Jan 22, 2026
22 checks passed
@thecristen thecristen deleted the cbj/sf2.0/service-until branch January 22, 2026 01:07
@github-actions github-actions bot removed the dev-blue Deploy to dev-blue label Jan 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants