Improve transcript navigation, close popover on "Escape", etc. #358
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This polishes popovers, transcript menus, and protein diagrams in the Gene Leads kit.
Robust transcript navigation
Before, in a given gene annotation tooltip / popover, clicking the up and down arrows in the transcript menu would go to a different transcript, but not necessarily the next or previous. Now it does. Also, layout no longer shifts due to unusual transcript types (e.g. nonsense mediated decay) nor due to some transcripts having topology features and some not.
This means users can rapidly iterate through a gene to get a quick overview of transcript diversity.
Here's how it looks:
Improved_transcript_navigation_LDLR__Ideogram_2023-08-07.mov
Refined popovers and protein colors
Also, popover overcrowding is mitigated, so e.g. you'll be able to mouse into detail for BRCA2 without inadvertently popping up the nearby annotation for RAD51 due to a 1-2 pixel underlap. And you can dismiss popovers by pressing the "Escape" key, as is conventional in most UIs, rather than needing to mouse out and wait 1-2 seconds.
Finally, colors have been further refined for protein features, so you can more easily assess similarity within and between genes at a glance.