Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(UpcomingTrip): Only show BRD when <= 90 seconds #127

Merged
merged 1 commit into from
Apr 12, 2024
Merged

Conversation

KaylaBrady
Copy link
Collaborator

Summary

Ticket: Update BRD display logic for predictions

What is this PR for?
Show BRD only if <= 90 seconds remaining, in line with the current API best practices documentation. A temporary solution until we receive a separate field that indicates boarding status.

Testing

What testing have you done?
Added an additional unit test for the case where a vehicle is at a stop but it is more than 90 seconds until departure

@KaylaBrady KaylaBrady requested a review from a team as a code owner April 11, 2024 14:21
@KaylaBrady KaylaBrady requested a review from EmmaSimon April 11, 2024 14:21
@KaylaBrady KaylaBrady merged commit 8588c37 into main Apr 12, 2024
5 checks passed
@KaylaBrady KaylaBrady deleted the kb-brd branch April 12, 2024 17:21
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