bcgov / parks-reso-admin

Day Use Pass
Apache License 2.0
4 stars 13 forks source link

Admin - Select specific dates for a special closure #350

Open JLWade opened 5 months ago

JLWade commented 5 months ago

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: