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

notify user of non-unique #239

Merged
merged 5 commits into from
Jul 8, 2020

Conversation

kwcantrell
Copy link
Collaborator

@kwcantrell kwcantrell commented Jul 8, 2020

Closes #161.
This PR adds a toast message if no groups were found with unique features when coloring the tree using sample metadata/animation. In addition, when coloring the tree using sample metadata, if a category is not represented on the tree then it will be removed from the legend.

@kwcantrell kwcantrell linked an issue Jul 8, 2020 that may be closed by this pull request
Copy link
Member

@ElDeveloper ElDeveloper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good @kwcantrell, any chance you have an example to test with? I don't think I have a dataset handy that would trigger this.

empress/support_files/js/side-panel-handler.js Outdated Show resolved Hide resolved
empress/support_files/js/empress.js Outdated Show resolved Hide resolved
empress/support_files/js/animator.js Outdated Show resolved Hide resolved
@ElDeveloper
Copy link
Member

Just one minor request regarding centering the message in Empress' viewport.

@ElDeveloper
Copy link
Member

Thanks @kwcantrell!

@ElDeveloper ElDeveloper merged commit ec613fb into biocore:master Jul 8, 2020
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.

Colors not updating (alert the user when there's no unique features)
2 participants