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
Implement way to catch a user navigating away from an APD but still inside the application. Navigating to /print will NOT be considered navigating away from an APD. It should capture the id of the APD the user is leaving.
You can model this off of LATEST_ACTIVITY and setLatestActivity. There is a listener on the Root.js file and something similar could probably be used for this.
Acceptance criteria
create redux action for user navigating away from an APD
call this action when a user navigates away from an APD
Testing criteria
Given
When
Then
Covered
a user inside a locked APD
the user navigates to the APD List-State Dashboard /
call the leave APD action
a user inside a locked APD
the user navigates to adding an APD /apd/new
call the leave APD action
a user inside a locked APD
the user navigates to /apd/:apdId where apdId is different than the locked APD
call the leave APD action
a user inside a locked APD
the user navigates to a /print/:apdId where apdId is different than the locked APD
call the leave APD action
a user inside a locked APD
the user navigates to any of the login pages /login/*
call the leave APD action
a user inside a locked APD
the user navigates to the State Admin panel /state-admin
call the leave APD action
a user inside a locked APD
the user navigates to the Manage Account page /manage-account
call the leave APD action
a user inside a locked APD
the user navigates to the Switch State Affiliation page /select-affiliation
call the leave APD action
a user inside a locked APD
the user navigates to the State Admin Certification page /delegate-state-admin
call the leave APD action
a user inside a locked APD
the user navigates to any page within the same APD /apd/:apdId
standard APD actions, lock is still maintained on APD
a user inside a locked APD
the user navigates to the print page for the same APD /print/:apdId
the standard print action occurs, lock is still maintained on APD
The text was updated successfully, but these errors were encountered:
thetif
changed the title
[Feature] Track navigating away from APD
[Feature] Track navigating away from APD within the app
Mar 31, 2023
thetif
changed the title
[Feature] Track navigating away from APD within the app
[Feature] Track navigating away from the APD within the app
Mar 31, 2023
Description and related issues
Implement way to catch a user navigating away from an APD but still inside the application. Navigating to /print will NOT be considered navigating away from an APD. It should capture the id of the APD the user is leaving.
You can model this off of LATEST_ACTIVITY and setLatestActivity. There is a listener on the Root.js file and something similar could probably be used for this.
Acceptance criteria
Testing criteria
/
/apd/new
/apd/:apdId
where apdId is different than the locked APD/print/:apdId
where apdId is different than the locked APD/login/*
/state-admin
/manage-account
/select-affiliation
/delegate-state-admin
/apd/:apdId
/print/:apdId
The text was updated successfully, but these errors were encountered: