feat: add tag filter to coding agent slack tags endpoint
Closed
SW
1mo ago+242+242+012345678901234567890123456789-4-4-0123456789
Summary
- Adds optional
tagquery param toGET /api/admins/coding/slackto filter mentions by Slack user_id - Creates new
GET /api/admins/coding-agent/slack-tagsendpoint returning distinct Slack users as filter options - Adds tests for the new
getSlackTagOptionsHandler
Test plan
- Run
pnpm test lib/admins/coding-agent— all 5 tests pass - Verify
GET /api/admins/coding/slack?tag=U123returns only mentions from that user - Verify
GET /api/admins/coding-agent/slack-tagsreturns deduplicated, alphabetically sorted users
🤖 Generated with Claude Code
Summary by CodeRabbit
- New Features
- Added API endpoint to retrieve distinct Slack users who have tagged the Coding Agent bot, with automatic deduplication and alphabetical sorting.
- Added filtering capability to view Slack tags for a specific user.