-
Notifications
You must be signed in to change notification settings - Fork 92
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
Fly to nearby MapRoulette challenge #1618
base: main
Are you sure you want to change the base?
Conversation
…MapRouletteService
b97a0d6
to
2c5586d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are some things I would do differently about this:
- I am not a fan of using a checkbox in the Map Data pane. This list is mostly for data that the user can toggle on-off, not really for random settings related to that layer. I would expect a setting like this to be a checkbox down near the action buttons (I fixed it, can't complete)
- Why does
filterNearbyTasks
then do a secondary fetch to get the challenge details? I would expect that the user means to work on a nearby task on the same challenge - and that we have all the nearby tasks fetched already - we wouldn't make anew QAItem
here? - I'd avoid introducing d3/UI code into the
MapRouletteService
file. I see stuff to set the header title, and that should all just happen automatically once you docontext.enter('select', {selection})
I guess I'll comment some more in the files
selection.set(task.id, task); | ||
context.enter('select', { selection }); | ||
|
||
d3_select('.sidebar-header').text(task.title); // ensure the title is set |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Something is off if entering 'select' mode with the task doesn't set the sidebar up properly.
Navigation to Nearby Tasks:
Screen.Recording.2024-11-20.at.14.56.47.mov
closes #1613