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

fix(nearby view): add more checks for route deduplication #1239

Merged

Conversation

miles-grant-ibigroup
Copy link
Collaborator

Description:
The route viewer was getting confused by 2 different routes with the same headsign! What a weird edge case.

Copy link
Contributor

@josh-willis-arcadis josh-willis-arcadis left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Contributor

@daniel-heppner-ibigroup daniel-heppner-ibigroup left a comment

Choose a reason for hiding this comment

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

lgtm

(p) => extractHeadsignFromPattern(p.pattern) === currentHeadsign
)
const dupe = acc.findIndex((p) => {
// TODO: use OTP_generated ids
Copy link
Contributor

Choose a reason for hiding this comment

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

what do we need to do this?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Futz with the graphql request

Copy link
Contributor

Choose a reason for hiding this comment

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

can we do that? Make a ticket for it and assign it to me if you want

@miles-grant-ibigroup miles-grant-ibigroup merged commit b22f567 into dev Jul 1, 2024
9 checks passed
@miles-grant-ibigroup miles-grant-ibigroup deleted the better-nearby-stop-view-route-deduplication branch July 1, 2024 13:04
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