bcgov / cas-registration

A web app for Registration in OBPS under the Clean Growth branch
Apache License 2.0
1 stars 1 forks source link

Admin\Facilities - Internal User can view a Facility #1704

Open zoeyli-46 opened 5 months ago

zoeyli-46 commented 5 months ago

Description:

As an internal user I can see the detailed information for a facility (both SFOs and LFOs)

Acceptance Criteria:

Given I am on the operations grid When I click view facility (SFO) Then I am brought to the facilities information page, in view-only mode And there is no edit button And if there is no BCGHG ID, I can see the "Issue BCGHGID" button (it may not work yet, that's handled in https://github.com/bcgov/cas-registration/issues/2152)

Given I am on the operations grid When I click view facilities (LFO) Then I am brought to the facilities grid, Figma and when I click view facility Then I am brought to the facilities information page, in view-only mode And there is no edit button And if there is no BCGHG ID, I can see the "Issue BCGHGID" button (it may not work yet, that's handled in https://github.com/bcgov/cas-registration/issues/2152) Figma

Development Checklist:

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

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

Notes:

Dependencies

1703

BCerki commented 2 weeks ago

@zoeyli-46 , is the last AC still relevant if we're not coming from a catch-all facilities tile? When I click on the View Details link of a facility on the facilities grid, or the Facilities tile on the Operation details page Then I'm brought to the Facility Information page *Same as external view mode except with no edit button And the title says [Operator Name] [Operation Name] [Facility Name] Information so that I know which operator's operation's facility I am viewing information for

Also, could you please update the figma links? Thanks!

zoeyli-46 commented 2 weeks ago

Updated everything!

andrea-williams commented 10 hours ago

Testing steps (during PR review):

vesselak commented 7 hours ago

reviewed in dev https://cas-bciers-frontend-dev.apps.silver.devops.gov.bc.ca/onboarding No BCGHG ID issued as all facilities were complete. Please verify in #2152