NSS-Day-Cohort-49 / react-nutshell-state-slingers

react-nutshell-state-slingers created by GitHub Classroom
0 stars 1 forks source link

Interesting Events #3

Open JoeShep opened 3 years ago

JoeShep commented 3 years ago

Story

As a user, I should be able to enter in an event that will happen at a future date, and when that event is next on the agenda, it should be more prominent in the application

Acceptance Criteria

Given a user wants to keep track on a future event When the user clicks an affordance to enter a new event in the application Then a form should be presented to the user in which the following properties of the event can be provided

  1. Name of event
  2. Date of event
  3. Location of event

Given a user has entered in all details of an event When the user performs a gesture to save the event Then the event should be rendered in the application in the Events component And it should show the event name And it should show the event date And it should show the event location And it should show a button labeled "Show Weather"

Given a user has entered in 1, or more, events When the event component is rendered Then the next chronological event on the agenda should have bold text And it should be slightly larger in size And it should have a non-white, and non-offensive background color

Given a user wants to remove an event When the user performs a gesture to delete the event Then the event should be removed from the database And the user should be redirected to the list of events

Given a user has created some events When the user performs a gesture on the "Show Weather" button Then the weather component should display the weather for the date of the event (if possible)

luzm321 commented 3 years ago

-Events section component with create new event button affordance -New event form with save button affordance -Delete event button affordance -Events sorted in chronological order -Current/latest events styled differently (e.g., bold) -Show weather button

hcrudge commented 3 years ago