Open srietkerk opened 2 months ago
I think we need some way to protect against accidental deletion. A popup was an easy solution. Alternatively, and a superior design IMO, would be a notification that includes an undo button. You can find an example of this in Outlook:
Ooh, yeah, I like that design!!
It should be straight forward to implement using the existing toasts. They support injecting JSX.
When a user is deleting a criteria from their checklist, they get an alert asking if they're sure they want to delete the criteria. The alert is not the prettiest.
To Reproduce Steps to reproduce the behavior:
Not sure if we want to just use a pop-up/modal here instead to make it look like expected behavior or if we just want to remove the alert and not give a pop-up here because deleting a criteria is not super detrimental to the user.