On touch devices this means the only way is the button title to see what type of action it is until it's already been clicked on (which applies the hover state).
:hover
| Esanders | |
| Aug 5 2015, 6:54 PM |
| F520224: pasted_file | |
| Aug 5 2015, 6:54 PM |
| F520295: pasted_file | |
| Aug 5 2015, 6:54 PM |
On touch devices this means the only way is the button title to see what type of action it is until it's already been clicked on (which applies the hover state).
| Subject | Author | Repo | Branch | Lines +/- | |
|---|---|---|---|---|---|
| Add colour to neutral state of MW frameless buttons | Esanders | oojs/ui | master | +6 -6 |
AIUI from previous discussions, this is intentional; if you want users to understand your interface type before pressing it, you need to add an icon.
Change 230056 had a related patch set uploaded (by Esanders):
Add colour to neutral state of MW frameless buttons
First of all, let's not call it stupid. calling it stupid doesn't make it stupid.
Quiet buttons are necessary for secondary actions. I don't agree with an approach of "One thing doesn't fit all use cases so let's not build it at all"
If the problem is touch screens, let's solve it for it and not discard it for everyone. There are bigger problems with quiet buttons than this one. the dimension of quiet buttons differ from dimensions of normal buttons
A real world example where this is breaking the interface and experience on touchscreens would really help.
Tip: they are called quiet buttons, you can't complain if quiet buttons aren't loud, they are called that for a reason. It's the use of quiet buttons that is important and not the justification for it.
I think they are stupid. I find making buttons that not look like buttons stupid. Any form that uses "quiet" buttons would, in every case, be better off using regular non-primary buttons. Sadly we did not come up with the idea of having primary and non-primary buttons during original MediaWiki UI design and now we're stuck with the awkward non-buttons.
Indeed, regular buttons (without the 'primary' flag) is what we have for secondary actions. Primary actions get primary buttons. I don't believe we need finer granularity; if we do, then what we really need is to rethink the affected interfaces, because they must be terribly confusing.
The real world example is current mobile dialogs, but we should also solve for theoretical use cases.
The colors that appear over hover interactions are nice-to-have information, not important, but nice to have.
I'd advocate for simplicity, meaning if users don't find it helpful or if quiet buttons don't give us any advantage, I'd say get rid of it. It obviously wouldn't work on any touch devices, and if users can't experience it on touch devices and if we think that's okay, I'd question if it's okay that desktop users don't get it as well.
A colored and frameless quiet button is more helpful to destructive actions than for constructive/progressive actions (I think). Not for buttons like "cancel" next to a primary button though. I think if we changed these quiet buttons to colored frameless buttons and have them right next to colored primary buttons, there will be confusion. But if it comes to actions that doesn't seem destructive but it is, a red and frameless button comes in useful.
In conclusion, let's make them colored on normal state, but use them sparingly. Never next to a primary action.
Change 230056 merged by jenkins-bot:
Add colour to neutral state of MW frameless buttons