Page MenuHomePhabricator

Change VE integration to only use one edit tab, to avoid user choice paralysis
Closed, ResolvedPublic40 Estimated Story Points

Description

Instead of adding a second edit tab, provide an integration that only uses one edit tab.

For logged-out users:

  • Show a single tab, labelled "Edit" regardless of which editor will be loaded.
  • Store in a cookie the user's last-used editor where they had a choice of editors (e.g. edits to Talk:/Template: don't count).
  • When a user clicks the edit tab, read the cookie and load that editor if available.
  • When a user clicks the edit tab and no cookie is set (very first time), load the wiki-specific default editor for first time (aka 'primary')
  • Let the user switch to the other editor if appropriate through a button on the toolbar.
  • If they switch, update the cookie.

For logged-in users (where we can do this):

  • Show a single tab
  • For default user options ("remember my last editor")…
    • Label the tab "Edit" if they last used VE when they had a choice, "Edit source" if they last used WT.
    • Store in a preference the user's last-used editor where they had a choice of editors (e.g. edits to Talk:/Template: don't count).
    • When a user clicks the edit tab, read the preference and load that editor if available.
    • When a user clicks the edit tab and no preference is set (very first time), load the wiki-specific default editor for first time (aka 'primary').
    • Let the user switch to the other editor if appropriate through a button on the toolbar.
    • If they switch, update the preference.
  • For users opting to "always prefer the visual editor"…
    • Label the tab "Edit" if it will load VE, "Edit source" if it will load WT.
    • When a user clicks the edit tab, load VE if available.
    • Let the user switch to the other editor if appropriate through a button on the toolbar.
    • If they switch, do not change their preferences.
  • For users opting to "always prefer the wikitext editor"…
    • Label the tab "Edit" always.
    • When a user clicks the edit tab, load WT regardless.
    • Let the user switch to the other editor if appropriate through a button on the toolbar.
    • If they switch, do not change their preferences.
  • For users opting to "always show two edit tabs"…
    • Add where appropriate a second edit tab, with current behaviour (Edit/Edit source).
    • When a user clicks an edit tab, load said label's editor.
    • Let the user switch to the other editor if appropriate through a button on the toolbar.
    • If they switch, do not change their preferences.
  • For users opting to "temporarily disable the visual editor while it is in beta"...
    • Don't change their edit tab experience at all, i.e. show one edit source tab labelled as 'edit'.

Related Objects

StatusSubtypeAssignedTask
OpenNone
OpenTrizek-WMF
OpenNone
OpenNone
OpenNone
OpenNone
OpenReleaseNone
ResolvedKrenair
Resolved AlexMonk-WMF
OpenNone
ResolvedKrenair
OpenNone
OpenNone
OpenNone
OpenNone
ResolvedKrenair
ResolvedKrenair
ResolvedKrenair
ResolvedKrenair
ResolvedKrenair
ResolvedKrenair
ResolvedKrenair
ResolvedKrenair
ResolvedKrenair
ResolvedKrenair
ResolvedKrenair
ResolvedKrenair
ResolvedKrenair
ResolvedKrenair
ResolvedKrenair
ResolvedKrenair
ResolvedKrenair
ResolvedKrenair
ResolvedKrenair
ResolvedPRODUCTION ERRORKrenair
ResolvedKrenair
ResolvedKrenair
ResolvedKrenair
Declined Whatamidoing-WMF
ResolvedKrenair
ResolvedKrenair
InvalidKrinkle
ResolvedKrenair
ResolvedKrenair

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:19 AM
bzimport set Reference to bz56337.

Relevant issues have been previously discussed at length on bug 49666, bug 50540, bug 50688 and probably a few other bugs. So please tread carefully. :)

Tempted to WONTFIX this request exactly for the looooong and heated discussions linked to from comment 2 and in Village Pumps. Would love to see some examples for "very confusing for a beginner" statement too.

Jdforrester-WMF renamed this task from VisualEditor: Integrate VE and WT editors into a single edit tab, to avoid user choice paralysis to Change VE integration to only use one edit tab, to avoid user choice paralysis.Nov 23 2015, 4:47 PM
Jdforrester-WMF reopened this task as Open.
Jdforrester-WMF assigned this task to Krenair.
Jdforrester-WMF updated the task description. (Show Details)
Jdforrester-WMF edited a custom field.

Change 248369 had a related patch set uploaded (by Alex Monk):
[WIP] Single edit tab

https://gerrit.wikimedia.org/r/248369

Jdforrester-WMF raised the priority of this task from Medium to High.Nov 30 2015, 6:32 PM
Jdforrester-WMF moved this task from Freezer to TR1: Releases on the VisualEditor board.

Change 248369 merged by jenkins-bot:
Single edit tab and section links

https://gerrit.wikimedia.org/r/248369

Change 257814 had a related patch set uploaded (by Alex Monk):
Single edit tab: Deal with section link clicks

https://gerrit.wikimedia.org/r/257814

Change 257814 merged by jenkins-bot:
DesktopArticleTarget: Handle section edit link clicks in single edit tab mode

https://gerrit.wikimedia.org/r/257814