As a BC Parks Admin user, I would like to make a minor edit to a site that has an established status so that it can be up-to-date.
Acceptance Criteria:
Given that I am a BC Parks Admin User
When I click the edit button on a Site that has an Established status,
then I see a dropdown with different edit options: Minor edit, Legal name, Repeal
Given that I am a BC Parks Admin User
When I click the Minor edit button in the dropdown
then I am taken to the edit view for making a minor edit
Given that I am a BC Parks Admin User
When I make edits to the form and complete all valid fields
then I can save my changes when the Save button is enabled.
Given that I am a BC Parks Admin User
When I click the Save button after editing a form
then I see a toast message displayed (either success or error toast)
Given that I am a BC Parks Admin User
When I click on the Details button after making changes
Then I see a warning displayed, then I am taken back to the 2.0 View Site Record page
Development Checklist:
[x] The details button takes user back to the _2.0 View Site Record screen.
[x] Upon clicking the details button, if changes have been made, display a warning.
[x] This form is the same as the Minor Edits form for Protected Areas. All design and behaviours should be duplicated from that page.
[x] Current legal name checkbox:
[x] If the Site's Legal Name and Display Name are currently the same, default this check box to checked, and don't display Display Name field.
[x] If the Site's Legal Name and Display Name are different, default this box to unchecked, and display the Display Name field populated with the current Display Name.
Description:
As a BC Parks Admin user, I would like to make a minor edit to a site that has an established status so that it can be up-to-date.
Acceptance Criteria:
Given that I am a BC Parks Admin User When I click the edit button on a Site that has an Established status, then I see a dropdown with different edit options:
Minor edit
,Legal name
,Repeal
Given that I am a BC Parks Admin User When I click the Minor edit button in the dropdown then I am taken to the edit view for making a minor edit
Given that I am a BC Parks Admin User When I make edits to the form and complete all valid fields then I can save my changes when the Save button is enabled.
Given that I am a BC Parks Admin User When I click the Save button after editing a form then I see a toast message displayed (either success or error toast)
Given that I am a BC Parks Admin User When I click on the Details button after making changes Then I see a warning displayed, then I am taken back to the 2.0 View Site Record page
Development Checklist:
Legal Name
andDisplay Name
are currently the same, default this check box to checked, and don't displayDisplay Name
field.Legal Name
andDisplay Name
are different, default this box to unchecked, and display theDisplay Name
field populated with the currentDisplay Name
.Wireframe(s): 2.1.1.1a Make Minor Edits to Site (Established Status) https://www.figma.com/file/qdjegD6YHWZPlyFT8dGXvk/Data-Register?type=design&node-id=3842%3A13558&mode=design&t=zk1gqGE2sJkNs6Ea-1
Workflows: 'Process Flow - Make Minor Edit to Site': https://www.figma.com/file/qdjegD6YHWZPlyFT8dGXvk/Data-Register?type=design&node-id=3898%3A2480&mode=design&t=zk1gqGE2sJkNs6Ea-1
'User Flow - Site Name - View, Edit https://www.figma.com/file/qdjegD6YHWZPlyFT8dGXvk/Data-Register?type=design&node-id=3898%3A2585&mode=design&t=zk1gqGE2sJkNs6Ea-1
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:
Dependencies