-
Notifications
You must be signed in to change notification settings - Fork 0
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
Ar sm add list filter form #23
Conversation
Visit the preview URL for this PR (updated for commit 09f2d77): https://tcl-76-smart-shopping-list--pr23-ar-sm-add-list-filte-og3ncsb4.web.app (expires Sat, 07 Sep 2024 22:27:21 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 512b1a88be8ae05fd3e727b99332819df760271d |
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.
Pulled the most recent code for this issue and tested the filter. Everything works and great job with the implementation. I had seen that there was two useEffects but that was already covered and fixed. Great job guys! I like the fact that the filter works regardless of whether I type in upper or lower case.
Description
User can now search for items in their shopping list by searching part of the word or list item. The list displayed is an unfiltered list, and it filters once the user begins typing in the input. The user can use the Clear button to clear the input box.
Related Issue
closes 7
Acceptance Criteria
[x] The form includes the following elements List view, above the shopping list
[x] A text field (with semantic !) which narrows down the list as the user types
When there’s text in the field, some kind of button (e.g., an X) to clear the field. When the field is cleared, the list is reset to its unfiltered state.
Type of Changes
feature
enhancement
Updates
Before
After
Testing Steps / QA Criteria
Visit branch and have a list ready, type letters in the input, and matching words should display, and the clear button should clear the input and the unfiltered list should display.