As a pet lover,
I want to edit the details of my pets' profiles,
so that I can correct any inaccuracies or update their information as needed.
Description
Acceptance criteria
The detailed view of each pet profile features a prominently displayed "Edit" option, perhaps represented by a pencil icon or a clearly labeled button.
Activating the "Edit" function transitions the user to an editable form view, where the existing details of the pet are presented in editable fields-
The editable form includes fields for all relevant pet details, such as: Pet Name with a character limit of 1 to 50 - characters.
The Pet Name is mandatory for form submission.
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 their changed mind.
Submissions with empty required fields are blocked, with validation messages guiding completion.
The changes are saved and updated on the details view and displayed in the list of pets.
Tasks
create feature branch feature/update-pet
create a edit button on the “Detailpage”
create a form for editing the pets
add a cancel buttton if you not want to change anything
Add a “are you sure you want to edit your pet” popup
Display the update as soon as a pet has been edited and redirect to the Detail Page
Value proposition
As a pet lover, I want to edit the details of my pets' profiles, so that I can correct any inaccuracies or update their information as needed.
Description
Acceptance criteria
Tasks