Skip to content

feat: add unified user counts to accounts list and Addie tools#735

Merged
bokelley merged 1 commit into
mainfrom
bokelley/accounts-slack-users
Jan 12, 2026
Merged

feat: add unified user counts to accounts list and Addie tools#735
bokelley merged 1 commit into
mainfrom
bokelley/accounts-slack-users

Conversation

@bokelley

Copy link
Copy Markdown
Contributor

Summary

  • Add combined user count (website members + Slack-only users) to accounts list and detail pages
  • Add "Users" column to accounts table with "Most Users" tab for sorting
  • Add list_organizations_by_users Addie tool for ranking organizations by total user count
  • Add list_slack_users_by_org Addie tool for viewing Slack users by organization
  • Include Slack-only count breakdown in get_account Addie response

Test plan

  • Verify accounts list shows correct user counts (member_count + slack_only_count)
  • Verify "Most Users" tab sorts accounts by combined user count
  • Verify account detail page shows unified Users section
  • Test Addie: "which companies have the most users?"
  • Test Addie: "who from [company] is in Slack?"

🤖 Generated with Claude Code

- Add combined user count (members + Slack-only) to accounts list API
- Add Users column to accounts table with Most Users tab view
- Combine Members and Pending Slack Users into unified Users section on detail page
- Add list_organizations_by_users Addie tool for ranking orgs
- Add list_slack_users_by_org Addie tool for viewing org Slack users
- Include Slack-only count in get_account response
- Add LIKE metacharacter escaping for SQL security
- Add member_status input validation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@bokelley bokelley merged commit 9ba3b08 into main Jan 12, 2026
6 checks passed
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