Use modal for action's message
With included react-bootstrap we can easly replace alert by pretty modale. For example 'delete field' and 'reset form' in the builder.
I actually had in mind to replace the links with an "are you sure" text, letting the user click again without having to move the cursor.
good idea for the delete field. about the reset form i think a modal still better.
Let's summon ux People on this topic: @natouille @quentinroy ?
(personally the solution you are mentionning makes sense to me!)
Delete field is a good idea (to be sure you don't delete teh whole form). The alert box is OK to me. About teh reset your form, it should appear but it should be a light design (your primary action is Save your form)
@Natouille @almet please confirm that i'll well understand.
- replace "delete field" confirmation from alert box to a second click.
- do not replace the "reset form" alert box by a prettier css modal.
- change "reset form" button by a lighter design as it's a secondary action.
I don't undestand why changing a hugly alert box by a pretty modal isn't a good thing.
Almost:
- replace "delete field" confirmation from alert box to a second click.
- do replace the "reset form" alert box by a prettier css modal.
- change "reset form" button by a lighter design as it's a secondary action.