-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
fix: remove email button from Help sidepanel for free plans #29213
base: master
Are you sure you want to change the base?
Conversation
…eer' button is not visible
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.
PR Summary
This PR modifies the Help sidebar to hide the "Email a support engineer" button for users on free plans, directing them to community support instead.
- Added logic to check subscription level with
billing?.subscription_level !== 'free'
to conditionally show email support - Added a new section explaining support options specifically for free plan users
- Implemented a support plan comparison table showing response times for different tiers (free, ridiculously cheap, teams add-on, etc.)
- Added clear messaging that community support is the only option for free plans
- Improved type safety in sidePanelStatusLogic.tsx with proper TypeScript typing for group IDs
💡 (5/5) You can turn off certain types of comments like style here!
2 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile
Size Change: 0 B Total Size: 9.72 MB ℹ️ View Unchanged
|
📸 UI snapshots have been updated2 snapshot changes in total. 0 added, 2 modified, 0 deleted:
Triggered by this commit. |
Problem
The
Email a support engineer
button was visible on free plans, but community questions are the support option for free plans.Changes
adding a check for
billing?.subscription_level !== 'free'
, now only showing the email button if on a paid plan.Does this work well for both Cloud and self-hosted?
Cloud only
How did you test this code?
On my local: Downgraded to free to confirm changes, then re-subscribed to a plaid plan again to make sure the email button is still visible to paying users.