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

Implementing and Displaying Filtered Categories #1

Open
mala-eficode opened this issue Jan 22, 2025 · 0 comments
Open

Implementing and Displaying Filtered Categories #1

mala-eficode opened this issue Jan 22, 2025 · 0 comments

Comments

@mala-eficode
Copy link
Collaborator

Description:

  • As a user,
  • I want to have a field for categories in the items,
  • So that I can filter and display items based on their categories.

Acceptance Criteria:

  1. Category Field:

    • Each item should have a category field.
    • The category field should be a dropdown list with predefined categories - 'Home', 'Personal' and 'Work.
  2. Filtering:

    • Categories should be displayed as tabs on the UI.
    • When a category tab is selected, only items belonging to that category should be displayed.
  3. Displaying:

    • The filtered items should be displayed in a list or grid format under the selected category tab.
    • The UI should update dynamically to reflect the filtered items when a tab is selected.
  4. Testing:

    • Write unit tests to verify that items can be created and edited with a category.
    • Write unit tests to ensure that filtering by category works correctly.
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

No branches or pull requests

1 participant