Skip to content

Add Individual/Company filtering and subscription tracking - #373

Merged
bokelley merged 2 commits into
mainfrom
bokelley/filter-individual-orgs
Dec 27, 2025
Merged

bokelley merged 2 commits into
mainfrom
bokelley/filter-individual-orgs

Conversation

@bokelley

Copy link
Copy Markdown
Contributor

Summary

  • Add Account Type filter to prospects and members pages (defaults to Companies Only) to easily exclude personal/individual workspaces
  • Update prospects API to return is_personal field for client-side filtering
  • Fix webhook to populate subscription_amount, currency, and interval from Stripe price data
  • Log subscription lifecycle events to org_activities table (subscriptions, cancellations, renewals) for sales visibility
  • Improve error handling and logging in unified users endpoint with better error visibility and timing metrics

Test plan

  • Filtering works on both pages with Companies Only as default
  • Can switch to Individuals Only or All to see individual workspaces
  • All tests pass (schemas, examples, extensions, error handling, unit tests)

bokelley and others added 2 commits December 27, 2025 10:12
- Add Account Type filter to prospects and members pages (defaults to Companies Only)
- Update prospects API to include is_personal field for filtering
- Populate subscription_amount, currency, and interval from webhooks
- Log subscription events to org_activities: subscriptions, cancellations, renewal payments
- Improve error handling and logging in unified users endpoint (better error visibility, timing metrics)

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

Co-Authored-By: Claude Haiku 4.5 <[email protected]>
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