Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Confirm an action #9
@joelanman Would it not be possible to use undo as the default behaviour instead of asking the user to confirm their action. For cases where undo is not possible you can make it clear that it is not reversible and ask the user to enter a message or their password to confirm. This is how github works when you try and delete a repo and I think it works very well.
GOV.UK Publishing platform have a "destructive" button variant