department-of-veterans-affairs / va.gov-team

Public resources for building on and in support of VA.gov. Visit complete Knowledge Hub:
https://depo-platform-documentation.scrollhelp.site/index.html
281 stars 197 forks source link

Disco: Determine how we prevent submissions after being logged out #90360

Open pacerwow opened 1 month ago

pacerwow commented 1 month ago

Issue Description

As a Veteran I don't want my submission to fail because I lingered on the Review & Submit page longer than the session timeout window (I also don't know what that is). I expect to be logged out automatically if my session expires, not continue to use the app assuming it's still functional.


Tasks

Acceptance Criteria

Additional Context

This has a significant impact on the Veteran because, in our UAT tests, the Veteran would see an error, hence not get a claim ID back, will have no 526 form to reference (no printed or saved copy, or one available online), they might try submitting again which creates a duplicate submission, would have to call the contact center to get information - the rep might see their claim if it has been processed by then, but they might not. Relying on intuition and how I might react, but this would be very dissatisfying and confusing.


How to configure this issue

christinec-fftc commented 1 month ago

This issue occurred during UAT testing, where we were on the review page for 8 minutes reviewing the data, then tried to submit, but the session had expired. User name was still displaying in the header when the error occurred.

Some related older tickets Log users out on inactivity (session timeout) #84533 Session timeout in form 526 - better handling #20543

pacerwow commented 1 month ago

[Uploading... screencapture-staging-va-gov-disability-file-disability-claim-form-21-526ez-review-and-submit-2024-08-08-12_47_54.png]