Open tdari opened 10 months ago
@luiztauffer @nathan-vm What you think about that? Maybe we can have something like a confirmation modal asking if the user want to delete all workflows with a relation to the repository to be deleted, them we can cascade delete them.
we definitely don't want to just delete with one step. Perhaps we could have something similar to a dialog with:
The following workflows are dependent on this repository, and will be deleted together with it:
- workflow 1
- workflow 2
- workflow 3
...
To delete the `repository name` and all the workflows above, confirm writing the name of the repository below:
___________________________
confirm cancel
I agree, we need a very explicit confirmation modal.
I'll work on this once I finish the refactoring on front-end storage.
Currently when you want to delete a repository from the platform UI shows a generic toast and i think it is not helpful. Imagine when you have a lot of workflows and you get this warning. My proposal is to delete all workflows containing this repository by asking the user.