Skip to content

Conversation

@EmmaSimon
Copy link
Contributor

Summary

Ticket: Reasonably handle favorite stops removed from route

Handle cases where routes, stops, or directions are removed from GTFS but are still saved in favorites. This will not remove the favorites if an FCM token is not set, so that if there's a delay on app launch with setting the token, the favorites are not removed without updating the backend to remove the notifications. Since all real devices should always have a token, hopefully this won't lead to cases where a token never gets set and stale favorites are never removed, but I couldn't think of a better way to deal with that situation.

Testing

Added unit tests for the new VM call

@EmmaSimon EmmaSimon requested a review from a team as a code owner December 8, 2025 20:13
@EmmaSimon EmmaSimon requested a review from BrandonTR December 8, 2025 20:13
@EmmaSimon EmmaSimon enabled auto-merge December 9, 2025 15:43
@EmmaSimon EmmaSimon added this pull request to the merge queue Dec 9, 2025
Merged via the queue into main with commit a3e34fe Dec 9, 2025
13 of 14 checks passed
@EmmaSimon EmmaSimon deleted the es-favorite-stop-removal branch December 9, 2025 16:05
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.

3 participants