Communicate session has expired on translation view (original) (raw)

CX2: Communicate session has expired on translation view

Currently, when the session expires or the user logs-out on a different tab, an error is shown in the document and the "publish" button remains active. This is problematic since (a) the user may not notice that the changes are not saved and continue working, and (b) we are not providing a clear path forward (just instructions on what to do).

Screen Shot 2018-04-09 at 5.01.31 PM.png (319×1 px, 63 KB)

Proposed solution

CX-error-session-dialog.png (720×1 px, 215 KB)

The following is proposed:

Event Timeline

• Petar.petkovic renamed this task from CX2: Communicate session has expired to CX2: Communicate session has expired on translation view.Jul 29 2018, 2:47 PM

Comment Actions

Checked in cx2-testing when a user session is expired, there is a Console error (which is expected, I suppose):
[CX] Unable to get cxserver token.
The message "An error occurred while saving the page" is still displayed along with the warning about expired session.

Screen Shot 2019-03-22 at 6.40.11 PM.png (434×734 px, 46 KB)

@Pginer-WMF I am moving it to check after deployment, unless you will see that something should be changed.

Comment Actions

@Pginer-WMF I am moving it to check after deployment, unless you will see that something should be changed.

Thanks, @Etonkovidova. If the dialog is shown, I think we can close the ticket. Even if the additional error messages are unnecessary distraction, I'd not consider it a blocker for the task but some possible future polishing (low priority given that session expiry is already an edge case).

Comment Actions

@Pginer-WMF I am moving it to check after deployment, unless you will see that something should be changed.

Thanks, @Etonkovidova. If the dialog is shown, I think we can close the ticket. Even if the additional error messages are unnecessary distraction, I'd not consider it a blocker for the task but some possible future polishing (low priority given that session expiry is already an edge case).

Given this, and that reported error is logged in console and not affecting the dialog, I'm closing this.

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