Skip to content

feat: add tag filtering and task count in navbar - #76

Merged
anoopcodehack merged 1 commit into
anoopcodehack:mainfrom
cyforkk:fix/tag-filter-and-task-count
Jul 29, 2026
Merged

feat: add tag filtering and task count in navbar#76
anoopcodehack merged 1 commit into
anoopcodehack:mainfrom
cyforkk:fix/tag-filter-and-task-count

Conversation

@cyforkk

@cyforkk cyforkk commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Summary

This PR resolves #74 and #75 by adding tag-based filtering and a task count indicator to the DevBoard.

Changes

Issue #74: Show total task count in navbar

  • Added a task count badge next to the DevBoard logo in the navbar
  • Shows "X tasks" (singular "task" when count is 1)

Issue #75: Clicking a tag should filter board by that tag

  • Added state to for tag-based filtering
  • Clicking a tag in filters tasks by that tag
  • Clicking the active tag again clears the filter
  • Active tag is highlighted with a purple ring
  • Added an active tag badge in the navbar with a clear button (✕)

Files Changed

    • Added activeTag state and filtering logic
    • Added onClick handler to tags
    • Added task count and active tag badge

Verification

  • Task count displays correctly in navbar
  • Clicking a tag filters tasks by that tag
  • Clicking the active tag again clears the filter
  • Active tag is visually highlighted
  • Clear button (✕) removes the tag filter

- Add activeTag state to BoardContext for tag-based filtering
- Clicking a tag in TaskCard filters tasks by that tag
- Clicking the active tag again clears the filter
- Show total task count in the navbar next to the logo
- Show active tag badge with clear button when a tag is selected

Closes anoopcodehack#74, anoopcodehack#75
@anoopcodehack

Copy link
Copy Markdown
Owner

Thanks for the contribution!
Great work implementing both features in a single PR. The task count in the navbar and the tag-based filtering improve the overall usability of the board, and I appreciate the clear summary and verification steps.
I'll merge this PR shortly. Thanks for contributing!

@anoopcodehack
anoopcodehack merged commit 0f4449e into anoopcodehack:main Jul 29, 2026
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 this pull request may close these issues.

Show total task count in navbar📢

2 participants