I want to delete a category that is no longer relevant or needed ,
so that I can maintain a clean and organised task list
Description
Acceptance Criteria
Each category in categories list is accompanied by a delete button.
Clicking the delete button triggers a confirmation dialog.
The dialog serves to prevent accidental deletions by asking the user to confirm their intention.
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 category is permanently removed from the list.
Tasks
create a branch feature/delete-category.
add a button with delete-icon to each category in the categories list page.
implement the logic to handle clicking on delete button to display a modal window with an appropriate message with confirmation prompt with "No" and "Yes" buttons.
implement the logic to delete category from the list of categories and its id from the tasks objects if it's used there upon confirmation.
implement the logic to close a modal window upon clicking on "No" button.
Delete Category
Value Proposition
As a family member,
I want to delete a category that is no longer relevant or needed ,
so that I can maintain a clean and organised task list
Description
Acceptance Criteria
Tasks
button
with delete-icon to each category in the categories list page.button
to display a modal window with an appropriate message with confirmation prompt with "No" and "Yes" buttons.id
from the tasks objects if it's used there upon confirmation.button
.