Following #253 we will have a full stack example of how to generate an activity emissions form using the API form builder service. This card is for the next activity, Mobile Combustion. The implementation here should be very similar to the GSC activitiy page.
Acceptance Criteria:
Given I am on the mobile combustion activity form page
When I first land on the page
Then the activity schema is fetched & displayed
Given the base schema has rendered correctly
When I add a fuel
Then the fuel fields are dynamically added to the form
Given the fuel schema has rendered correctly
When I add a gas type
Then the gas fields are dynamically added to the form
Given the gas type data has been entered
When I enter a methodology
Then the fields that are conditional on methodoology are dynamically added to the form
Development Checklist:
[ ] page fetches the activity schema from the API service on initial load
[ ] Conditional fields render dynamically as data is entered
[ ] Matches the wireframe
[ ] Tested with Vitest
Definition of Ready (Note: If any of these points are not applicable, mark N/A)
[ ] User story is included
[ ] User role and type are identified
[ ] Acceptance criteria are included
[ ] Wireframes are included (if required)
[ ] Design / Solution is accepted by Product Owner
[ ] Dependencies are identified (technical, business, regulatory/policy)
[ ] Story has been estimated (under 13 pts)
Definition of Done (Note: If any of these points are not applicable, mark N/A)
[ ] Acceptance criteria are tested by the CI pipeline
[ ] UI meets accessibility requirements
[ ] Configuration changes are documented, documentation and designs are updated
[ ] Passes code peer-review
[ ] Passes QA of Acceptance Criteria with verification in Dev and Test
[ ] Ticket is ready to be merged to main branch
[ ] Can be demoed in Sprint Review
[ ] Bugs or future work cards are identified and created
Description:
blocked by #253
Wireframe:
Following #253 we will have a full stack example of how to generate an activity emissions form using the API form builder service. This card is for the next activity, Mobile Combustion. The implementation here should be very similar to the GSC activitiy page.
Acceptance Criteria:
Given I am on the mobile combustion activity form page When I first land on the page Then the activity schema is fetched & displayed
Given the base schema has rendered correctly When I add a fuel Then the fuel fields are dynamically added to the form
Given the fuel schema has rendered correctly When I add a gas type Then the gas fields are dynamically added to the form
Given the gas type data has been entered When I enter a methodology Then the fields that are conditional on methodoology are dynamically added to the form
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:
-