ndrbn0 / Flavion

https://flavion.vercel.app/
0 stars 0 forks source link

Edit Ingredient with Flavour Profile #6

Open ndrbn0 opened 3 months ago

ndrbn0 commented 3 months ago

Edit Ingredient with Flavour Profile

As a user, I want to edit an existing ingredient and its associated flavour profiles to update or correct information. As a culinary enthusiast,

Description

Image

Acceptance Criteria:

Tasks

NikRoe commented 3 months ago

Hi there,

as a value proposition you can use what was already given:

As a culinary enthusiast,

I want to edit the details of an ingredient and its flavour profile in the app,

so that I correct any inaccuracies and contribute to the quality and reliability of the app's content.

The same goes for the AC, using the existing ones is a lot less work and they are more precise.

- The ingredient details page includes an easily accessible "Edit" link.
- Clicking "Edit" opens a new "edit" page displaying the edit form.
- The form is pre-filled with the ingredient's existing details for modification.
- The form allows for edits to all ingredient aspects including
  - `ingredient name`,
  - `ingredient image url`,
  - `flavour tags` dropdown.
- If no image is added, a placeholder image is used.
- The form section includes options for both saving and cancelling the action.
- The cancellation option allows the user to back out of the edit process if selected by mistake or changed mind. The user is then redirected to the ingredients details page.
- Submissions with empty required fields are blocked, with validation messages guiding completion.
- Changes are saved and reflected in the ingredient list upon submitting the form.
- After submitting, the user is redirected to the ingredients details page.

Please take the VP and the AC as the basis of the User Story and only make changes when needed.

Your main task is to create the wireframes and the tasks for the User Story. Your wireframes match the given Acceptance Criteria better than the ones you noted down. So please adapt the VP and the AC.

Once that is done, this User Story is approved ✅

Cheers ✌️