Page MenuHomePhabricator

Start cancel button as quiet neutral, but change to quiet destructive when there are changes
Open, MediumPublic

Description

In either case, there is no visible color when the user is not hovering, so this should not be too attention-grabbing.

However, with destructive, it will highlight red when they hover, to reinforce that they will lose their unsaved changes.

We might also want to change the text to 'Discard changes' at that point, although that might be overly attention-grabbing (not sure).

See thread on design list starting at http://lists.wikimedia.org/pipermail/design/2014-March/001588.html , and related Flow bug 62290.

See also in progress change to the edit form (https://gerrit.wikimedia.org/r/#/c/116725/), which will probably do the quiet part of this, but not necessarily the destructive on change.

We should update the style guide if this is implemented.


Version: 1.23.0
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=62290

Details

Reference
bz62304

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:03 AM
bzimport set Reference to bz62304.
bzimport added a subscriber: Unknown Object (MLST).

(In reply to Matthew Flaschen from comment #0)

We might also want to change the text to 'Discard changes' at that point,
although that might be overly attention-grabbing (not sure).

See Pau's followup (http://lists.wikimedia.org/pipermail/design/2014-March/001605.html). They've done some experiments (not exactly this text, but similar concepts) that indicate such changes are useful, which supports doing it here.