linnarsson-lab / loom-viewer

Tool for sharing, browsing and visualizing single-cell data stored in the Loom file format
BSD 2-Clause "Simplified" License
35 stars 6 forks source link

Improve "Settings" tab UI #38

Open JobLeonard opened 8 years ago

JobLeonard commented 8 years ago

Currently the navbar and settings tab have some warts that I'd like to fix

image

2016-08-09 15 43 17

Proposals to fix:

JobLeonard commented 7 years ago

This might help:

http://golden-layout.com/

JobLeonard commented 6 years ago

React 16 (which we're using) makes it easier to handle create and control pop-up windows:

https://hackernoon.com/using-a-react-16-portal-to-do-something-cool-2a2d627b0202

This would allow for an (optional) dedicated pop-up rendering the heatmap, scatterplots and bar charts in their own window, while still be controlled by the main app. This would be useful in multi-monitor set-ups.

An added advantage of that is that printing the pop-up window would let you print these charts without the settings tab (scatterplots would need a legend div though). Also, in the case of bar charts, our current way of handling scrolling means we can't show all bar charts at any given time. Putting them in a separate pop-up would also solve that.

Also, it looks super-trivial.