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 - External User can select "Registration Purpose\Electricity Import Operation" to see a simplified version of registration #1962

Open andrea-williams opened 2 months ago

andrea-williams commented 2 months ago

Dependencies

Description:

EIOs are a somewhat unique type of operation in the sense that they don't have the concept of a facility, so we need to modify the registration workflow to suit them.

Acceptance Criteria:

Given I am an authenticated external user When I select "Electricity Import Operation" as my registration purpose (step 1) Then I see a simplified version of the registration workflow with only the data fields that are relevant to EIOs (a stripped-down version of the Operation form, no Facility form at all)

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:

BCerki commented 1 month ago

@Sepehr-Sobhani , were you involved in the writing of this one? Do you know if those TBDs are decided yet?

Sepehr-Sobhani commented 1 month ago

I was not involved, and I am not quite sure about the first TBD, but for the second one, I think we can adjust our schemas and add some custom validation logic to enforce required fields based on the purpose.

andrea-williams commented 1 month ago

for the first TBD (but a new Facility is still created in our database for the EIO (facility name should be set to the operation's name; facility type is "Electricity Import"; facility address should be set to the operation's address; lat/long of largest emissions - TBD)) - this may be a question for the business area. Possible solutions I can think of are:

cc'ing @hannavovk and @zoeyli-46

patrickisaac commented 1 month ago

Aug. 13 Refinement Notes:

hannavovk commented 3 weeks ago

Confirmed with business area that lat/long coordinates are not needed for EIOs. BA is in agreement with making lat/long coordinates optional in the database so that the "facility" for the EIO just doesn't have them, as long as the SFOs and LFOs still have to enter them. (cc @andrea-williams, @zoeyli-46 )