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
Epic issue includes overview, complete list of user stories, user testing task ideation, and final design mock-ups.
User story
As a filer, I want certain links to open in a new tab, so that I do not lose any data or progress when interacting with forms, tools, or processes on the page.
Acceptance criteria
Given that a user is logged in to our platform and the destination page does not require them to be logged in to our platform to view the content, then the link should open in a separate tab.
Given that a user is logged in to our platform and the destination page does require them to be logged in to our platform to view the content, then the link should open in the same tab.
Given that a user is not logged in to our platform, then the link should open in the same tab.
In this criteria "logged in to our platform" means that they are logged in to Keycloak, Login.gov, and they have been authenticated. Complete your user profile and the complete your user profile confirmation pages do not meet this criteria since the user has not been authenticated.
Tasks
Team members should create task issues in their respective repos and add links to those tasks below.
…1100)
Closes#1071
## Changes
- New hook `useIsNewTabImplied` that determines when links should open
in new tabs
- Codifies logic outlined in
cfpb/sbl-project#295
- Update test utilities:
- Rename to clarify their intent (`openLink`, `openLinkNewTab`)
- New helpers (`expectLinkOpensSameTab`, `expectLinkOpensNewTab`)
- Add E2E tests to verify link targets on each page
- Unauthenticated homepage
- Complete your user profile
- Authenticated landing page
- View your user profile
- View your financial institution profile
- Updated your financial institution profile
- Filing home for each filing step
- Start filing
- Resolve syntax errors
- Resolve logic errors
- Review warnings
- Provide filing details
- Sign and Submit
- Filing homepage for each step of the Filing process
- Provide type of financial institution
- Upload file
- Resolve syntax errors
- Resolve logic errors
- Review warnings
- Provide filing details
- Sign and submit
Epic
Epic issue includes overview, complete list of user stories, user testing task ideation, and final design mock-ups.
User story
Acceptance criteria
In this criteria "logged in to our platform" means that they are logged in to Keycloak, Login.gov, and they have been authenticated. Complete your user profile and the complete your user profile confirmation pages do not meet this criteria since the user has not been authenticated.
Tasks
Team members should create task issues in their respective repos and add links to those tasks below.
Data
UX
Front end
Ticket: Update when links open in new tab
Link
component that determines when to open a link in a new tab based on the Acceptance criteria set in [Story] Certain links to open in a new tab #295Link > isExternalLink
)clickNewTabWithRetry()
- New utility to retry clicking of links that open in new tab until the target page actually loadsBack end
The text was updated successfully, but these errors were encountered: