Last modified: 2014-07-10 21:33:47 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 T59462, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57462 - VisualEditor: Offer to retain changes when switching to the "Edit Source" tab
VisualEditor: Offer to retain changes when switching to the "Edit Source" tab
Status: VERIFIED FIXED
Product: VisualEditor
Classification: Unclassified
MediaWiki integration (Other open bugs)
unspecified
All All
: Low enhancement
: VE-deploy-2014-07-03
Assigned To: Alex Monk
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-23 00:12 UTC by Rummana Yasmeen
Modified: 2014-07-10 21:33 UTC (History)
8 users (show)

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


Attachments
Inside Edit Source tab (91.57 KB, image/png)
2013-11-23 00:17 UTC, Rummana Yasmeen
Details

Description Rummana Yasmeen 2013-11-23 00:12:04 UTC
When a user clicks on Switch to source editing option from the settings drop down it tells user that switching to source editing will keep the changes made in the document.But if a user attempts to switch from the tab it does not retain those changes.This seemed confusing to me because when user uses the "switch to source editing" , the "Edit Source" tab is selected ,indicating the same destination for both action.

If a user can switch to source editing in multiple ways, i think it is better both ways have similar mechanism of handling the changes to have uniform experience.
Specially when switching from tab is one click away compared to the "[]switch to source editing" option.
Comment 1 Rummana Yasmeen 2013-11-23 00:17:29 UTC
Created attachment 13890 [details]
Inside Edit Source tab
Comment 2 Andre Klapper 2013-11-23 17:09:28 UTC
[Removing "[Suggestion]" from summary; setting severity field to "enhancement" instead]
Comment 3 James Forrester 2013-11-25 15:55:09 UTC
This is possible, but would be ugly, because we'd need to replace the existing two-choice option (switch or don't switch) with a custom three-choice one (switch and keep changes, switch without changes, don't switch)… Maybe.
Comment 4 MZMcBride 2014-02-03 04:53:09 UTC
I personally think that this bug report is a duplicate of bug 42141.
Comment 5 Gerrit Notification Bot 2014-06-25 20:26:01 UTC
Change 142064 had a related patch set uploaded by Alex Monk:
Offer to retain changes when switching to the wikitext editor

https://gerrit.wikimedia.org/r/142064
Comment 6 Gerrit Notification Bot 2014-06-30 23:40:33 UTC
Change 142064 merged by jenkins-bot:
Offer to retain changes when switching to the wikitext editor

https://gerrit.wikimedia.org/r/142064
Comment 7 Gerrit Notification Bot 2014-07-01 00:00:00 UTC
Change 143203 had a related patch set uploaded by Alex Monk:
Don't offer to retain changes when switching to wikitext editor by tab if no changes have been made.

https://gerrit.wikimedia.org/r/143203
Comment 8 Gerrit Notification Bot 2014-07-01 01:04:42 UTC
Change 143203 merged by jenkins-bot:
Don't offer to retain changes when switching to wikitext editor by tab if no changes have been made

https://gerrit.wikimedia.org/r/143203
Comment 9 Rummana Yasmeen 2014-07-01 19:37:22 UTC
Verified the fix in Betalabs
Comment 10 Rummana Yasmeen 2014-07-07 21:43:03 UTC
Verified the fix in test2
Comment 11 Rummana Yasmeen 2014-07-10 21:33:47 UTC
Verified the fix in production

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


Navigation
Links