Repository navigation
refactor(web): make ALL_PLANS a display-only pricing catalog - #45115
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #45115 +/- ##
=======================================
Coverage 89.79% 89.79%
=======================================
Files 6240 6239 -1
Lines 396353 396344 -9
Branches 79945 79938 -7
=======================================
- Hits 355909 355901 -8
+ Misses 34143 34142 -1
Partials 6301 6301
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
hyoban
previously approved these changes
Oct 30, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to a conflict with the base branch
Oct 30, 2026
…atalog-d60b78 # Conflicts: # web/app/components/billing/utils/__tests__/index.spec.ts # web/app/components/billing/utils/index.ts
hyoban
approved these changes
Oct 30, 2026
1 task done
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.
ALL_PLANSnow only feeds the pricing modal: drops unusedmodelProviders,teamWorkspace,documentsUploadQuota, uses'unlimited'instead ofNUM_INFINITE, and is checked withsatisfies Record<CloudPlan, PlanInfo>.plan === 'sandbox'checks into catalog values.CloudPlanFeaturesrenders grouped feature rows derived from the catalog; rows, order, separators and tooltips are unchanged, so future pricing changes only touch data and i18n.usagePage.storageThresholdTooltip; removesparseVectorSpaceToMB/getPlanVectorSpaceLimitMB.NUM_INFINITEand the now-emptybilling/utils, whose last callers moved tobilling/quota.tsin refactor(web): normalize billing quota semantics in one place #45117.Fixes SNP-1011