[x] Clicking on the + add trip link on the homepage leads to a form page
[x] The form page consists of the following:
[x] Heading of My Trips
[x] Form
[x] Title of the Trip: The field is required, and can contain a maximum of 30 characters
[x] Starting date: The field is required, with a datepicker that fills the field after clicking on a date
[x] Ending date: The field is required, with a datepicker that fills the field after clicking on a date
[x] City: The field is required, and can contain a maximum of 30 characters
[x] Country: The field is required, and can contain a maximum of 30 characters
[x] Image (Url): The field is optional, without a maximum of characters
[x] Description: The field is optional, with a maximum of 150 characters
[x] An add trip button
[x] A cancel link
[x] A back-link arrow
Note: When the maximum amount of characters for a form field hits its treshold, no new characters inputs are added.
[x] Clicking on the cancel link or the back-link will open a message below the form, which asks for the users next process steps either to continue or cancel adding a new trip (we might remove the feature on the backlink later, because it might not be handy for the user)
[x] If the user exits the clearance process by clicking on No, the message will disappear, the user can edit the last status of the form (we changed no to "continue")
[x] If the user exits the clearance process by clicking on Yes, the user will be lead to the homepage
[x] Clicking on the add trip button with all the required fields supplied will send the user to a new page, where the message: "Congratulations, you have a added a new trip" will be displayed. On this page there is a home link, that leads the user back to the homepage. This trip is now added to the list of trips on the homepage
[x] Clicking on the add trip button while at least one required field is not supplied will inform the user about missing entries
Note: Considering the wireframe first new trip , this task will be implemented with US4 (delete a trip). Otherwise it wouldn't be logical at this state.
Pull Request for User Story 3 - Create a trip
Acceptance criteria
+ add trip
link on the homepage leads to aform
pageform
page consists of the following:add trip
buttoncancel
linkback-link
arrowNote: When the maximum amount of characters for a form field hits its treshold, no new characters inputs are added.
[x] Clicking on the
cancel
link or theback-link
will open a message below the form, which asks for the users next process steps either to continue or cancel adding a new trip (we might remove the feature on the backlink later, because it might not be handy for the user)[x] Clicking on the
add trip
button with all the required fields supplied will send the user to a new page, where the message: "Congratulations, you have a added a new trip" will be displayed. On this page there is ahome
link, that leads the user back to the homepage. This trip is now added to the list of trips on the homepage[x] Clicking on the
add trip
button while at least one required field is not supplied will inform the user about missing entriesNote: Considering the wireframe
first new trip
, this task will be implemented with US4 (delete a trip). Otherwise it wouldn't be logical at this state.