Skip to content
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

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

slshults
Copy link
Contributor

Problem

The Email a support engineer button was visible on free plans, but community questions are the support option for free plans.

Changes

  • Updated the Help sidebar hide the "Email a support engineer" button for users on the free plan by
    adding a check for billing?.subscription_level !== 'free', now only showing the email button if on a paid plan.
  • Added add'l info about community support, and the support options include with paid plans.

CleanShot 2025-02-25 at 12 38 43@2x
CleanShot 2025-02-25 at 12 38 59@2x

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.

Copy link
Contributor

@greptile-apps greptile-apps bot left a 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

Copy link
Contributor

github-actions bot commented Feb 25, 2025

Size Change: 0 B

Total Size: 9.72 MB

ℹ️ View Unchanged
Filename Size
frontend/dist/toolbar.js 9.72 MB

compressed-size-action

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

2 snapshot changes in total. 0 added, 2 modified, 0 deleted:

  • chromium: 0 added, 2 modified, 0 deleted (diff for shard 1)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants