Zooming out from a labelled subtree does not correctly update the URL query #1138
Labels
bug
Something isn't working
good first issue
A relatively isolated issue appropriate for first-time contributors
Current Behavior
Clicking on the root branch of a displayed subtree zooms out (in the tree). If the currently zoomed-to branch has a label set, then this is displayed in the URL query as
?label=...
. When zooming out from this subtree by clicking on the root, the URL query does not update.Expected behavior
Upon zooming out from the subtree by clicking on the root, then the label should disappear from the URL query.
How to reproduce
Steps to reproduce the current behavior:
Possible solution
Update the URL (redux) middleware to listen for the appropriate redux action & update the query
Note that pressing "reset layout" when zoomed in does correctly clear the URL query.
Your environment: if browsing Nextstrain online
Auspice 2.15.0
The text was updated successfully, but these errors were encountered: