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(ts/components/NearbyStops): refresh stops when inputs to function change #2258

Merged
merged 2 commits into from
Oct 20, 2023

Conversation

firestack
Copy link
Member

@firestack firestack self-assigned this Oct 13, 2023
@firestack firestack requested a review from a team as a code owner October 13, 2023 13:38
@github-actions
Copy link

Coverage of commit f785093

Summary coverage rate:
  lines......: 94.8% (2992 of 3156 lines)
  functions..: 74.6% (1254 of 1682 functions)
  branches...: no data found

Files changed coverage rate: n/a

Download coverage report

@lemald
Copy link
Member

lemald commented Oct 13, 2023

@firestack general question: do you think it would be possible to write a test for this?

@firestack
Copy link
Member Author

firestack commented Oct 19, 2023

@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.

firestack and others added 2 commits October 19, 2023 10:44
… change

Asana Ticket: [⚙️🐞 When selected route direction changes excluded nearby bus stops do not update](https://app.asana.com/0/1148853526253420/1205560497394206/f)
@firestack firestack force-pushed the kf/asn/fix-nearby-stop-exclusions branch from 1395a71 to 5b40eaa Compare October 19, 2023 14:44
@github-actions
Copy link

Coverage of commit 5b40eaa

Summary coverage rate:
  lines......: 94.8% (2992 of 3156 lines)
  functions..: 74.6% (1254 of 1682 functions)
  branches...: no data found

Files changed coverage rate: n/a

Download coverage report

@github-actions
Copy link

Coverage of commit 5b40eaa

Summary coverage rate:
  lines......: 94.8% (2992 of 3156 lines)
  functions..: 74.6% (1254 of 1682 functions)
  branches...: no data found

Files changed coverage rate: n/a

Download coverage report

@firestack firestack merged commit f197371 into master Oct 20, 2023
8 checks passed
@firestack firestack deleted the kf/asn/fix-nearby-stop-exclusions branch October 20, 2023 15:53
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