entity icon indicating copy to clipboard operation
entity copied to clipboard

IDIR log in goes to Examiner Dashboard not Host Dashboard

Open mbertucci opened this issue 1 year ago • 16 comments

📖 User Story

As an Examiner when I log in with IDIR I want to be taken to the Examiner Dashboard View
So that I can view the Staff Dashboard and see all of the applications

Context:

when a user logs in with IDIR the system should validate that they have access to STRR and that they will go right to the Dashboard page. From the dashboard page they can then open an application, search etc.

🎨 UX/UI Link:

Miro Links:

https://miro.com/app/board/uXjVKQlO-ME=/?moveToWidget=3458764598341424433&cot=14

📏 Business Rules

  • [ ] only users who have been given Examiner roles and login with IDIR can access the Dashboard (Investigator roles and responsibilities TBD)

🎭 Story Scenarios

Scenario 1: Authenticated and Logged in to STR

  • Given the user logs in to our system with IDIR
  • Whenauthenticated via SBC Connect via IDIR and the role examiner is verified
  • Then send the IDIR user with Examiner role to the Examiner Dashboard.

🌐 Accessibility Scenarios

Keyboard Users

Scenario: Comprehensive Keyboard Navigation Given I am a keyboard user on the website When I use the Tab key to navigate through the website Then all interactive elements should be accessible and highlighted And I should be able to activate these elements using the Enter or Space key

Scenario: Full Content Accessibility via Keyboard Given I am a keyboard user navigating the website When I traverse through different pages and sections Then all content should be fully accessible using the keyboard alone And there should be no traps that prevent me from navigating away using the keyboard

Screen Reader Users

Scenario: Accessible Image Descriptions Given I am using a screen reader on the website When I encounter images Then each image should have descriptive alt text that conveys the same message as the image

Scenario: Structured Navigation for Screen Readers Given I am navigating the website using a screen reader When I move through different page elements Then the content should be structured with proper headings And the reading order should be logical and sequential

Scenario: Descriptive Form Fields Given I am filling out a form using a screen reader When I navigate through the form fields Then each field should be clearly labeled with descriptive text And instructions should be directly associated with their respective inputs

Low Vision Users

Scenario: Effective High Contrast Mode Given I am a user with low vision on the website When I enable high contrast mode Then all content should display with high color contrast suitable for low vision And the layout should remain coherent and unchanged

Scenario: Text Resizing Accommodation Given I am a user with low vision on the website When I increase the text size Then the text should resize without loss of information or functionality And the page layout should adapt accordingly without disrupting the user experience

Scenario: Personalized Styling Preferences Given I am a user with low vision adjusting settings on the website When I customize my styling preferences, including colors, fonts, and spacing Then these adjustments should be applied consistently across all pages And the changes should persist during my entire session or until altered by me

## 🌍 Global Scenarios ## Data Validation # Mikaela to confirm: Do we need to do these for MVP - data validation required for inputing data in the right format - as defined by business rules.

Internet Connection

Standard Internet Connection

Given I am accessing the website from a standard internet connection When I navigate to any page on the site Then the page should load completely within 2 seconds, ensuring a fast and efficient user experience.

Low-Speed Internet

Given a user accesses "Application Details View" with a low-speed internet connection defined as under [specific speed] Mbps When the user attempts to load and interact with the dashboard page Then the "Application Details View" should prioritize critical content and functionality, loading essential elements first to ensure usability.

Mobile Responsiveness

Given I am accessing "Application Details View" on a mobile device When I click on the "any" link Then "_____ " should display correctly and be easily editable on my device, ensuring a responsive design.

mbertucci avatar Aug 16 '24 16:08 mbertucci

@fionazhou-jsb have a look at this one. We are jumping ahead on the story map on this one but thought I should push it through considering the work the team has done on roles.

mbertucci avatar Aug 28 '24 17:08 mbertucci

this also relates to https://app.zenhub.com/workspaces/strr-65b2a7146835aa0cdf315b79/issues/gh/bcgov/entity/22513

which is also in our product team chat under files https://bcgov.sharepoint.com/:w:/r/teams/09399/Shared%20Documents/Product-Scrum%20Team%20Chat/Housing%20Access%20to%20STRR.docx?d=w8df29c338e0e416ea544717cd92d6d17&csf=1&web=1&e=xknnz4

mbertucci avatar Sep 05 '24 01:09 mbertucci

@kris-daxiom for you to review before assigning it to Andy

fionazhou-jsb avatar Sep 06 '24 16:09 fionazhou-jsb

Looks good to me

kris-daxiom avatar Sep 06 '24 16:09 kris-daxiom

@mbertucci I dont think this one need design. Please confirm and we can move it to refinement

fionazhou-jsb avatar Sep 06 '24 17:09 fionazhou-jsb

Let's move it to new issues and pull it in when we get to the examiner work.

mbertucci avatar Sep 10 '24 17:09 mbertucci

Currently they get redirected back to the location they came from before login.

This may be addressed by training.

jdyck-fw avatar Oct 07 '24 17:10 jdyck-fw

Consider for after Dec, and address this through training in the meantime.

jdyck-fw avatar Oct 07 '24 17:10 jdyck-fw

There is a similar story in STR2 under Platform Epic

mbertucci avatar Oct 14 '24 23:10 mbertucci

closing as we will deal with it in training

mbertucci avatar Oct 14 '24 23:10 mbertucci

@mbertucci - Sounds like maybe this one belongs in Refinement if we need to verify this still?

Or do we need a mini-refinement on it before Sprint Planning to pull it into next sprint?

Either way, it's not clear what there is to be done here and it needs an estimate before it's ready for a sprint.

jdyck-fw avatar Oct 28 '24 20:10 jdyck-fw

As per Account Flow updates #23663, the IDIR should go to Examiner Dashboard, and Host goes to Host Dashboard. Please confirm @rstens ?

dimak1 avatar Oct 29 '24 00:10 dimak1

@dimak1 Yes, that is correct. Even better, if an examiner tries application-status or create-account they should be forwarded to registry-dashboard. Similarly if a host tries registry-dashboard they should be forwarded to application-status.

rstens avatar Oct 29 '24 00:10 rstens

Is this an example of a small win? @dimak1

mbertucci avatar Oct 29 '24 22:10 mbertucci

Could be on it's own, but here it is part of broader ticket.

dimak1 avatar Oct 29 '24 22:10 dimak1

I think we have an issue that we need to talk about:

If:

  • First connect with BCSC use BCREG0026 - Sent to create-account after you selected the account you are working with- This is correct
  • Then logout and login (same browser) with your IDIR and you are sent to account-create - not correct. This happens because the previous user was on that page and a new IDIR login uses that location.
  • Logout and connect with different BCSC (BCREG0025), got sent to select-account and then to application-status - Correct

The issue is that the examiner ends up on a page that is not meant for an examiner. I think this should be corrected so that the examiner when logging in always goes to the registry-dashboard.

rstens avatar Nov 01 '24 23:11 rstens

Ready in Dev.

dimak1 avatar Nov 05 '24 18:11 dimak1

Stilll not working as per our convo ths morning.

rstens avatar Nov 06 '24 20:11 rstens

PASS

Tested Breadcrumb as examiner and host from application-details and registration-details. Examiner now always ends up (post login) in registry-dashboard as intended.

rstens avatar Nov 08 '24 21:11 rstens

Tested in dev, examiner login with IDIR is redirected to the dashboard @mbertucci

fionazhou-jsb avatar Nov 12 '24 02:11 fionazhou-jsb