Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make "Create" or "Update" the first button, not "Cancel" #6

Open
twomice opened this issue Aug 9, 2017 · 6 comments
Open

Make "Create" or "Update" the first button, not "Cancel" #6

twomice opened this issue Aug 9, 2017 · 6 comments

Comments

@twomice
Copy link

twomice commented Aug 9, 2017

Having Cancel as the first button causes the form to cancel when the user hits Enter, which is an odd experience.
Screenshot

@twomice twomice mentioned this issue Aug 9, 2017
@michaelmcandrew
Copy link
Collaborator

Rather than switch the order, I think we can specify which one is the default (I think that having cancel on the left is fairly standard practice)

@twomice
Copy link
Author

twomice commented Aug 10, 2017

Having "cancel" as the last option is common throughout CiviCRM. I can't think of an example where that's not true.
buttons

@michaelmcandrew
Copy link
Collaborator

Hey,
That's true. I was thinking of every other UI in the world :) Can we compromise on having update as the default action?

@twomice
Copy link
Author

twomice commented Aug 16, 2017

If you're asking me, I'll advocate for consistency with the main platform.

From Jakob Nielsen:

Either choice has good arguments in its favor, ...

... it's best to follow the platform GUI standard. Applying consistent design that follows user expectations saves people much more time (and many more mistakes) than doing something that might be a tiny bit more optimal for your application but introduces an inconsistency. ...

  • Windows puts OK first
  • Apple puts OK last

Maybe you're usually working on a Mac? I hadn't thought of that.

Drupal puts OK first:
drupal

I couldn't find a Cancel button in WordPress, so no example there.

So my argument would be: Windows and Mac have their own way of things, but inside the browser, inside Drupal, inside CiviCRM, the consistent thing is to put OK first and Cancel last.

@michaelmcandrew
Copy link
Collaborator

I am using Linux - most seem to be on the right but I don't have strong feelings and agree that we can/should follow the CiviCRM standard.

@twomice
Copy link
Author

twomice commented Aug 16, 2017

Yay for Linux! Interestingly, I'm noticing it's pretty inconsistent on my Ubuntu machine, sometimes left sometimes right. But anyway...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants