SimonPaske / My-First-Agile-Project

0 stars 0 forks source link

User Story include a poll on the home page #1

Open SimonPaske opened 1 year ago

SimonPaske commented 1 year ago

In order to collect users' feedback as a administrator, I can publish a poll

SimonPaske commented 1 year ago

Acceptance Criteria:

  1. Set the expiring time at least to 36 hours.
  2. The poll should disappear at 17:59 PM on the target date
  3. 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.

Tasks:

[] Update the admin module view: the poll design (HTML and CSS) to include a date picker [] Update the website view: show "Stay tuned, a new poll is coming soon" [] Create a Javascript function to validate that the expiry date is at least after 3 days. [] Create a job to check expired Polls every day at 11:59 PM and Hide them [] Update the controller function [] Update unit test scripts [] Test the functionality