-
Notifications
You must be signed in to change notification settings - Fork 36
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
Display synonyms node when hovering #4704
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔻
Triggered by d97c221 on branch refs/heads/issue-407
NOTES: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pushed code that resolves these issues
Also, refactored fetchRows definition a bit to reduce duplication
And, added tests while I was at it
Triggered by 1b3eeae on branch refs/heads/issue-407
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Testing instructions
- go to any tree
- hover over a node that has synonyms
- verify that the synonyms are being displayed
Looks good, when hovering it shows both synonyms and preferred taxon
The only issue is that even when there are no synonyms for a taxon the tooltip still shows, I think if there is no synonym/preferred taxon then there shouldn't be a tooltip.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixes #407
Checklist
and self-explanatory (or properly documented)
Testing instructions