In order to automatically hide the poll as an administrator, I can pick the expiry date while publishing the poll.
Acceptance Criteria
Acceptance Criteria 1: The poll should disappear at 11:59 PM on the target date
Acceptance Criteria 2: The real estate of the "Poll" should be reserved on the home page. A message that says "Stay Tuned, a new poll is coming soon" should appear if no other Poll is active.
Acceptance Criteria 3: The administrator expiry date should be at least 3 days after the current date.
Tasks
[ ] Update the admin module view: the poll (HTML and CSS) to include date picker
[ ] Update the website view: show "Stay Tuned, a new poll is coming soon"
[ ] Create Javascript function to validate the expiry date is at least after 3 days.
[ ] Create a job to check expired Polls everyday at 11:59 PM and hide them
In order to automatically hide the poll as an administrator, I can pick the expiry date while publishing the poll.
Acceptance Criteria
Tasks