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

[Feature] Handle users opening link to locked APD #4659

Open
1 task
thetif opened this issue Mar 31, 2023 · 0 comments
Open
1 task

[Feature] Handle users opening link to locked APD #4659

thetif opened this issue Mar 31, 2023 · 0 comments
Assignees
Labels
Development Issues for the dev team resolve medium

Comments

@thetif
Copy link
Contributor

thetif commented Mar 31, 2023

Description and related issues

  1. Currently, if you use a link for a page in the APD, if you are logged in, you are directly to that page and if you are not logged in you must sign in first then you are directed.
  2. In this design, once you get to the page, I anticipate a gradual transition or immediate change to the page hidden by the modal. The call to action on the modal is to go to the dashboard.

I am not sure if it will be possible to temporarily display the APD with a modal over it. If it is not, immediately redirect them to the dashboard and put the modal up over it.

Mockups or link to Figma

Design ticket #4016
https://www.figma.com/file/hJpKHKU6fz5J0Z7fisSwa2/eAPD-MMIS-2022?node-id=4948%3A21306&t=DIsa46YJTEhYdXNE-1

Behind the scene changes

Frontend only

Acceptance criteria

  • if a user attempts to open a locked APD using a link directly to the APD, they should be redirected to the dashboard and shown an error message

Testing criteria

Given When Then Covered
a link to an unlocked APD a logged out user clicks it the system takes them to the log in page and after successfully logging in, they are redirected to the APD (and locks it--completed another ticket)
a link to an unlocked APD a logged in user clicks it the system takes them to the APD (and locks it--completed in another ticket)
a link to a locked APD a logged out user clicks it the system takes them to the log in page and after successfully logging in, they are redirected to the dashboard and shown a locked message
a link to a locked APD a logged in user clicks it the system redirects them to the dashboard and shows them a locked message
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development Issues for the dev team resolve medium
Projects
None yet
Development

No branches or pull requests

4 participants