-
Notifications
You must be signed in to change notification settings - Fork 619
[TOOL-4471] GatedSwitch updates, Make In-app wallet branding gated by starter+ #7021
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. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7021 +/- ##
=======================================
Coverage 54.89% 54.89%
=======================================
Files 909 909
Lines 58396 58396
Branches 4035 4035
=======================================
Hits 32056 32056
Misses 26235 26235
Partials 105 105
🚀 New features to boost your workflow:
|
size-limit report 📦
|
Merge activity
|
… starter+ (#7021) <!-- ## 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 billing and plan management features in the dashboard. It introduces new props for handling plan visibility and highlights, updates tooltip styles, and modifies the UI to support new plan requirements and features. ### Detailed summary - Updated `tooltip.tsx` to adjust padding in the tooltip component. - Changed `requiredPlan` from `authRequiredPlan` to `brandingRequiredPlan` in `Configure/index.tsx`. - Added `openPlanSheetButtonByDefault` and `highlightPlan` props to several components. - Modified `PlanInfoCardClient` and `Billing` components to utilize new props. - Updated plan badge color for `starter` to `warning`. - Made `getTeamPlanBadgeLabel` function exportable. - Enhanced `PlanInfoCard` and `ViewPlansSheet` components to accept new props. - Adjusted `BillingPricing` logic to highlight plans based on new props. - Updated `GatedSwitch` to display upgraded plan information with improved tooltip content. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
85d571b to
7c88a39
Compare
… starter+ (#7021) <!-- ## 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 billing and plan management features in the dashboard. It introduces new props for handling plan highlights and open plan sheets, modifies tooltip styles, and adjusts billing card components to improve user experience. ### Detailed summary - Updated `tooltip.tsx` to change padding in tooltip content. - Changed `requiredPlan` from `authRequiredPlan` to `brandingRequiredPlan` in `Configure/index.tsx`. - Added `openPlanSheetButtonByDefault` and `highlightPlan` props in various components. - Modified `PlanInfoCardClient` and `Billing` components to utilize new props. - Updated `TeamPlanBadge` to include an optional postfix. - Enhanced `BillingPricing` logic to handle plan highlights. - Adjusted `GatedSwitch` tooltip content for better user guidance. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
7c88a39 to
04c10f8
Compare

PR-Codex overview
This PR focuses on enhancing the billing and plan features within the application, including UI adjustments, adding new props for plan management, and refining tooltip content for better user guidance.
Detailed summary
sideOffsetintooltip.tsxfor styling.requiredPlanfromauthRequiredPlantobrandingRequiredPlaninindex.tsx.openPlanSheetButtonByDefaultandhighlightPlanprops in several components.PlanInfoCardClientandBillingcomponents to utilize new props.TeamPlanBadge.tsx.BillingPricinglogic to incorporatehighlightPlan.GatedSwitchto improve tooltip display and upgrade prompts.