GSTT-CSC / hazen-web-app

Interactive web-based implementation of hazen
Other
0 stars 0 forks source link

Add delete functionality #79

Closed sophie22 closed 2 years ago

sophie22 commented 2 years ago

(branched off from issue62_improve_reports on top of issue69_improve_workbench branches) Implements a generic delete function in main/routes.py that can be called from the trashbin icon from both Workbench, where it deletes or archives a Series depending whether it has associated reports; and from Reports view where it deletes the selected Report.

sophie22 commented 2 years ago

deletion of series now correctly propagates to delete image files, image rows from db and study row from db, if no report is associated with the series; otherwise mark the series as archived so it is not displayed on Workbench

heyhaleema commented 2 years ago

Resolves #30.