Adding More Ai Quota Tiers (#32128)

* feat: adding tiers for free and standard

* feat: updating feature calculation to account for more quota tiers

* feat: rename freeTrialQuota to freeQuota

* feat: add hasAiFreeTier and hasUnlimitedAi to editor, block free tier from using workbench

* fix: updating tests

* fix: updating ordering precedence for quota tiers

* feat: bump unlimited ai fair usage to 300 uses

* fix: update workbench quota usage for unlimited plans

* feat: bump features version for ai quota split

* feat: popover should only show for relevant users on workbench, and adding upgrade notification to ineligible users

GitOrigin-RevId: e3ef38797f267677cad51d7273272623027ca330
This commit is contained in:
Jimmy Domagala-Tang
2026-03-25 21:12:23 +09:00
committed by Copybot
parent e4e4193d55
commit c87fd5c42e
14 changed files with 76 additions and 21 deletions

View File

@@ -425,10 +425,21 @@ module.exports = {
},
aiFeatures: {
freeTrialQuota: 'basic',
freeQuota: 'free',
standardQuota: 'standard',
basicQuota: 'basic',
unlimitedQuota: 'unlimited',
},
quotaGrants: {
ai: {
free: 0,
basic: 0,
standard: 0,
unlimited: 0,
},
},
groupPlanModalOptions: {
plan_codes: [],
currencies: [],