Skip to content

Add subscription pricing details, income chart, and user growth improvements#324

Merged
simonhamp merged 2 commits intomainfrom
user-growth-chart
Mar 31, 2026
Merged

Add subscription pricing details, income chart, and user growth improvements#324
simonhamp merged 2 commits intomainfrom
user-growth-chart

Conversation

@simonhamp
Copy link
Copy Markdown
Member

Summary

  • Subscription pricing column: Added price_paid to the subscriptions table with a migration and backfill command (backfill:subscription-prices) that pulls amounts from Stripe invoices
  • Admin subscription screens: Display price paid and billing interval (Monthly/Annual) on both the index table and view page
  • Subscriber income chart: Replaced the old LicensesChart with a SubscriberIncomeChart that shows monthly recurring revenue breakdown
  • User growth chart: Improved UsersChart to show subscriber vs non-subscriber breakdown over time
  • Invoice handler: Store price_paid on new subscriptions via HandleInvoicePaidJob

Test plan

  • BackfillSubscriptionPricesTest (backfill command)
  • SubscriberIncomeChartTest (new income chart widget)
  • UsersChartTest (updated user growth chart)
  • All Filament feature tests passing (49 tests)

🤖 Generated with Claude Code

simonhamp and others added 2 commits March 31, 2026 12:30
… user growth chart

- Add price_paid column to subscriptions table with migration
- Backfill command to populate price_paid from Stripe invoices
- Show price_paid and billing interval on Subscription admin screens
- Replace LicensesChart with SubscriberIncomeChart on dashboard
- Improve UsersChart with subscriber vs non-subscriber breakdown
- Store price_paid in HandleInvoicePaidJob for new subscriptions

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@simonhamp simonhamp marked this pull request as ready for review March 31, 2026 12:03
@simonhamp simonhamp merged commit 19d5ae8 into main Mar 31, 2026
1 of 2 checks passed
@simonhamp simonhamp deleted the user-growth-chart branch March 31, 2026 12:03
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