feat(admin): store paid plan conversion total#2112
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Merging this PR will not alter performance
Comparing Footnotes
|
2849292 to
3c412c7
Compare
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (7)
📝 WalkthroughWalkthroughThis PR adds a new aggregated ChangesPlan Total Conversion Rate Pipeline
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 SQLFluff (4.1.0)supabase/migrations/20260510235542_add_plan_total_conversion_rate.sqlUser Error: No dialect was specified. You must configure a dialect or specify one on the command line using --dialect after the command. Available dialects: Comment |
|



Summary (AI generated)
plan_total_conversion_ratemetric toglobal_stats.Motivation (AI generated)
The admin dashboard needs a percentage conversion chart that shows total paid plan conversion and plan-by-plan conversion over time.
Business Impact (AI generated)
This makes it easier to compare which paid plans convert best and whether total paid plan conversion is improving or degrading.
Test Plan (AI generated)
bunx eslint --no-ignore src/pages/admin/dashboard/revenue.vue supabase/functions/_backend/triggers/logsnag_insights.ts supabase/functions/_backend/utils/pg.ts scripts/backfill_org_conversion_rate_trend.ts tests/admin-stripe-backfill-scripts.unit.test.tsbun test tests/admin-stripe-backfill-scripts.unit.test.tsbun typecheckbun run buildSummary by CodeRabbit
New Features
Tests