Tauffer-Consulting / domino

User friendly and open source platform for workflow creation and monitoring
https://domino-workflows.io/
Apache License 2.0
152 stars 14 forks source link

Piece repository delete request enhancement #223

Open tdari opened 10 months ago

tdari commented 10 months ago

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. image My proposal is to delete all workflows containing this repository by asking the user.

vinicvaz commented 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.

luiztauffer commented 10 months ago

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
nathan-vm commented 10 months ago

I agree, we need a very explicit confirmation modal.

I'll work on this once I finish the refactoring on front-end storage.