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

Activity page - General Stationary Combustion (non-compression and non-processing) #303

Open dleard opened 1 month ago

dleard commented 1 month ago

Description:

Wireframe:

Following #253 we have a full stack example of how to generate an activity emissions form using the API form builder service.The implementation here will be really similar to GSC - without line tracing. Most of the needed database records will already exist.

Documentation on the full stack steps necessary to create an activity page are in our docs

Use the excel file (BCIERS Reporting Fields V2 in the SME channel files - Reporting App directory) provided by IRC to determine what the necessary activity, source type, gas type, methodology, reporting fields & related configurations that need to be added are.

Acceptance Criteria:

Given I am on the GSC non-compression activity form page When I first land on the page Then the activity schema is fetched & displayed

Given the schema has rendered correctly When I make selections that have dependencies (gas type, methodology) Then the correct options and fields as defined from the configuration are shown

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:

-

dleard commented 1 month ago

temporarily blocking this as there are going to be 2 source types added to this activity. Should get an update on this soon & we can unblock it

patriciarussellCAS commented 3 weeks ago

@pbastia can you please share the URL so I can review? Thanks!

pbastia commented 3 weeks ago

@patriciarussellCAS yes! This should be deployed at /reporting/reports/1/facilities/1/activities/gsc_non_compression_non_processing

patriciarussellCAS commented 2 weeks ago

Tagging @suhafa for design review My notes:

@pbastia

patriciarussellCAS commented 1 week ago

Review notes: @pbastia

Image

dleard commented 1 week ago

The bug & the unit/classification fields have been fixed/handled in #349 (pending dev review). Only the fuel name will be a dropdown, classification and units will automatically be fetched from the database on fuel selection & shown in read-only fields

suhafa commented 1 week ago

Design review: Not much I can add that hasn't already been captured, but I think we need to ensure the 'Add Emissions' button falls in line with the 'Emissions' information as the hierarchy of information and action is confusing currently in the app. Here is what it looks like in the designs: Image Here is what it is currently looking like: Image

The distinction needs to be made clear

suhafa commented 1 week ago

Another note, upon selection of the second item, the page extends out far and wide. It all needs to be a fixed width: Image

It is also compressing the task list awkwardly Image

patriciarussellCAS commented 2 days ago

Still getting the error when selecting the 2nd checkbox. Will wait for #349 to get through before approving.