Last modified: 2014-09-15 18:51:10 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T54462, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 52462 - VisualEditor: Dialogs should have a "cancel" button next to "Apply changes"
VisualEditor: Dialogs should have a "cancel" button next to "Apply changes"
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
Editing Tools (Other open bugs)
unspecified
All All
: Normal enhancement
: VE-deploy-2014-07-17
Assigned To: Trevor Parscal
: design
Depends on:
Blocks: ve-templatesupport
  Show dependency treegraph
 
Reported: 2013-08-02 16:19 UTC by Chris McKenna
Modified: 2014-09-15 18:51 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Chris McKenna 2013-08-02 16:19:58 UTC
What it says on the tin: The transclusion editor should have a "cancel" button next to "Apply changes". This would close the editor without saving any changes.
Possibly it should require a confirmation if one or more templates have been selected.
Comment 1 James Forrester 2013-08-02 22:33:03 UTC
This functionality is currently provided by the "X" in the top-right corner (as for all dialogs). Is a duplicate button needed?
Comment 2 Chris McKenna 2013-08-02 23:34:28 UTC
Yes, I've seen it mentioned a couple  of times that people aren't sure what state clicking the "X" will leave things in. Will it cancel everything they've done, cancel only unfinished/unapplied changes, or close with everything in its current state finished or not.
Comment 3 James Forrester 2013-08-03 01:15:57 UTC
(In reply to comment #2)
> Yes, I've seen it mentioned a couple  of times that people aren't sure what
> state clicking the "X" will leave things in. Will it cancel everything
> they've done, cancel only unfinished/unapplied changes, or close with
> everything in its current state finished or not.

* A "rubbish bin" icon (on lightweight inspectors, but not dialogs) is Option 1.
* An "X" icon (on dialogs, but not inspectors) is Option 2.
* The "apply changes" button (on dialogs, but not inspectors) is Option 3.

Clearly this isn't "obvious" enough; we should consider what more we can do.
Comment 4 Krinkle 2013-08-03 01:24:09 UTC
I think a cancel button makes perfect sense from a UX point of view for dialogs.

Closing would be an alias of cancel, but that's not the primary flow for a user.

Closing windows is always a bit of awkward and uncertain action to take.
Comment 5 Chris McKenna 2013-08-28 09:56:02 UTC
A user at en.wp has reported that they were unaware that the ^ button on the save page dialog would return them to the article. Consequently they were under the impression that the only options were to preview the changes, save the changes or abort the edit, i.e. there was no way to go back and make addition changes or fix ones they had already made.

A cancel button as discussed in this bug would solve this, although I think labelling it something like "return to editing" would be better than "cancel" here (which could imply discarding the edit).
Comment 6 James Forrester 2014-07-22 21:17:09 UTC
This was done as part of the window redesign work.
Comment 7 WhatamIdoing 2014-08-10 06:22:11 UTC
There is still no "Cancel" button on the link tool.
Comment 8 John Broughton 2014-08-10 19:34:19 UTC
As noted previously, there no "Cancel" button on the link tool (dialog? insert window?). Also, there is no "Cancel" button on the Formula dialog (insert window?). 

I'm reopening this bug because otherwise - in "Resolved" status - this bug is much more likely to be ignored. If in fact the link tool and the Formula window are outside the scope of this bug, feel free to close the bug - then we'll know that we need to open a new, separate bug to address those two issues.
Comment 9 James Forrester 2014-09-15 18:51:10 UTC
(In reply to John Broughton from comment #8)
> If in fact the link tool and the Formula window are outside the scope of this>
> bug, feel free to close the bug

They are. This bug is about dialogs.

Design questions about non-dialogs is a distinct question – raising another ticket is probably a good idea if you think they should be changed.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links