IUSCA / SQAN

Scalable Quality Assurance for Neuroimaging - (SQAN): A full-stack system solution for extracting, translating, and logging (ETL) + web portal-based quality-control verification of DICOM-formatted medical imaging data/metadata.
https://sqan.sca.iu.edu/
Other
8 stars 3 forks source link

SQAN: Vue,js:: Template Summary view #141

Closed agopu closed 4 years ago

youngmd commented 4 years ago

What's the status of this @charlesbrandt ? Has the delete all/selected action been tested? Are there any remaining TODO items for the Vue transition?

charlesbrandt commented 4 years ago

The delete functionality is mostly in place. I'm a little unclear about the desired behavior for "Delete all series". Should the tab for that template exam also be removed? Currently all series will be deleted, but that is all.

youngmd commented 4 years ago

Yes, the tab should also be removed, as calling that api route will delete the template exam in addition to all the template series.

Since the template summary is received from a parent you could implement this by emitting a delete event from the child and having the parent update it's dataset (either by refreshing the listing, or removing that entry individually).

Alternately within the child element you could have an array of "deleted" ids, and have the tabs be a computed property which includes all template exams whose id is not in the deleted array.

charlesbrandt commented 4 years ago

Thanks for the clarification. The tab is now removed after deleting the template exam via the api.