Repository navigation
Conversation
…lf to the org that pays The plan gate sent every route but onboarding to the plan picker, so an org with no plan never saw "Bill through another organization". Billing settings now renders without a plan, and the plan picker links to it.
Maple review🟢 Confidence 9/10 · safe to merge Lets an org with no plan open Settings → Billing through the plan gate, and points both plan pickers at that page with a "billed through another organization" link. The exemption is narrow and tested; safe to merge.
What was checked
|
Walkthrough
Merge Risk:
|
|
Not needed: the plan-less orgs were linked by hand instead. |
Problem
Linking an org to a billing org (#1935) happens on the member org's Settings → Billing page. But an org with no plan is redirected to the plan picker on every route except onboarding, so it can never reach that page. Every real member org is in that state.
Change
/settings?tab=billingrender without a plan. Other settings tabs still go to the plan picker./select-plan) shows "Billed through another organization? Link it in billing settings" under the pricing cards.Tests
plan-gate.test.ts: a plan-less org reaches billing settings (no redirect, no splash) while other settings tabs still redirect.🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need.Summary by CodeRabbit