Repository navigation
fix(account): a gate names the plan its feature needs, and a paid account is never told to buy a paid plan - #4822
Merged
Merged
Conversation
…ount is never told to buy a paid plan
datlechin
added a commit
that referenced
this pull request
Dec 1, 2026
datlechin
force-pushed
the
fix/team-library-plan-wording
branch
from
December 1, 2026 22:50
d945f46 to
f34c0eb
Compare
…sallowed types ask
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
PlanCatalog::plan_fornames the plan with the fewest features that unlocks a code. The FFI gives it asAccountService::plan_for. Signed out, no call is made.Test plan
tablepro-account:plans::tests(Team for the team features, Pro for the rest, a renewal unlocks nothing),the_plan_catalog_is_read_once_and_names_the_plan_that_unlocks_a_feature,a_current_sign_in_reads_the_plan_catalog_while_the_account_runs,signed_out_the_plan_catalog_is_not_asked_for.LicensePresentationTests: a Pro account is told Team Library and Team Catalog need Team, with Upgrade to Team; without the catalog it reads "isn't included in your plan". Changed on purpose:signedOutGate,upgradeGate,personalFreePlanandgateAlertWithActionpinnedpaidPlanRequirementand.upgrade, and now pin the new titles and.upgrade(plan:).AccountServicesTestscarries the core's plan into the state.LicenseGateTests: the notice carries the plan and whether the account has paid.tablepro-account262/262,tablepro-ffi account43/43, Windows build,TablePro.App.Model.Tests,TablePro.Interop.TestsAccountTests, Mac build, 5 account suites 112/112, iOSAccountModelTests12/12, lint, l10n.