Given that I am a DUP admin user,
When I go to the park edit page
Then I see a toggle for special closure.
Given that I am a DUP admin user,
When I toggle park status to "special closure"
Then a wysiwyg text box opens where I can type in a message for the public page AND a calendar opens where I can select start and end times for this status.
Given that I am a DUP admin user,
When I save the special closure edits on the park edit page,
Then the park has new status of special closure, greys out "passes required" status toggle, and saves closure dates.
Given that I am a DUP admin user,
When a special closure is set to expire on a park (a specific date)
Then I do not need to do anything and it automatically goes back to "passes required" status.
Development Checklist:
[ ] ...
[ ] ...
[ ] ...
Dependencies
Blocked by #347
Blocking
for first iteration of this we will not have any dates specified to automate on/off of closure and will manually set status and deal wtih passes available booking times through facilities
Wireframe(s):
Workflows:
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
[ ] Design / Solution is accepted by Product Owner
[ ] Dependencies are identified (technical, business, regulatory/policy)
[ ] Story has been estimated (under 13 pts)
Definition of Done
In progress:
[ ] Acceptance criteria are tested (Functionality meets the acceptance criteria defined in the ticket)
[ ] UI meets accessibility requirements
[ ] Unit tests are written
[ ] Work is traceable in GitHub
[ ] PR linked to ticket number
[ ] If needed/required - Dev adds flag/label to highlight any migration steps necessary prior to PROD deployment
Code review:
[ ] Code is peer reviewed and has passed CI/CD tests
QA:
[ ] Acceptance criteria are tested (Functionality meets the acceptance criteria defined in the ticket)
[ ] Code is potentially shippable to the production environment
[ ] Functional features have been tested and passed by QA
[ ] UI components tested by designer
[ ] Code is deployed to PROD when moved to 'done' column (unless requested otherwise by PO)
PO Review:
[ ] Acceptance criteria are tested (Functionality meets the acceptance criteria defined in the ticket)
Description:
As an admin user, I want to be able to mark specific dates for a special closure on a park in DUP so that it's easier to manage these scenarios.
more info: https://bcgov.sharepoint.com/:w:/r/teams/08548/_layouts/15/Doc.aspx?sourcedoc=%7B6BF96516-551C-4FA0-AA65-4E5ACFB03C7F%7D&file=DUP%20-%20Special%20Closures.docx&action=default&mobileredirect=true
Acceptance Criteria:
Given that I am a DUP admin user, When I go to the park edit page Then I see a toggle for special closure.
Given that I am a DUP admin user, When I toggle park status to "special closure" Then a wysiwyg text box opens where I can type in a message for the public page AND a calendar opens where I can select start and end times for this status.
Given that I am a DUP admin user, When I save the special closure edits on the park edit page, Then the park has new status of special closure, greys out "passes required" status toggle, and saves closure dates.
Given that I am a DUP admin user, When a special closure is set to expire on a park (a specific date) Then I do not need to do anything and it automatically goes back to "passes required" status.
Development Checklist:
Dependencies
Wireframe(s):
Workflows:
Definition of Ready (Note: If any of these points are not applicable, mark N/A)
Definition of Done
Notes: