* Revert "Revert "Adding More Ai Quota Tiers (#32128)" (#32431)"
This reverts commit f0ea19b418da6096c84b42024aea643807347649.
* fix: dont block workbench from users who have access via WF
* fix: simplify workbench access rules and ensure wf premium users can use workbench
GitOrigin-RevId: 7927248eadd906d7f802d55fa5c6bc7df162b141
* Migrating reference settings to mongo and exposing them through code mirror context
* removing undefined optional for reference manager type settings
* allowing partial updates to user settings objects, and remove repeated cypress intercepts
* Zod schema parsing for user reference manager settings
* Splitting ref provider mongoose schema into const
* Persisting local storage reference settings to mongo and deleting from local
* Enforcing ref provider group id to always be type string
* Fixing test and format errors
* Migrated flag for settings to only migrate once
* fixing cypress tests adding migrated flag
* persisting local storage to allow for easy rollback
GitOrigin-RevId: f59522bdee6f0e56efb7d98b9d9373a743619ec8
* 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
* feat: add new language suggestion keys and update suggestion card UI
* fix: update ReplacementsCard to conditionally render info button based on user welcome status
* refactor: remove AutoLoginWelcomeMessage and AutoLoginEnabledWelcomeMessage components; update AutoLoginWelcomeModal to track onboarding metrics with forcefullyEnabled prop
* fix: add 'OK' translation to welcome messages in English and Spanish
* refactor: update AutoLoginWelcomeModal to track onboarding metrics conditionally and toggle welcome popover visibility
* feat: add AutoLoginWelcomeModal component and refactor suggestion card to use it when clicking info icon
- Introduced AutoLoginWelcomeModal for displaying welcome messages.
- Updated ReplacementsCard to conditionally render AutoLoginWelcomeModal based on user state.
- Removed old AutoLoginEnabledWelcomeMessage and AutoLoginWelcomeMessage components.
- Enhanced IconButton to support both filled and unfilled icons.
* refactor: format rebrand adoption guide to avoid lint format errors
GitOrigin-RevId: 12d1f799dfff2dc3f3fbdbbdc3555894cac230aa
* removing the old ai-error-assistant-footer file
* moving the file ai-error-assistant-footer file outside of ide-redesign-folder
* moving a few files out of ide-redesign directory
* removing unused ai-error-assistant-feedback.tsx file
* moving the new file ai-error-assistant-feedback out of ide-redesign directory
* fixing some paths
* moving the old file out and using the new one
* adding lazy laoder for a file mentioned in previous PR
* adding back a image that was deleted
* fixing the artefact of rebase
* adding a class back
* removing only
GitOrigin-RevId: 21c5a6c5fd88430f5900df44c2e579ec18ec053d
* feat: adding usage rate limiting to workbench and aligning editor context values for suggestionsLeft
* feat: prepend word token to headers of token rate limiter to prevent confusion with usage rate limiter
* Shared AI paywalls (#31948)
* feat: renaming hasPremiumSuggestion and adding token limits to editor context and project load
* feat: adding new ai features paywall component
* feat: rename getRemainingFeatureUses to token based naming for token based limiter, removed checking for feature usage on anonymous users, and removed guard on null userId since we shouldnt be calling getRemainingFeatureUses on a nonexistent user
* feat: using token rate limit headers to set token rate values in editor context
* feat: update workbench to be available without refreshing if rate limit reset occurs within session
* fix: move paywall out of inert section
* Hide new paywalls behind FF and open plans page on upgrade attempt (#32023)
* feat: hide new paywalls behind FF
* feat: update ai paywall buttons to navigate to plans page post quota plans change release
* feat: showing a fair limit notificaiton pre-quota change, and updating paywall to not fire if user has premium already (#32056)
GitOrigin-RevId: 565fb128d55543fea34c383bc4abeaa3dd148d09