Refactor billing around workspace members - #73
Merged
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
React Doctor found no new issues. 🎉 Reviewed by React Doctor for commit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary\n\n- model billing around accepted workspace members instead of user-facing active or paid seats\n- remove seat counts from the billing UI and add public English and French plans and billing documentation\n- put billing in its own docs navigation section, wire the CreditCard icon, and use Fuma Docs accordions for the FAQ\n- add a batch migration for all three billing tables\n\n## Rollout\n\nThe Convex schema uses schemaValidation false only for the migration deployment because production still contains legacy billing snapshot rows. After the PR is merged, run billingMigrations:migrateBatch for each table, audit that no legacy fields remain, then restore strict schema validation and remove the migration runner in a cleanup PR.\n\n## Verification\n\n- bun run test\n- bun run check-types\n- bunx biome check .\n- production-style bun run build\n\nThe local development server is stopped.