Skip to content
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

7. As a user, I want to filter my shopping list to make it easier to locate an item in the list #7

Closed
2 tasks done
fullybaked opened this issue Jan 29, 2024 · 0 comments · Fixed by #23
Closed
2 tasks done
Assignees

Comments

@fullybaked
Copy link
Contributor

fullybaked commented Jan 29, 2024

Summary

Allowing users to search through their list will help them cut down on clutter and focus on items they’re looking for.

Acceptance criteria

  • A form is added to the top of the List view, above the shopping list
  • The form includes the following elements
    • A text field (with semantic <label>!) 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.

Notes

  • You will know your <label> is correctly implemented if you click on the label and keyboard focus moves to the related input. Refer to the MDN docs on <label> for more info.
  • The filter text should match any part of the item name (e.g., it should not only match from the start of the string)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants