-
Notifications
You must be signed in to change notification settings - Fork 7
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
Logout when inactive #133
Logout when inactive #133
Conversation
The idle modal shows after 25 minutes of inactivity. After 30 minutes of inactivity the user is logged out of the TTA smart hub. If the user becomes active while the modal is displayed it is hidden and the 25 and 30 minute count is reset. Currently when the modal is shown the message says how long the user has until logout when the modal was first shown. I see two ways to improve the user experience: 1. We have a running countdown that updates until the user is logged out 2. We display the actual time at which the user is logged out (e.g. 10:55 am)
Logout on inactive
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work! I'd like to see the accessibility change before merging this in.
Also, can we set the timeout via a CircleCI variable? I don't want a 2 minute timeout in staging/prod, but maybe it's a decent workaround to have one set of flags for staging/production and one for dev/sandbox, at least until something more involved is needed and can be developed.
When inactive the modal that asks the user to continue their session now includes a screen ready only instruction to reduce confusion
Add screen reader instructrions for continuing session
Description of change
The idle modal shows after 25 minutes of inactivity. After 30 minutes of inactivity the user is logged out of the TTA smart hub. If the user becomes active while the modal is displayed it is hidden and the counters are reset.
Currently when the modal is shown the message says how long the user has until logout when the modal was first shown. I see two ways to improve the user experience:
How to test
I've set sandbox to show the logout modal at 1 minute of inactivity and to logout users after an additional minute (2 minutes total). I'll need to remember to update the environment variables to 25 minutes (modal) and 30 minutes (logout) before merging.
Notes
Issue(s)
Checklist
Documentation updated