-
Notifications
You must be signed in to change notification settings - Fork 162
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
ancestral branch thicknesses (below CA) should be minimal #1240
Comments
I considered (2) previously and even implemented it on a demo branch, but felt that it was too "jumpy" especially for things like date slider interactions and you'd lose your place. I think I'd still recommend a "zoom to selected" button in the tree panel to accomplish this. #1132 is related. |
I agree with 1 but I also have concerns about 2. I think this could get really jumpy and I'm also not sure if it is always desired behaviour. Often (now that filters can turn on and off more easily) I'm flipping these on and off pretty fast for various countries in Europe (for example) and part of what I'm looking at is how they distribute across the tree, part of tree, or cluster that I've zoomed to. So if it was rezooming all the time this would be super annoying. (Ex: Do we have early samples from Finland in 19A? What about France? What about Spain? Are samples from Ireland in 'both branches' of 439 cluster? What about Switzerland?) I'd second Trevor's idea about a 'zoom to selected' button, to make zooming to filtered easy, though! |
Thanks both! Sounds like the best course of action is to not implement (2) here, instead going with #1132 |
(See previous commit message for context). Exported trees now represent the visible (and in-view) tree. Note that exported trees of filtered datasets often contain nodes higher (more ancestral) than the expected root. This is the bug reported in #1240.
@joverlee521 -- without diving into the code, my instinct would be that the
(This is all going off my memory, so take it with a grain of salt!) |
This issue may represent two independent problems, but I suspect they are highly related.2. Upon filtering the data, the tree should zoom in to the CA node - in other words, the same behavior as if one clicked on that branch.Complication to 2: unsure what behavior is best when toggling selected filters as visible / invisible if that action were to modify the CAFigure 1: https://nextstrain.org/zika?f_region=North%20America, displayed using auspice 2.20.1
The text was updated successfully, but these errors were encountered: