GMOD / jbrowse-components

Source code for JBrowse 2, a modern React-based genome browser
https://jbrowse.org/jb2
Apache License 2.0
205 stars 61 forks source link

Create concept of "expanding" certain types of discontinuous displayed region boundaries #4524

Open cmdcolin opened 1 month ago

cmdcolin commented 1 month ago

If we implement the collapsed intron feature, then the collapsed areas are represented by a sequence of discontinuous displayedRegions

Sometimes the features are a little hard to see at the boundaries of those displayedRegions

We could implement a feature, kinda of similar to gitub "diff" views, where we could expand or "show more" around the displayedRegion boundaries

here is a screenshot of github for analogy

image

the blue arrows represent the action to "show more" in the up or down direction, and there is also "expand" to show the inbetween areas. example link https://github.com/GMOD/jbrowse-components/pull/4521/files