Skip to content
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 #915: correctly determine tip counts based on visibility #1043

Merged
merged 2 commits into from
Apr 8, 2020

Conversation

frogsquire
Copy link
Contributor

@frogsquire frogsquire commented Apr 5, 2020

Description

Correctly determines whether to show tips based on the number of in-view, fully visible nodes (as opposed to partially visible, unselected nodes), not based on the number of in-view nodes in total.

Related issue(s)

Fixes #915
Related to #237

Testing

What steps should be taken to test the changes you've proposed?

  1. Load the ncov dataset (or any of sufficient density).
  2. Filter to any specific strain (or anything that selects only one node).
  3. The tip for that strain should appear next to it, even on the fully zoomed-out tree.

…count of fully visible nodes, not all in-view nodes
@frogsquire frogsquire changed the title #915: correctly determine tip counts based on visibility fix #915: correctly determine tip counts based on visibility Apr 5, 2020
@jameshadfield jameshadfield merged commit 2acff61 into nextstrain:master Apr 8, 2020
@jameshadfield
Copy link
Member

Thanks Maxwell -- this is great :) Merged into master with an additional commit to improve the font sizes (but plenty more work to be done re: picking font sizes).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tip labels should only count visible tips
2 participants