As a User interested in natural health recipes,
I want to create and store new recipes,
so that I can keep track of my homemade solutions and use them whenever needed.
Description
Acceptance criteria
[ ] The form is headlined "Add Recipe".
[ ] The form must include labeled fields for recipe
[ ] title,
[ ] ingredients,
[ ] preparation,
[ ] usage,
[ ] symptoms with a dropdown for selection,
[ ] Upon form submission, when clicking an "add recipe"-button, the new recipe is added to the top of the recipes list and the user is redirected to the RecipesList.
Tasks
[x] Create feature branch feature/create-recipes
[x] Create a component RecipeFormPage
[x] Within the RecipeFormPage use a RecipeForm component.
[x] Implement textfields for title, ingredients, preparation and symptoms and a min/ max value for each string length.
[x] For the ingredients field implement logic to split input by commas into an array of ingredients
The first point of acceptance criteria is not implemented. Wouldn´t it be better to implement the “Add-Button“ into the “Nav-Bar“ that exists already?!
Because many of the fields are mandatory, we suggest to delete the asterix at title and ingredients, because it is a little bit confusing
When you add a title and click on submit the cursor jumps to preparations and not to ingredients.
Acceptance criteria 4 isn´t implemented
Acceptance criteria 5 isn´t implemented. We suggest that you did it on purpose. It´s ok for us
Value proposition
As a User interested in natural health recipes, I want to create and store new recipes, so that I can keep track of my homemade solutions and use them whenever needed.
Description
Acceptance criteria
title
,ingredients
,preparation
,usage
,symptoms
with a dropdown for selection,Tasks