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

Reporting\Breadcrumbs - simplified #352

Open
4 tasks
suhafa opened this issue Sep 20, 2024 · 1 comment
Open
4 tasks

Reporting\Breadcrumbs - simplified #352

suhafa opened this issue Sep 20, 2024 · 1 comment
Labels
attn: Product Owner Blocked issue, PO Deletion Candidate Ticket that could potentially be removed pending consensus Estimation Tickets that need to be estimated User Story A User Story issue type

Comments

@suhafa
Copy link

suhafa commented Sep 20, 2024

Describe the task

Currently, the app displays the breadcrumbs in reporting as so:
Image
However, the designs do not define the need of displaying each single page in reporting in the breadcrumbs as this can get long and extensive.
Simply showing this is enough
Image
The other items showing the path should be hidden.

Acceptance Criteria

Given I am an Industrial Reporter submitting an annual report
When I navigate through the report sections
The breadcrumbs always display Dashboard> Reporting > Reports > [Report Year] Report: [Operation Name]

Development Checklist:

  • In file cas-registration/bciers/apps/reporting/src/app/components/datagrid/models/operations/operationColumns.tsx and query parameters to send report year and Operation name in router url
  • In file cas-registration/bciers/libs/components/src/navigation/Bread.tsx add logic to mask the pathname from the breadcrumbs if path includes Dashboard> Reporting > Reports > [Report Year] Report: [Operation Name]
  • In route pages within folder cas-registration/bciers/apps/reporting/src/app/bceidbusiness/*/reports/[version_id]/* update Save and Continue button to use existing query parameters , as example:
  const searchParams = useSearchParams();
  const queryString = serializeSearchParams(searchParams);
  const saveAndContinueUrl = `/reports/${version_id}/attachments${queryString}`;
  • In files in cas-registration/bciers/apps/reporting/src/app/components/taskList/* update the multitask constant to accept a querystring parameter obtained from the client side page importing the multitask constant
@suhafa suhafa added Design Backlog Outstanding Design issues for completed tickets Task For work that doesn't meet the requirements of a user story labels Sep 20, 2024
@suhafa suhafa added this to the Design Milestones milestone Sep 20, 2024
@patriciarussellCAS patriciarussellCAS changed the title Breadcrumbs visibility of the path needs to be more streamlined and simplified Design Backlog: Breadcrumbs visibility of the path needs to be more streamlined and simplified Sep 23, 2024
@shon-button shon-button removed the Design Backlog Outstanding Design issues for completed tickets label Nov 27, 2024
@shon-button shon-button changed the title Design Backlog: Breadcrumbs visibility of the path needs to be more streamlined and simplified Reporting\Breadcrumbs - streamlined and simplified Nov 27, 2024
@shon-button shon-button self-assigned this Nov 27, 2024
@shon-button shon-button changed the title Reporting\Breadcrumbs - streamlined and simplified Reporting\Breadcrumbs - simplified Nov 28, 2024
@shon-button shon-button removed their assignment Dec 12, 2024
@shon-button shon-button added the Estimation Tickets that need to be estimated label Dec 12, 2024
@rdromey rdromey added User Story A User Story issue type Deletion Candidate Ticket that could potentially be removed pending consensus attn: Product Owner Blocked issue, PO and removed Task For work that doesn't meet the requirements of a user story Tech Debt labels Dec 18, 2024
@patriciarussellCAS
Copy link

Would this ticket help resolve the issue found in UAT ticket #464 related to breadcrumbs?
In the SFO workflow it is displaying "facilities" in the breadcrumbs when it shouldn't.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
attn: Product Owner Blocked issue, PO Deletion Candidate Ticket that could potentially be removed pending consensus Estimation Tickets that need to be estimated User Story A User Story issue type
Projects
None yet
Development

No branches or pull requests

4 participants