Skip to content

Conversation

@bokelley
Copy link
Contributor

@bokelley bokelley commented Jan 2, 2026

Summary

  • Fix full_name in unified_contacts view to fall back to Slack name or email username when WorkOS first/last name is empty
  • Fallback order: WorkOS name → Slack real name → Slack display name → email username

Test plan

  • Run migration
  • Verify contacts with empty WorkOS names now show Slack names or email usernames

🤖 Generated with Claude Code

bokelley and others added 2 commits January 1, 2026 21:44
When WorkOS users have empty first_name/last_name, fall back to:
1. Slack real name
2. Slack display name
3. Email username (before @)

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

Co-Authored-By: Claude Opus 4.5 <[email protected]>
- Fix active customers count (was showing 0) by using actual
  subscription_status column from Stripe webhooks instead of
  computing it from subscription_current_period_end
- Replace MRR with ARR as primary metric (more useful for
  annual subscriptions)
- Add new bookings (30 days) stat
- Properly calculate MRR (annual/12) and ARR (monthly*12)

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

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@bokelley bokelley force-pushed the bokelley/test-engagement-scoring branch from 0ea09b6 to c8da02c Compare January 2, 2026 02:01
- Remove redundant Customer Health section (covered by Contacts page)
- Fix Revenue by Month to use correct view columns (gross_revenue,
  refunds, net_revenue, paying_customers)
- Revenue by Product already matches view schema

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

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@bokelley bokelley merged commit 155bfb4 into main Jan 2, 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