Clinical-Genomics-Lund / bonsai

Visualize and analyze resistance and outbreak of bacterial pathogen
https://bonsai-wgs.readthedocs.io/en/latest/
4 stars 1 forks source link

Bulk mark samples that passed or failed QC #97

Closed mhkc closed 9 months ago

mhkc commented 11 months ago

Please describe your role and what you want to do Mark multiple samples as have passed QC.

alkc commented 10 months ago

I'm thinking of adding smth like this (with a text label):

bild

Selecting one or more samples and marking them as failed would show a dialog with the same controls as the sidebar QC menu from /samples/:

bild

Marking QC as passed would show a similar box only containing the confirm button.

alkc commented 10 months ago

TODO:

alkc commented 10 months ago

Hmm. Trying to toggle a dropdown from the two radio buttons using the built in bootstrao methods is proving too hard for me. Might be a better idea (in terms of just getting this done) to hide the thumbs buttons in the dropdown and just make a navbar button to toggle the dropdown and nothing else.

alkc commented 10 months ago

Some progress:

bonsai-qc

Setting QC for multiple samples works. A whole-page reload is involved, but sample selection is retained upon reload