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 synteny rubberband tooltips when views are exactly the same #3784

Merged
merged 1 commit into from
Jul 6, 2023

Conversation

cmdcolin
Copy link
Collaborator

@cmdcolin cmdcolin commented Jul 4, 2023

If the synteny view is showing volvox vs volvox at the exact same positions (which can happen if you open a synteny view and select the default choice of volvox vs volvox for example)

This is a picture of the bug, which is due to colliding React keys on the tooltips

image

This additionally modifies the tooltips to make it more clear what the text represents by specifying the assembly name and "row number"

image

@github-actions github-actions bot added the needs label triage Needs a label to show in changelog (breaking, enhancement, bug, documentation, or internal) label Jul 4, 2023
@codecov
Copy link

codecov bot commented Jul 4, 2023

Codecov Report

Merging #3784 (2ee82a2) into main (8a3ac2d) will decrease coverage by 0.01%.
The diff coverage is 46.15%.

❗ Current head 2ee82a2 differs from pull request most recent head 544cee3. Consider uploading reports for the commit 544cee3 to get more accurate results

@@            Coverage Diff             @@
##             main    #3784      +/-   ##
==========================================
- Coverage   64.24%   64.24%   -0.01%     
==========================================
  Files         987      988       +1     
  Lines       29671    29678       +7     
  Branches     7096     7098       +2     
==========================================
+ Hits        19063    19066       +3     
- Misses      10444    10447       +3     
- Partials      164      165       +1     
Impacted Files Coverage Δ
...LinearComparativeView/components/VerticalGuide.tsx 28.57% <28.57%> (ø)
packages/core/util/index.ts 80.58% <66.66%> (-0.09%) ⬇️

... and 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@cmdcolin cmdcolin added bug Something isn't working and removed needs label triage Needs a label to show in changelog (breaking, enhancement, bug, documentation, or internal) labels Jul 5, 2023
@cmdcolin cmdcolin force-pushed the synteny_rubberband_tooltips branch from 2ee82a2 to 487c201 Compare July 5, 2023 14:53
@cmdcolin cmdcolin force-pushed the synteny_rubberband_tooltips branch from 487c201 to 544cee3 Compare July 6, 2023 21:31
@cmdcolin cmdcolin merged commit acd3bd5 into main Jul 6, 2023
@cmdcolin cmdcolin deleted the synteny_rubberband_tooltips branch July 6, 2023 21:57
@cmdcolin
Copy link
Collaborator Author

cmdcolin commented Jul 6, 2023

removed the row 1/row 2 text...just infer from context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant