the-collab-lab / tcl-67-smart-shopping-list

https://tcl-67-smart-shopping-list.web.app/
3 stars 1 forks source link

adding delete item functionality #49

Closed jtkabenni closed 6 months ago

jtkabenni commented 6 months ago

Description

This feature adds the ability to delete an item in a list.

Related Issue

12

Acceptance Criteria

Type of Changes

Feature update.

Updates

Before

Screenshot 2024-03-11 at 5 35 28 PM

After

Delete button appears next to items.

Screenshot 2024-03-11 at 5 35 37 PM Confirmation dialog when items is deleted. Screenshot 2024-03-11 at 5 35 43 PM Item is removed from list once deleted. Screenshot 2024-03-11 at 5 35 47 PM

Testing Steps / QA Criteria

Confirm deletion workflow:

  1. Go to an existing list with items, or add items to a list
  2. Click the delete button on an item
  3. Confirm deletion in the confirmation dialog.
  4. Item should be deleted from list

Cancel deletion workflow:

  1. Go to an existing list with items, or add items to a list
  2. Click the delete button on an item
  3. Click 'cancel' to cancel the deletion.
  4. Item should remain in list.
github-actions[bot] commented 6 months ago

Visit the preview URL for this PR (updated for commit d60b4d6):

https://tcl-67-smart-shopping-list--pr49-feature-jt-ts-delete-r4tkas17.web.app

(expires Sun, 24 Mar 2024 05:10:53 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 1dc6f6876568bd8a1c97781eec7984835c207f7c