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:
(And then update the "are you sure" warning message if the box is checked).
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: (And then update the "are you sure" warning message if the box is checked).