czbiohub-sf / Rapid-QC-MS

Realtime quality control for mass spectrometry data acquisition
https://czbiohub-sf.github.io/Rapid-QC-MS
Other
15 stars 2 forks source link

Make tab switching dynamic instead of static #27

Closed wasimsandhu closed 2 years ago

wasimsandhu commented 2 years ago

Currently, there are separate layouts written using Dash components for each instrument.

This was a purposeful design decision intended for monitoring runs on multiple instruments at the same time (and because my aim for this project in the beginning was to create a functional internal tool).

However, it definitely does not scale for a generalized package. Instead of switching to a different layout, just update all components (tables, plots, filters) upon switching tabs. This is probably going to be a significant undertaking, and should probably be attacked alongside issue #1.

Relevant documentation: https://dash.plotly.com/dash-core-components/tabs