Skip to content

feat: add tag filter chips to coding agent page#23

Open
sweetmantech wants to merge 1 commit intomainfrom
feature/coding-agent-tag-filter
Open

feat: add tag filter chips to coding agent page#23
sweetmantech wants to merge 1 commit intomainfrom
feature/coding-agent-tag-filter

Conversation

@sweetmantech
Copy link
Copy Markdown
Contributor

Summary

  • Adds SlackTagOption and SlackTagOptionsResponse types to types/coding-agent.ts
  • Creates fetchSlackTagOptions fetch function for GET /api/admins/coding-agent/slack-tags
  • Creates useSlackTagOptions hook to load distinct user filter options
  • Updates useSlackTags to accept optional tag param, passed through to the API
  • Updates CodingAgentSlackTagsPage with clickable filter chips, toggle behavior, and "Clear filter" button

Test plan

  • Visit the admin coding page — filter chips should appear above the period selector
  • Click a chip to filter mentions to that user
  • Click the same chip again (or "Clear filter") to remove the filter
  • Verify the "No tags found" message shows "and filter" when a tag filter is active

🤖 Generated with Claude Code

Adds clickable user filter chips fetched from GET /api/admins/coding-agent/slack-tags
to the coding agent admin page. Selecting a chip filters the mentions list via
GET /api/admins/coding/slack?tag=... with toggle and clear-filter support.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 24, 2026

Warning

Rate limit exceeded

@sweetmantech has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 15 minutes and 5 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: b356f472-1610-4a6c-ae10-385a4831770a

📥 Commits

Reviewing files that changed from the base of the PR and between 7939492 and 80e28e0.

📒 Files selected for processing (6)
  • components/CodingAgentSlackTags/CodingAgentSlackTagsPage.tsx
  • hooks/useSlackTagOptions.ts
  • hooks/useSlackTags.ts
  • lib/recoup/fetchSlackTagOptions.ts
  • lib/recoup/fetchSlackTags.ts
  • types/coding-agent.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/coding-agent-tag-filter

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 24, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
admin Ready Ready Preview Mar 24, 2026 2:52pm

Request Review

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.

1 participant