-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ap sm delete item #33
Conversation
Visit the preview URL for this PR (updated for commit 334f1f3): https://tcl-68-smart-shopping-list--pr33-ap-sm-delete-item-oljvk08l.web.app (expires Sun, 24 Mar 2024 01:48:02 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 8cb5d089a99ba9972009993f4dd31796b0cbda84 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! I do have one nit: I think the delete button could be made more accessible since we're using an X for the text of the button, and it might not be 100% clear. Check out this article on accessible buttons that I found. Otherwise, lovely work as always!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🎉
995d3eb
Very valid nit and likely good practice to incorporate the accessibility assessment throughout the whole process! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Description
deleteHandler
function for the buttom to trigger user confirmation window, then thedeleteItem
function.deleteItem
function infirebase.js
Note: While completing this issue, lead to potential creation of new tickets (deleting lists, user feedback/error handling UI)
Related Issue
Closes #12
Acceptance Criteria
ListItem
component renders a button that allows the user to delete an item from their list when clickeddeleteItem
function inapi/firebase.js
has been filled out, and deletes the item from the Firestore databaseType of Changes
new feature
Updates
Before
After
Testing Steps / QA Criteria
ap-sm-delete-item
.