Page MenuHomePhabricator

Add a confirmation popup in story builder on reload or exit
Closed, ResolvedPublic

Description

Background

Story builder currently does not have a confirmation popup to prevent users from accidentally losing work when they try to reload the page or leave the site. This task is to introduce a confirmation popup in the story builder to prevent this issue.

Reference screenshots from visual editor.

Screenshot_20230224-175835_Chrome.jpg (2×1 px, 84 KB)
Screenshot_20230224-175846_Chrome.jpg (2×1 px, 86 KB)

Change UX copy from:

  • Leave site to Leave story builder?
  • Reload site to Reload story builder?

Details

Event Timeline

Change 895849 had a related patch set uploaded (by Eamedina; author: Eamedina):

[mediawiki/extensions/Wikistories@master] Show browser confirmation popup if user reloads or closes the tab to avoid unintentionally losing data

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

Change 895849 merged by jenkins-bot:

[mediawiki/extensions/Wikistories@master] Close or reload confirmation

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

SBisson triaged this task as Medium priority.Mar 22 2023, 1:14 PM