Skip to content

Conversation

@bokelley
Copy link
Contributor

@bokelley bokelley commented Jan 4, 2026

Summary

  • Sort organizations by user_count descending in domain health table for consistent display order
  • Add warning in merge preview when secondary org has more members than primary, helping users make informed decisions about which org should be primary during merges

Test plan

  • Verify domain health page shows organizations sorted by user count (highest first)
  • Verify merge preview modal shows warning when secondary has more members
  • Verify dropdown options in domain health table are consistently ordered

🤖 Generated with Claude Code

bokelley and others added 2 commits January 3, 2026 21:35
- Sort organizations by user_count descending in domain health table for consistent display
- Add warning in merge preview when secondary org has more members than primary
- Helps users make informed decisions about which org should be primary during merges

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

Co-Authored-By: Claude Opus 4.5 <[email protected]>
- Score orgs by value: Stripe customer (100pts), active subscription (50pts),
  revenue history, member count, working group participation, member profile
- Show 🔴 SWAP RECOMMENDED warning when secondary has higher value
- Include has_stripe and subscription_status in domain health API for frontend sorting
- Frontend sorts orgs by value score, not just member count

This ensures paying members and engaged orgs are always recommended as primary.

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

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@bokelley bokelley merged commit 3a5cd30 into main Jan 4, 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.

2 participants