-
Notifications
You must be signed in to change notification settings - Fork 32
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]: Reset map dropdown links #900
Conversation
Affected libs:
|
📷 Screenshots are here! |
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.
Thanks for the fix @cmoinier, which works fine !
When testing, I'm just noticing that displaying the drop-down list often takes some time (which might be independent of this PR). Do you think this could still be improved somehow even though the values are dynamic? Maybe wait for displaying the map until there are values? But this could also be improved in a future PR I think.
Maybe adding a test (UT or e2e) for your changes would be nice if not too complicated.
I would suggest simply an UT test focusing on this observable, thanks @cmoinier :) |
Thanks for the added test @cmoinier! Setting |
It just came to my mind, that we'll also need a backport of this for the 2.3 release, I guess, but I don't see a |
We need to first create the branch and then put the backport tag :) |
Description
This PR fixes the behavior of the map preview dropdown, which wrongfully included previous dataset's links in any newly opened dataset.
Quality Assurance Checklist
breaking change
labelbackport <release branch>
labelThis work is sponsored by MEL.