Skip to content

17. As a user, I want to be able to delete a selected list #36

Open
@trushmi

Description

@trushmi

Summary:

To improve the user experience and allow users to keep their lists tidy, implement functionality that allows users to delete a selected list directly within the UI.

Acceptance criteria:

  • On the home page, add a delete button to every list the user has on the home page.
  • If the user clicks delete, the system should show a message asking if the user is sure they want to delete the list and inform them that all items in the selected list will also be deleted. If the user confirm their choice, delete the list along with all its items.
  • Create a deleteList function in firebase.js to remove a list from the Firestore database.

Notes:

Activating the "Delete" button should prompt a confirmation dialog. We want to give users a chance to confirm "destructive" actions.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions