Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvement: Session inactive message #2154

Closed
somesh-kumar opened this issue Dec 9, 2019 · 7 comments
Closed

Improvement: Session inactive message #2154

somesh-kumar opened this issue Dec 9, 2019 · 7 comments

Comments

@somesh-kumar
Copy link
Contributor

somesh-kumar commented Dec 9, 2019

2019-12-09_17h17_47

When my session times out due to inactivity I see a message:-
"Warning - your session has expired. Please save your work and login again."
The message could be misinterpreted. If a user is on the editor page he might just click the save button and loose the changes.

Expected: If the session has already expired prompt the user to copy the changes elsewhere in a text editor and login again to resume. Show the Login button to take user to the Login page.

@somesh-kumar
Copy link
Contributor Author

somesh-kumar commented Dec 9, 2019

Additional Info-

On hitting the save button there is a blank warning message box. Refer to screenshot below.

Expected: Navigate to login screen in case any event triggered after session time out

Actual: An empty warning box is shown to user

2019-12-09_18h17_08

@ghost
Copy link

ghost commented Jan 13, 2020

Having a look soon.

@kolotu kolotu assigned kolotu and ghost and unassigned kolotu Jan 14, 2020
@ghost
Copy link

ghost commented Jan 14, 2020

Had a few thoughts about this.
My idea might seem a bit drastic so @somesh-kumar @kolotu feel free to counter-argue.

TL;DR

  1. Make the banner modal so nothing "behind" it can be clicked
  2. Remove the "save your work" part. Unlikely that the user will want to copypaste text from the model's detail and place it somewhere else temporarily, also given the long time of inactivity.
  3. Bottomline, since at that point the session is unrecoverable, the banner should just display the link redirecting to the login page, saying something along the lines of "your session expired, please login again".

We have a long enough session timeout with warnings in between so losing one's work at this point should be acceptable.

Will start working in that direction soon if no objections.

@ghost
Copy link

ghost commented Jan 15, 2020

Elaborating on the above:

  • Grey semi-transparent div covering whole real estate when both warning and session expired banners occur
  • The content "behind" it is scrollable but not clickable
  • The only way to "un-freeze" the vorto content at this point is to click on the modal's button, whether it's to extend the session or navigate back to the login page depending on the case
  • Removed the "save your work" part when session unrecoverable

Screenshot cutouts below:

warning

expired

ghost pushed a commit to bosch-io/vorto that referenced this issue Jan 15, 2020
* Grey semi-transparent div covering whole real estate when both warning and session expired banners occur
* The content "behind" it is scrollable but not clickable
* The only way to "un-freeze" the vorto content at this point is to click on the modal's button, whether it's to extend the session or navigate back to the login page depending on the case
* Removed the "save your work" part when session unrecoverable

Signed-off-by: Menahem Julien Raccah Lisei <[email protected]>
@ghost
Copy link

ghost commented Jan 15, 2020

PR here

kolotu added a commit that referenced this issue Jan 16, 2020
@ghost
Copy link

ghost commented Jan 16, 2020

Merged, @somesh-kumar or @kolotu cannot close this myself, could you please?

@kolotu kolotu closed this as completed Jan 16, 2020
@kolotu
Copy link
Contributor

kolotu commented Jan 16, 2020

@somesh-kumar @mena-bosch it's closed

@ghost ghost mentioned this issue Jan 27, 2020
JulianFeinauer pushed a commit to JulianFeinauer/vorto that referenced this issue Jun 27, 2020
* Grey semi-transparent div covering whole real estate when both warning and session expired banners occur
* The content "behind" it is scrollable but not clickable
* The only way to "un-freeze" the vorto content at this point is to click on the modal's button, whether it's to extend the session or navigate back to the login page depending on the case
* Removed the "save your work" part when session unrecoverable

Signed-off-by: Menahem Julien Raccah Lisei <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants