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

Dashboard\Tiles -External user condition if Operator record has required fields #2341

Open
24 tasks
zoeyli-46 opened this issue Oct 8, 2024 · 3 comments
Open
24 tasks
Assignees

Comments

@zoeyli-46
Copy link

zoeyli-46 commented Oct 8, 2024

Dependencies

Figma links

Please review this workflow Figma to see where each screen leads to by following the arrows/text instructions

Click through this Prototype to see the intended workflow for either a new user who is signing into BCIERS for an EXISTING operator, OR a returning user who already has access to an operator.

Note: the grayed-out tiles in the prototype will be a future enhancement; for the MVP, we will implement them as hidden instead of grayed-out, because we already have the "hide tile" pattern implemented.

Description:

During the first year of BCIERS 2025, the Operator must complete a sequence of steps. To enforce this sequence of steps, tiles will be hidden and shown to users one by one given that they completed the required step.

Given that a user (new or returning) is accessing an existing operator, these are the required steps

  1. User signs in (if they are new, they request access and wait for access to be granted)
  2. User is brought to the BCIERS dashboard
  3. Only Admin tile is shown, Inside the Admin tile, the Operator link has a "action required" notification" ONLY if the associated operator is missing required fields information
  4. User updates their Operator Information
  5. User is redirected to the BCIERS dashboard: only Admin and Registration and Report a Problem tiles are shown, (reporting and COAM are hidden)
    6. Registration tile's Register an Operation link has an "action required" notification
    7. Given that the user registers 1 operation, when they return to the BCIERS dashboard the reporting tile is unhidden and shown
    8. Given that the user has submitted a report, the COAM tile is unhidden and shown (pending BA decision on when to show the COAM tile)

Acceptance Criteria:

Given I am logging in as a user for an existing operator who does not have an admin,
When I have logged in,
I have to wait for the Internal User to approve of me as an admin for the existing operator
Then I will be able to access the BCIERS dashboard
related to ticket: #2122 )

Given I am logging in as a user for an existing operator with an admin
When I have logged in,
I have to wait for the admin to approve of me,
Then I will be able to access the BCIERS dashboard

Given that I have access to the BCIERS dashboard,
I only see the Admin and Report a Problem tile
If the associated operator is missing required fields information the Admin\Operator link has a "action required" notification
Figma

Given that I filled out the Operator Information form and clicked submit,
then I get a success snackbar that says "All changes have been successfully saved", and am redirected back to the BCIERS dashboard
The Administration and Registration tiles are now unhidden
I see an "action pending" in my Registration tile next to Register an Operation
Given that I registered one of my operations, then when I go back to my dashboard, the Reporting tile becomes unhidden
Given that it is May 31st, or I have submitted a report (?) then the COAM tile becomes unhidden

Development Checklist:

  • Create API to return result if Operator record has required fields
    • If Operator record has required fields:
      • Display dashboard tile\link: Admin\My Operator
      • Display dashboard tile: Registration
    • If Operator record does not have required fields:
      • Display dashboard tile\link: Admin\My Operator * action required
      • Do not display dashboard tile: Registration
  • Meets the DOD

Definition of Ready (Note: If any of these points are not applicable, mark N/A)

  • User story is included
  • User role and type are identified
  • Acceptance criteria are included
  • Wireframes are included (if required)
  • Design / Solution is accepted by Product Owner
  • Dependencies are identified (technical, business, regulatory/policy)
  • Story has been estimated (under 13 pts)

·Definition of Done (Note: If any of these points are not applicable, mark N/A)

  • Acceptance criteria are tested by the CI pipeline
  • UI meets accessibility requirements
  • Configuration changes are documented, documentation and designs are updated
  • Passes code peer-review
  • Passes QA of Acceptance Criteria with verification in Dev and Test
  • Ticket is ready to be merged to main branch
  • Can be demoed in Sprint Review
  • Bugs or future work cards are identified and created
  • Reviewed and approved by Product Owner

Notes:

@zoeyli-46
Copy link
Author

@shon-button I've just added this ticket after splitting it from #2048 please let me know if there are any clarifications I can make to this ticket :)
cc @patriciarussellCAS

@shon-button
Copy link
Contributor

then I get a success snackbar that says "Operator information updated.

@zoeyli-46

Hi Zoey, thanks for doing the updates...could you also make this additions:

  • clarify that the "Inside the Admin tile, the Operator link has a "action required" notification" ONLY if the associated operator is missing required fields information
  • instead of submit message "Operator information updated. Next, register your operation.", can you display the current submit message "All changes have been successfully saved"

@zoeyli-46
Copy link
Author

@shon-button yes, done added to the ticket

@shon-button shon-button self-assigned this Oct 10, 2024
@shon-button shon-button changed the title Dashboard\tiles - RETURNING operator/user sign in Dashboard\tiles -External user condition if Operator record has required fields Oct 11, 2024
@shon-button shon-button changed the title Dashboard\tiles -External user condition if Operator record has required fields Dashboard\Tiles -External user condition if Operator record has required fields Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants