Yes, should be constructive not primary.
Sent while mobile
On Mar 5, 2014, at 5:51 AM, Steven Walling swalling@wikimedia.org wrote:
On Wed, Mar 5, 2014 at 8:20 AM, Matthew Flaschen mflaschen@wikimedia.org wrote:
The current proposed change to use mw-ui-button for save/preview/show changes/cancel (on the edit screen) uses mw-ui-destructive (with quiet) for the cancel button. This directly contradicts the style guide, which says, "This should not be used for cancel buttons.".
As noted at https://gerrit.wikimedia.org/r/#/c/116725/ , my understanding of destructive is that you are deleting something that was already publicly visible, or at least has an impact beyond your own personal session.
The cancel button doesn't seem to fit that. Cancel is a common concept, and semantically clear, so perhaps we should simply add mw-ui-cancel.
In addition to that... the author is asking if Save page should be mw-ui-constructive (green). That's correct right? mw-ui-primary is actually deprecated in the new version, and save is not a multi-step action so it's not mw-ui-progressive (blue).
Jared?