Open JoeShep opened 3 years ago
A click option in (maybe in the Events component) to open a form. Include Name of event, Date of event, Location of event
A click option to save and push to Events component. Events will render Name, Date, Location, and "Show Weather Button"
A click option to delete the event. Route user back to events page.
A click option to show weather (stretch goal)
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
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)