reanahub / reana-ui

REANA UI frontend
http://reana-ui.rtfd.io
MIT License
4 stars 33 forks source link

wf-list: let users delete all runs when deleting workflows #349

Closed giuseppe-steduto closed 10 months ago

giuseppe-steduto commented 11 months ago

In reana-client, when deleting a workflow with reana-client delete, there is the option to specify the --include-all-runs flag, to delete all the runs of the workflow.

When deleting a workflow from the web UI, however, there is no such option, and only the selected run is deleted. We should consider adding a checkbox or something similar to allow the users to delete all the runs of the workflow they are trying to delete, both to stay consistent with the CLI client and because it would be an useful feature: I use it quite a lot, especially with test workflows.

This choice could be proposed in the modal for confirming the deletion of the workflow: image (And then update the "are you sure" warning message if the box is checked).