Closed alkc closed 11 months ago
I've deduplicated all the QC form code back into sample/sidebar.html
. Could be moved to some non-blueprint specific template dir, but I'm saving that for some future update.
the /samples sidebar and /groups QC form now use the same macros for both the HTML and JS enhancements.
I've rebased the branch onto master (hopefully w/o breaking anything), incorporated the suggested fixes and deduplicated the QC form templates/macros.
See above for updated demos.
This update adds a dropdown menu to /groups allowing users to toggle QC status for multiple samples.
The QC form is submitted to new route
groups.qc_status
which updates the QC status for the selected samples and redirects back to/groups
.The sample selection in the sample JS table is retained on page reload through
GET
args. This is implemented with the assumption that the end-user won't try to set the QC status for so many samples at the same time that theGET
request grows too long.Other changes:
groups.qc_status
GET
args.Closes #97
Suggested test sequence:
TODO: