so that I can remove an outdated or unwanted picture from my profile.
Description
Acceptance Criteria
On user's profile page from registered user, when clicking an "Edit" button on the profile image, there should be a "Delete image" button in the expanded edit-section.
Clicking on the "Delete image" button should opens the modal window with confirmation dialog.
The dialog includes options for both confirming the deletion and cancelling the action.
The cancellation option allows the user to back out of the deletion process if selected by mistake or changed mind.
Upon confirmation, the image is permanently removed from the profile.
User should receive a confirmation message indicating that the image was deleted successfully.
The feature should be responsive, ensuring it works correctly on various devices and screen sizes.
Tasks
[ ] create branch feature/delete-profile-image
[ ] create a "Delete image" button for the profile image (only for the current user)
[ ] implement logic to open a modal window with confirmation dialog when clicking the "Delete image" button.
[ ] implement logic to delete the image from cloudinary and database when clicking the "Yes" button.
Delete Profile Image
Value Proposition
As a registered user and a family member,
I want to be able to delete my profile image,
so that I can remove an outdated or unwanted picture from my profile.
Description
Acceptance Criteria
Tasks
feature/delete-profile-image
button
for the profile image (only for the current user)button
.button
.