-
Notifications
You must be signed in to change notification settings - Fork 618
[service-utils] Add platform, SMS, and pay capabilities to TeamCapabilities type #7210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[service-utils] Add platform, SMS, and pay capabilities to TeamCapabilities type #7210
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
🦋 Changeset detectedLatest commit: a068bd9 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
WalkthroughThis change restructures the billing and pricing plans across the dashboard, replacing the "accelerate" plan with "scale" and introducing a new "pro" plan. It updates plan features, pricing, and display logic, as well as related type definitions and capability schemas. Additional capabilities are added to the team schema and mocks. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant DashboardUI
participant PricingUtils
participant TeamCapabilities
User->>DashboardUI: View pricing or onboarding
DashboardUI->>PricingUtils: Fetch available plans
PricingUtils-->>DashboardUI: Return updated plans ("starter", "growth", "scale", "pro")
DashboardUI->>TeamCapabilities: Check team plan and capabilities
TeamCapabilities-->>DashboardUI: Return capabilities (including new platform, pay, sms)
DashboardUI-->>User: Render plans, features, and upgrade options based on new structure
Possibly related PRs
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (13)
💤 Files with no reviewable changes (1)
⏰ Context from checks skipped due to timeout of 90000ms (9)
🔇 Additional comments (36)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7210 +/- ##
=======================================
Coverage 55.63% 55.63%
=======================================
Files 908 908
Lines 58546 58546
Branches 4127 4127
=======================================
Hits 32572 32572
Misses 25868 25868
Partials 106 106
🚀 New features to boost your workflow:
|
0280a96 to
77c57b9
Compare
af03614 to
3810d6f
Compare
77c57b9 to
9f9c9d6
Compare
size-limit report 📦
|
9f9c9d6 to
b22cce2
Compare
3810d6f to
3f57dc6
Compare
b22cce2 to
a068bd9
Compare
| mainnetEnabled: boolean; | ||
| rateLimit: number; | ||
| }; | ||
| pay: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just realize i don't know if we're honoring rate limits properly in the UB service cc @gregfromstl
3f57dc6 to
7c95211
Compare
a068bd9 to
2601e1a
Compare
2601e1a to
d92ebb9
Compare
d92ebb9 to
a068bd9
Compare

Add new capabilities to the TeamCapabilities type
This PR extends the
TeamCapabilitiestype in the service-utils package with new fields:Added
platformobject with properties for:auditLogsecosystemWalletsseatsAdded SMS capabilities to the
authobject:Added
payobject with properties for:enabledrateLimitAlso includes a changeset for a patch version bump.
PR-Codex overview
This PR focuses on updating billing plans and capabilities in the application, including renaming plans, modifying types, and adding new features to the billing system.
Detailed summary
acceleratetoscale,proadded.TeamCapabilitiestype with new features likesmsandpay.CloudHostedEngineSectioncomponent.starter,growth,scale, andproplans.Summary by CodeRabbit
New Features
Enhancements
Bug Fixes
Chores