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

As an Industry Reporter, I want a step to review my Operation information so that it is accurate for the current report #196

Closed suhafa closed 2 months ago

suhafa commented 6 months ago

Description:

Derived from reporting user story miro board. Users will come in the Reporting module and need to confirm that their operation information (for reporting purposes) are accurate. This information will get pulled from Registration but will be editable to match what is required for the reporting year.

Figma Design

Acceptance Criteria:

Given I am a Industry Reporter on the Reporting Dashboard page When I click on "Start" for an Operation's report Then I am taken to the "Review Operation Information" page.

Given I am a reporter When I am confirming my operation information Then I can make edits to the information presented

Given I am a reporter When I am confirming my operation information Then I can save the changes using the save button (without impacting the original data in registration!)

Given I am a reporter When I am satisfied with the operation data Then I can click confirm, my data is saved and I am directed to the next step (confirm facility data)

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:

-

patriciarussellCAS commented 4 months ago

Display, refresh, edit - need API tickets for this. This snapshot should pull ALL required fields from Registration for reporting, even though there are two "pages" or "steps" here (review operation and then review facility data). #195

suhafa commented 4 months ago

Tagging @mikevespi @pbastia to review or create any suitable API tix!

pbastia commented 4 months ago

~@suhafa @patriciarussellCAS @mikevespi https://github.com/bcgov/cas-reporting/issues/243~ nevermind!

patriciarussellCAS commented 3 months ago

Could @pbastia or @dleard review the AC we've written above. I think this card is refined but want to make sure Devs agree :)

patriciarussellCAS commented 3 months ago

@BallardRobinett can you confirm if this has already been started? If not we'll prep it for next sprint! thanks.

BallardRobinett commented 3 months ago

nope, has not been started by me

pbastia commented 2 months ago

@BallardRobinett we have an answer from @suhafa for the multi-select options:

It will be a multi-select, similar to this: https://mdbootstrap.com/docs/standard/extended/multiselect/ There are other instances where multi-select is required

mui has their own implementation: https://mui.com/material-ui/react-select/#checkmarks

suhafa commented 2 months ago

Needs designer review

patriciarussellCAS commented 2 months ago

https://[cas-bciers-frontend-dev.apps.silver.devops.gov.bc.ca/reporting/operations](https://cas-bciers-frontend-dev.apps.silver.devops.gov.bc.ca/reporting/operations) Table is there, but no records found.

BallardRobinett commented 2 months ago

URL for testing:

http://cas-bciers-frontend-dev.apps.silver.devops.gov.bc.ca/reporting/operations/[version_id]/review-operator-data

where [version_id] is the version id of the report you want to use

patriciarussellCAS commented 2 months ago

Thanks @BallardRobinett -what options are there for versions? *I think I figured it out (used version1)

BallardRobinett commented 2 months ago

Yeah I usually used version_id = 1 to test, after making a report using the API. That value is supposed to come from the previous page which lists all the users operations and has the option to start/continue a report

suhafa commented 2 months ago

Thanks for your work on this @BallardRobinett ! Nice to see our very first reporting form page :) Here are some design review notes:

  1. The blue information blurb links back to registration, with the last word 'registration' as a hyperlink that takes you to your registration dashboard. Could we implement this at this point of time?
  2. BORO ID and BCGHG ID are greyed out and meant to be auto-populated with information we will have on the user. It can't be edited. Can we visually reflect this? In Figma, we have #F2F2F2 (bc-background-grey) fill such fields
  3. The button placement, stylization and sizing at the end are different than in Figma: Image Here is the same in Figma: Image
  4. I wasn't able to test out whether Reporting Activities, Regulated Products, Operation representative were multi-select drop-downs where we can select more than one entry
  5. The header of the form looks different than what we have in Figma. I do believe we have this styled component we can borrow from Moose

Image

patriciarussellCAS commented 2 months ago

I have created a follow-up design review ticket for this, so will close this issue.