-
Notifications
You must be signed in to change notification settings - Fork 7
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(ts/components/NearbyStops): refresh stops when inputs to function change #2258
Conversation
Coverage of commit
|
@firestack general question: do you think it would be possible to write a test for this? |
I think so, I'll look into it this morning. Edit: this turned out to be very difficult to test because the nearby stops component is an implementation detail of MapDisplay. This bug requries that nearby stops are shown, that a route is the selected entity, and that the follower is off. Because of all this, it's difficult to get the follower to turn off, and to ensure that all the nearby stops are on screen, because nearby stops is essentially a marker culler, so markers are required to be within the screen bounds, which changes as you zoom in. |
… change Asana Ticket: [⚙️🐞 When selected route direction changes excluded nearby bus stops do not update](https://app.asana.com/0/1148853526253420/1205560497394206/f)
Co-authored-by: Eddie Maldonado <[email protected]>
1395a71
to
5b40eaa
Compare
Coverage of commit
|
Coverage of commit
|
Asana Ticket: ⚙️🐞 When selected route direction changes excluded nearby bus stops do not update