GMOD / jbrowse-components

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

Allow ability to put view(s) in a floating window (windowing system) #4076

Open cmdcolin opened 10 months ago

cmdcolin commented 10 months ago

The multi-wiggle "Set colors" has an example of putting a draggable dialog

The default for a stack of views is generally good but being able to put things in a floating orientation may help avoid very tall screen requirements when using multiple views

Example: the msaview work, the protein view work, could benefit from being floated to the right rather than stacked vertically

cmdcolin commented 10 months ago

could also potentially allow popping a drawer widget into a window

cmdcolin commented 7 months ago

potential alternative system that does tiling windows https://golden-layout.com/

i tried floating and it kinda works but it is a bit awkward and you get into z-index trouble e.g. context/view menus will go behind the floating view