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

Reg\Register an Operation\Page "Operation Information" - External user can register the operation #1694

Open zoeyli-46 opened 2 months ago

zoeyli-46 commented 2 months ago

Dependencies

Description:

As an industry user, given that the operation has been added to my operator, I can register the operation.

Figma

Acceptance Criteria:

Given I am on the first page of the registration form When I click on the Operation dropdown, Then the list of operations will only show operations that have been added but not yet registered (this dropdown was implemented in #1899 but it's not yet filtered on registration status)

Given that I selected an operation from the dropdown, Then the operation form of the selected operation will appear, so that I can review the information and be able to edit it

Given that I am on the operation information page of the New Registration form, When I click on the Add a New Operation button Then I can see an empty operation form in edit mode, so that I can fill it out

~Given that I selected EIO as my registration purpose Then I see fewer fields on the operation information form. I only see~

Development Checklist:

Changes to make to Operation data model:

Changes to make to document_type data model:

Changes to make to bc_obps_regulated_operation data model:

Create new enum class Registration Category:

Changes to make to operation_ownership_timeline data model (repurposing this - it turns out we don't need to track ownership of an operation, but we do need to track who the "designated operator" of an operation is, which can change):

Changes to make to facility_ownership_timeline data model (repurposing this - as with operations, we don't need to track facility ownership, but rather just what operation the facility belongs to, which can change over time):

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:

patrickisaac commented 2 months ago

Potential to be broken down into multiple user stories

BCerki commented 2 months ago

We'll need to figure out how to do the snapshot thing in the db

andrea-williams commented 2 months ago

Update AC based on pending decisions from business area

patrickisaac commented 1 month ago

Splitting into multiple stories by @zoeyli-46

shon-button commented 3 weeks ago

Deletion Candidate Reason:

Registration purpose and operation info steps have been combined into a single step

PR: https://github.com/bcgov/cas-registration/pull/1990 Ticket: https://github.com/orgs/bcgov/projects/122/views/2?filterQuery=&pane=issue&itemId=69561695

BCerki commented 3 weeks ago

Deletion Candidate Reason:

Registration purpose and operation info steps have been combined into a single step

PR: #1990 Ticket: https://github.com/orgs/bcgov/projects/122/views/2?filterQuery=&pane=issue&itemId=69561695

I think we still need this one. I was trying not to wildly expand the scope of the one I'm working on, so I'm only adding the 'select operation' part, not the add part.

Image

BCerki commented 3 weeks ago

@zoeyli-46 and @shon-button I've updated this ticket