Page MenuHomePhabricator

Double tapping 'Publish' (soon to be '>') in the VE toolbar causes the page to publish immediately without the save dialog being shown
Closed, ResolvedPublic

Description

Observed a few times in user testing, users get confused when pressing next appears to do nothing immediately. Then then repeatedly tap in the top right corner causing their edit to save immediately.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

It appears just double tapping next will cause this. One option might be to disable the save/publish button at least until the opening transition has finished.

After some research, it's a side-effect of a89c79dc7907fb32707c0fe535230cc04c38cae5 rather than being something tied to the save dialog actions -- intent is that if an accesskey hits the save-button while the save dialog is open, it triggers a save.

I can stick a brief "don't trigger a save during the dialog-opening" in there.

Change 532737 had a related patch set uploaded (by DLynch; owner: DLynch):
[mediawiki/extensions/VisualEditor@master] Don't let double-clicking the save button trigger a save

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

Change 533059 had a related patch set uploaded (by DLynch; owner: DLynch):
[VisualEditor/VisualEditor@master] WindowAction: Expose a promise when opening a window

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

Change 533059 merged by jenkins-bot:
[VisualEditor/VisualEditor@master] WindowAction: Expose a promise when opening a window

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

Change 533346 had a related patch set uploaded (by Bartosz Dziewoński; owner: Bartosz Dziewoński):
[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (f3f6fae90)

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

Change 533351 had a related patch set uploaded (by DLynch; owner: DLynch):
[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (f3f6fae90)

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

Change 533351 abandoned by DLynch:
Update VE core submodule to master (f3f6fae90)

Reason:
Duplicate

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

Change 533346 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (4f3a331f6)

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

Change 532737 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@master] Don't let double-clicking the save button trigger a save

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

DLynch added a subscriber: Ryasmeen.

@Ryasmeen: for testing, the most likely side effect of this patch would be somehow breaking the ability to use the save shortcut again while the save dialog is open to trigger a save.

Esanders renamed this task from On slower mobile devices, pressing 'next' in the VE toolbar doesn't visually respond immediately so users double tap which causes a publish to Double tapping 'Publish' (soon to be '>') in the VE toolbar causes the page to publish immediately without the save dialog being shown.Aug 30 2019, 11:55 AM
Esanders updated the task description. (Show Details)