You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a user's auth session expires/is about to expire, there is no notification (or similar) displayed. The screen doesn't change until the user attempts an action, form submit/document upload. At that point, the api returns 401 Unauthorized error and the user is redirected to the login screen. Any current form progress will not be saved.
Expected Behaviour
When the session is about to expire, the UI should notify the user that their session is about to expire and give them the option to extend. If no user input within a specified time limit, the UI should save any application progress and sign the user out, redirecting them back to the login screen.
Renew session - resets timeout period
timeout countdown only begins after keyboard, mouse, or touch inactivity
Button in dialog to continue or any keyboard, mouse or touch action. If the dialog is displayed it must be actioned. OR "press any key to continue your session"
session expiry warning - warning displayed for xx seconds (TBD see accessibility below)
autosave before time out
Display countdown timer in dialog
Other auto save options - timed
On page / browser exit
Warning Dialog
modal or in page alert (top of page?)
(accessibility with screenreader?)
Ensure modal display does not start screenreader at top of page or otherwise ensure timeout is read first, ensure dialog display allows time for screenreader to completely read the dialog content and allows the user with accessibility needs time to interact with the dialog)
How long should the timeout be:
Consider people with accessibility needs, vision, cognitive, hearing, motor control
User Tasks
Long periods with no input control activity
Reading a single page with no scrolling
Retrieving documents
Phone call - support, client to obtain information
30 min?
Activity
deetz99 commentedon Jan 22, 2025
Should we have sub tickets for design and ui work?
forgeuxGH5 commentedon Jan 23, 2025
Renew session - resets timeout period
timeout countdown only begins after keyboard, mouse, or touch inactivity
Button in dialog to continue or any keyboard, mouse or touch action. If the dialog is displayed it must be actioned. OR "press any key to continue your session"
session expiry warning - warning displayed for xx seconds (TBD see accessibility below)
autosave before time out
Display countdown timer in dialog
Other auto save options - timed
On page / browser exit
Warning Dialog
modal or in page alert (top of page?)
(accessibility with screenreader?)
Ensure modal display does not start screenreader at top of page or otherwise ensure timeout is read first, ensure dialog display allows time for screenreader to completely read the dialog content and allows the user with accessibility needs time to interact with the dialog)
How long should the timeout be:
Consider people with accessibility needs, vision, cognitive, hearing, motor control
User Tasks
Long periods with no input control activity
Reading a single page with no scrolling
Retrieving documents
Phone call - support, client to obtain information
30 min?
deetz99 commentedon Feb 5, 2025
I have this stuff ready for pr, will touch base with Dima tomorrow (Feb 5th) about how to go about this.
jdyck-fw commentedon Feb 5, 2025
Fair to assume that @dimak1 is taking over on this one for you then @deetz99 ?
dimak1 commentedon Feb 5, 2025
This PR also having build issues.
jdyck-fw commentedon Feb 10, 2025
@shaangill025 or @kris-daxiom - Can one of you move this forward while Dima is out? Looks like the blocking ticket is now resolved.
deetz99 commentedon Feb 11, 2025
Updating as Dima is away.
Ready for review.
Examiner (temp dev url): 0.0.21
Host Test: 1.1.6
Strata Test: 1.1.5
Platform Test: 1.1.4
andyyanggov commentedon Feb 12, 2025
Looks good to me.
ser-popov commentedon Feb 13, 2025
Something weird happening with Safari on Mac OS .. see bcgov/STRR#1412
ser-popov commentedon Feb 14, 2025
Will manage the opened defects separately as it only happens for some people but not others .. Done.
mbertucci commentedon Feb 18, 2025
@Michaela-R-Anderson Did this work as intended last week?
jdyck-fw commentedon Feb 20, 2025
Team decided to close this as the timeout issue is very challenging to reproduce and unreliably reproduced, and for a small subset of users.