UI Design - Fixing Log Out Redirects
- Dominant language
- JavaScript
- Stars
- 23
- Forks
- 62
- Avg merge
- 24m
- Merged PRs (30d)
- 1
Description
For log on errors (no access), see related design ticket #10656.
### Problem to Solve
As a BC Registries user, when I log out of my account for the day, I want to be redirected to the appropriate logged out page and know that I have successfully logged out.
### Description
If a logged-in user decides to log out, they should be redirected to different pages, depending on the page they were on when they decided to log out:
- [ ] **Scenario 1: If a user logs out when on a page in a BC REG app environment** (Uber/Staff Dashboard/PPR app/Business app), redirect them to this new generic log in screen, (referenced in design ticket #10231).
Including:
- BCROS (uber) dashboard - see #10795
- BCROS Staff dashboard - this is the same as the non-staff dashboard, above
- PPR Search screens - see #10248
- PPR Registration screens (including Amend/Renew/Discharge) - see #10248
- Business Registry Staff Dashboard - see #10756
- Edit Profile + Account pages - see #10756
- My Business Registry dashboard - see #10756
- Filings UI (ie, business dashboard page) - see #10756
- Create UI - see #10756
- Edit UI - see #10756
(See Scenarios below for marketing pages)
----
- [x] **Scenario 2: If a user logs out when on the BCROS marketing (aka home) page:**
User should be taken to the logged out version of the BCROS marketing (aka home) page.
Example: https://yfthig-dev.web.app/ (logged in) -> https://yfthig-dev.web.app/ (logged out)
_Verified by SB._
----
- [x] **Scenario 3: If a user logs out when on the PPR marketing page:**
User should be taken to the logged out version of the PPR marketing page.
Example: https://yfthig-dev.web.app/ppr-marketing/ (logged in) -> https://yfthig-dev.web.app/ppr-marketing/ (logged out)
_Verified by SB._
----
- [x] **Scenario 4: If a user logs out when on the Business Registry marketing page:**
User should be taken to the logged out version of the Business Registry marketing page.
Example: https://dev.bcregistry.ca/business/auth/home/decide-business (logged in) -> https://dev.bcregistry.ca/business/auth/home/decide-business (logged out)
_Verified by SB._
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing the referenced design and scenario tickets (#10231, #10248, #10756, and #10795), then reproduce logout from the listed BC REG app and marketing pages. Verify that each app environment reaches the generic logged-out login screen while each marketing page remains on its logged-out version; the checked marketing scenarios provide the expected behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- authentication, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100