Skip to content

feat: add admin view for council interest signups#732

Merged
bokelley merged 2 commits into
mainfrom
bokelley/council-interest-view
Jan 12, 2026
Merged

feat: add admin view for council interest signups#732
bokelley merged 2 commits into
mainfrom
bokelley/council-interest-view

Conversation

@bokelley

Copy link
Copy Markdown
Contributor

Summary

  • Add API endpoint GET /api/admin/working-groups/:id/interest to fetch users who expressed interest in a committee
  • Add "Interested Users" section in the admin committee management modal showing who clicked "I'm Interested"
  • Include "Add as Member" button to directly convert interested users to members without formally opening the council
  • Fix escapeJs function to properly handle newlines and control characters (XSS hardening)

Test plan

  • Navigate to Admin → Committees
  • Click "Manage" on an industry council that has interest signups
  • Verify "Interested Users" section appears with list of interested users
  • Verify "Add as Member" button adds user to members list
  • Verify users with "leader" interest level show "Wants to Lead" badge

🤖 Generated with Claude Code

bokelley and others added 2 commits January 12, 2026 15:35
- Add GET /api/admin/working-groups/:id/interest endpoint to fetch users who
  expressed interest in a committee
- Add "Interested Users" section in admin committee management modal
- Include "Add as Member" button to directly convert interested users to members
- Fix escapeJs function to properly handle newlines and control characters

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add DELETE /api/working-groups/:slug/interest endpoint to withdraw interest
- Add GET /api/me/working-groups/interests endpoint to list user's interest signups
- Add express_council_interest tool - opt into council notifications
- Add withdraw_council_interest tool - opt out of council notifications
- Add get_my_council_interests tool - list user's council interest signups

Users can now manage their council interest via Addie:
- "Sign me up for the retail media council"
- "I'm no longer interested in the sustainability council"
- "What councils have I signed up for?"

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@bokelley bokelley merged commit f209e4a 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