-
Notifications
You must be signed in to change notification settings - Fork 164
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
Sidebar toggle to show labels for all tips in tree #916
Comments
@jameshadfield New to the repo, and i'd be happy to take this on - just thought I would confirm the approach. I mocked this up so far on the zika dataset: Questions:
Let me know if there is anything else I missed, thanks! |
Thanks @ntaft ⭐️ Your mock looks along the right directions 👍
|
Thanks for the awesome work on this @ntaft! In addition to a text box that can be toggled on or off, can you also add a url option that toggles it on or off? @jameshadfield suggested |
Sorry for the delay on this - and yes, we should be able to add a url-based toggle as well without too much trouble, sounds like a good idea. Will work on wrapping this up this weekend, thanks! |
+1 for this issue -- we've gotten a lot of requests from public health departments. @ntaft -- is this something you're still interested in working on, or would it be useful to have someone else help or take this on? No worries either way, just wanted to follow up and update the issue :) |
Hi there, I took a look at @ntaft fork. The code works well except there are a few instances when the tips either disappear or the toggle is not reset. I think this is due to the way the Where I am stuck is knowning if this is the correct approach and if it is how to modify the calls to To be honest, I am completely new to react-redux and I'm not really sure the current implementation is correct. I think that To see the changes: ammaraziz@8016c8c Thanks, Ammar |
A request for this feature came up at office hours today. A user was frustrated/confused when they turned on the tip labels from the Auspice control panel and no tip labels got displayed in the tree because there were too many samples in the tree. They only realized the tip labels had actually been enabled when they zoomed in. Beyond providing a toggle to show all tip labels, could we also alert users to the constraint on how many tip labels can be shown at once? |
Discussion forum post of another user not expecting tip labels to be lost in a bigger tree. |
Background:
Currently we only display tip labels when the total number of tips in-view is below a certain threshold. This prevents hundreds of tips being displayed on big trees, and allows small trees, or zoomed in sections of trees, to display labels.
(Potentially see #237 for further information)
This issue
There should be a toggle in the sidebar (such as we have for "Show Confidence Intervals") which results in tips being displayed for all visible nodes. It's initial state should be defined by the threshold discussed above.
The text was updated successfully, but these errors were encountered: