-
Notifications
You must be signed in to change notification settings - Fork 524
[TOOL-4277] Dashboard: Update gated features #6838
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
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. |
apps/dashboard/src/components/smart-wallets/SponsorshipPolicies/index.tsx
Outdated
Show resolved
Hide resolved
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6838 +/- ##
=======================================
Coverage 55.30% 55.30%
=======================================
Files 896 896
Lines 57023 57023
Branches 3968 3968
=======================================
Hits 31536 31536
Misses 25390 25390
Partials 97 97
🚀 New features to boost your workflow:
|
apps/dashboard/src/components/embedded-wallets/Configure/index.tsx
Outdated
Show resolved
Hide resolved
size-limit report 📦
|
Merge activity
|
<!-- ## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes" If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000): ## Notes for the reviewer Anything important to call out? Be sure to also clarify these in your comments. ## How to test Unit tests, playground, etc. --> <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on enhancing the handling of team billing plans across various components in the application. It introduces new properties for better plan management and refines the UI elements related to billing features. ### Detailed summary - Added `teamSlug` prop to several components for better context. - Changed `validTeamPlan` to `teamPlan` in multiple files for consistency. - Introduced `planToTierRecordForGating` to manage billing plans. - Updated UI components to reflect new billing logic and props. - Refactored `GatedSwitch` to utilize `currentPlan` and `requiredPlan`. - Enhanced form handling in `InAppWalletSettingsUI` and other components to reflect billing plan changes. - Renamed story exports for clarity in `GatedSwitch` stories. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
5f11690
to
f157e34
Compare
PR-Codex overview
This PR focuses on updating the handling of team plans and billing in various components, enhancing the user interface, and ensuring that features are gated based on the current plan of the team.
Detailed summary
teamSlug
prop inpage.tsx
files.validTeamPlan
toteamPlan
inin-app-wallets
settings.planToTierRecordForGating
for billing plans.GatedSwitch
to usecurrentPlan
andrequiredPlan
.GatedSwitch
stories.