bcgov / cas-reporting

This is for the Clean Growth Digital Services team for work related to reporting.
Apache License 2.0
0 stars 0 forks source link

Reporting Module: Create a table for the operations list on "Reporting" Page #217

Open mikevespi opened 2 months ago

mikevespi commented 2 months ago

Description:

Blocked by: #123

As a part of #123 we have a page showing operators a list of their operations. We need to convert this list into a table similar to the one we present operators in Registration. In the wireframe some of the columns of the table will require more backend prep. This card is focused on converting the relevant information that we are already being returned into a table, and the other columns have been split out into their own cards.

The columns the table should start with are simply:

The Registration page uses a component called OperationsDataGrid, and while it can't be directly used (the columns don't line up), the pattern can be copied. It is based on a component in the same directory (/client/app/components) called DataGrid. If this component is used / extended, it should be copied across to a common library.

Acceptance Criteria:

As a logged-in external operator, When I navigate to the Reporting module, I am presented with a table of all of my operations, their names, and BC GHG IDs

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:

-

pbastia commented 2 months ago

We might want to look into making the registration table component an Nx component

rdromey commented 2 months ago

@Mike to confirm with business area and Moose and will refine with the information.

mikevespi commented 2 months ago

A word of caution to whoever picks this up: in the return from registration/operations you'll see a status; don't be deceived and think you've got a freebie here. It's the status of registration, not reporting.

dleard commented 1 month ago

@pbastia @BallardRobinett @patriciarussellCAS I think we need a follow up card to pull our snapshot of operation/facility data on clicking "start" in this and save it to report-specific tables. I think this potentially blocks #196 (and in turn #195) (or we build out those forms/pages with no data coming from the backend)

pbastia commented 1 month ago

@dleard @BallardRobinett @patriciarussellCAS I don't think we have a "I want to create a report" user story yet, I'm guessing the freezing of that data in a report specific structure will happen there?

patriciarussellCAS commented 2 days ago

Hey @BallardRobinett and @pbastia - are all the AC checks complete? And the DODs? Just want to confirm before closing this. Thanks!