-
Notifications
You must be signed in to change notification settings - Fork 562
Remove "starter" plan checks from team invitation logic #7513
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
Remove "starter" plan checks from team invitation logic #7513
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
WalkthroughThe changes update the team plan features and adjust the logic for displaying invite-related UI elements. Specifically, the "Invite Team Members" feature was removed from the "growth" plan, and conditions for showing upgrade prompts and enabling invites now only consider the "free" plan, excluding the "starter" plan from these checks. Changes
Possibly related PRs
Suggested reviewers
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (3)
💤 Files with no reviewable changes (1)
🚧 Files skipped from review as they are similar to previous changes (2)
⏰ Context from checks skipped due to timeout of 90000ms (8)
✨ 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. |
f3e3796
to
74e8d04
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7513 +/- ##
=======================================
Coverage 51.96% 51.96%
=======================================
Files 952 952
Lines 64224 64224
Branches 4237 4237
=======================================
Hits 33377 33377
Misses 30740 30740
Partials 107 107
🚀 New features to boost your workflow:
|
size-limit report 📦
|
Merge activity
|
<!-- start pr-codex --> ## PR-Codex overview This PR focuses on refining the invitation feature within the onboarding and settings sections of the application. It simplifies the conditions for inviting team members based on the billing plan. ### Detailed summary - Removed `"Invite Team Members"` from the pricing options in `pricing.tsx`. - Updated the conditional rendering for the custom CTA in `InviteTeamMembers.tsx` to check only for the `"free"` billing plan. - Simplified the `inviteEnabled` condition in `InviteSection.tsx` to exclude the `"starter"` plan. - Adjusted the conditional check for displaying the bottom section in `InviteSection.tsx` to only check for the `"free"` plan. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Updated team plan features by removing "Invite Team Members" from the "growth" plan feature list. * **Bug Fixes** * Adjusted upgrade prompts and invite functionality so that upgrade options and invite restrictions now apply only to teams on the "free" plan, rather than both "free" and "starter" plans. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
74e8d04
to
bde53fc
Compare
PR-Codex overview
This PR focuses on updating the logic for team member invitations and modifying the pricing options in the dashboard. It simplifies conditions for enabling invites and removes an invitation option from the pricing list.
Detailed summary
"Invite Team Members"
from the pricing options inpricing.tsx
.InviteTeamMembers.tsx
to only check for the"free"
billing plan.InviteSection.tsx
to remove the"starter"
plan condition.InviteSection.tsx
to only check for the"free"
plan.Summary by CodeRabbit
New Features
Bug Fixes