Auto-save the content when navigating away with unsaved changes using the browser back button (original) (raw)

Create Task

Maniphest T200502

CX2: Auto-save the content when navigating away with unsaved changes using the browser back button

Closed, ResolvedPublic

Actions

Assigned To

• Petar.petkovic

Authored By

Pginer-WMF
Jul 27 2018, 8:43 AM

Tags

Referenced Files

F24191215: Screen Shot 2018-07-27 at 10.32.25.png
Jul 27 2018, 8:43 AM

Subscribers

Aklapper
Etonkovidova
• Petar.petkovic
Pginer-WMF

Description

Content Translation saves the translation progress automatically, when the user makes a content modification and tries to leave the translation editor too quickly for auto-save to complete, a dialog is shown to warn the user. Currently in version 2, the dialog is shown when the user leaves the translation clicking the "< All translations" button (as shown below), but it is not shown if the user clicks the back button of the browser instead.

This is a regression compared to CX1, and the expected behaviour is to show the same dialog when navigating away using the browser controls too.

Screen Shot 2018-07-27 at 10.32.25.png (781×1 px, 264 KB)

Related Objects

Mentioned In

T199823: Some sections are missed while processing saving queue

Mentioned Here

T199823: Some sections are missed while processing saving queue

Duplicates Merged Here

T200592: CX2 - auto-save does not work if user navigates away

Event Timeline

Pginer-WMF created this task.Jul 27 2018, 8:43 AM

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 27 2018, 8:43 AM

Pginer-WMF mentioned this in T199823: Some sections are missed while processing saving queue.Jul 27 2018, 8:43 AM

• Petar.petkovic merged a task: T200592: CX2 - auto-save does not work if user navigates away .Jul 28 2018, 12:31 AM

• Petar.petkovic added subscribers: Etonkovidova, • Petar.petkovic.

Pginer-WMF triaged this task as Medium priority.Jul 30 2018, 8:57 AM

Pginer-WMF moved this task from Needs Triage to CX2 on the ContentTranslation board.Aug 1 2018, 6:09 PM

Pginer-WMF moved this task from Backlog to Priority backlog on the Language-2018-July-September board.Aug 6 2018, 8:43 AM

• Petar.petkovic claimed this task.Aug 7 2018, 3:16 PM

• Petar.petkovic moved this task from Priority backlog to QA on the Language-2018-July-September board.

Comment Actions

This problem is solved along with patch for T199823: Some sections are missed while processing saving queue.

@Etonkovidova and @Pginer-WMF, please test this again.

Pginer-WMF closed this task as Resolved.Aug 8 2018, 8:28 AM

Comment Actions

In T200502#4484899, @Petar.petkovic wrote:

This problem is solved along with patch for T199823: Some sections are missed while processing saving queue.

@Etonkovidova and @Pginer-WMF, please test this again.

It works as expected now. Clicking the back button shows the dialog when saving process is not completed. Closing the ticket.

• Petar.petkovic moved this task from QA to Done on the Language-2018-July-September board.Aug 8 2018, 8:28 AM

Log In to Comment

Content licensed under Creative Commons Attribution-ShareAlike (CC BY-SA) 4.0 unless otherwise noted; code licensed under GNU General Public License (GPL) 2.0 or later and other open source licenses. By using this site, you agree to the Terms of Use, Privacy Policy, and Code of Conduct. · Wikimedia Foundation · Privacy Policy · Code of Conduct · Terms of Use · Disclaimer · CC-BY-SA · GPL · Credits