Skip to content

feat: Implement billing with seat management, plan/usage settings and onboarding flow#1304

Merged
charlesvien merged 32 commits intomainfrom
03-17-implement_billing
Apr 17, 2026
Merged

feat: Implement billing with seat management, plan/usage settings and onboarding flow#1304
charlesvien merged 32 commits intomainfrom
03-17-implement_billing

Conversation

@charlesvien
Copy link
Copy Markdown
Member

@charlesvien charlesvien commented Mar 20, 2026

Problem

No billing support existed, users couldn't view plans, manage subscriptions or see usage.

Changes

  1. Add seat store with auto-provisioning gated behind posthog-code-billing feature flag
  2. Add Plan & Usage settings page wired to gateway usage endpoint (percentage-based display)
  3. Rework onboarding flow to combine org/project picker into a single step
  4. Add upgrade confirmation dialog with plan feature breakdown
  5. Move region types and URL helpers to shared packages for cross-process reuse
  6. Remove dead code (selectedPlan, selectedOrgId, initializeOAuth, BillingStep)

How did you test this?

Manually

Copy link
Copy Markdown
Member Author

charlesvien commented Mar 20, 2026

Base automatically changed from 03-16-docs to main March 20, 2026 22:03
@charlesvien charlesvien changed the title Implement billing feat: Implement billing Mar 20, 2026
@charlesvien charlesvien force-pushed the 03-17-implement_billing branch 3 times, most recently from 4974f34 to 16d3917 Compare March 24, 2026 08:55
@charlesvien charlesvien force-pushed the 03-17-implement_billing branch 4 times, most recently from b306b34 to 1aae83b Compare April 7, 2026 03:54
@charlesvien charlesvien closed this Apr 7, 2026
@charlesvien charlesvien reopened this Apr 7, 2026
@charlesvien charlesvien force-pushed the 03-17-implement_billing branch from 1aae83b to 6dfe5c9 Compare April 8, 2026 07:40
@charlesvien charlesvien marked this pull request as ready for review April 8, 2026 08:55
@charlesvien charlesvien changed the title feat: Implement billing feat: Implement billing with seat management, plan/usage settings and onboarding flow Apr 8, 2026
@charlesvien charlesvien force-pushed the 03-17-implement_billing branch 9 times, most recently from 9d9094f to 5c4a651 Compare April 16, 2026 20:49
@charlesvien charlesvien force-pushed the 03-17-implement_billing branch from a337368 to 3073a6f Compare April 16, 2026 22:03
@charlesvien charlesvien merged commit 728ac79 into main Apr 17, 2026
16 checks passed
@charlesvien charlesvien deleted the 03-17-implement_billing branch April 17, 2026 08:32
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