formbuilder icon indicating copy to clipboard operation
formbuilder copied to clipboard

Use modal for action's message

Open rlecellier opened this issue 9 years ago • 7 comments

With included react-bootstrap we can easly replace alert by pretty modale. For example 'delete field' and 'reset form' in the builder.

rlecellier avatar Sep 20 '16 22:09 rlecellier

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.

almet avatar Sep 21 '16 08:09 almet

good idea for the delete field. about the reset form i think a modal still better.

rlecellier avatar Sep 21 '16 08:09 rlecellier

Let's summon ux People on this topic: @natouille @quentinroy ?

almet avatar Sep 21 '16 08:09 almet

(personally the solution you are mentionning makes sense to me!)

almet avatar Sep 21 '16 08:09 almet

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 avatar Sep 23 '16 17:09 Natouille

@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.

rlecellier avatar Oct 18 '16 14:10 rlecellier

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.

almet avatar Oct 20 '16 17:10 almet