Page MenuHomePhabricator

Basic support for leaving an auto-saving translation on mobile
Closed, ResolvedPublic

Description

As part of the work to support translating in multiple sessions on mobile (more details in parent ticket: T319180), this ticket proposes to adjust the behaviour when leaving a translation based on the auto-saving status.

Currently, trying to leave a translation shows always a warning (T270484). This will change:

  • Trying to leave a translation where there are changes pending to be saved should show an alert warning the user that changes may get lost.
  • Trying to leave when changes are saved, or when there is no change made yet, should just return to the dashboard without warning.

This ticket requires the basic autosaving (T322517) to be in place. The next step in this work track will be to support continuing a translation.

Event Timeline

Pginer-WMF lowered the priority of this task from High to Medium.
Pginer-WMF raised the priority of this task from Medium to High.

Change 869813 had a related patch set uploaded (by Nik Gkountas; author: Nik Gkountas):

[mediawiki/extensions/ContentTranslation@master] SX: Basic support for leaving an auto-saving translation on mobile

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

Change 869813 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] SX: Basic support for leaving an auto-saving translation on mobile

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

Change 880440 had a related patch set uploaded (by Santhosh; author: Santhosh):

[mediawiki/extensions/ContentTranslation@master] CX3 Build 0.2.0+20230116

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

Change 880440 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] CX3 Build 0.2.0+20230116

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

Test status: QA PASS

Trying to leave when changes are pending

Trying after changes have been saved