Remove solutions engineer booking modal from onboarding - #745
Merged
Conversation
The onboarding survey opened a HubSpot booking modal for accounts with 50+ planned users. Removes the modal, its onboarding-call experiment variants, the trigger in Onboarding.tsx, and the now-unused avatar. Keeps src/cloud/cloud-hooks/useExperiment.ts, which this was the only consumer of, for a future experiment.
Contributor
📝 WalkthroughWalkthroughThe onboarding flow no longer opens a demo-call modal after survey submission. The demo-call component, experiment variants, analytics tracking, booking flow, and modal UI were removed. ChangesOnboarding demo-call removal
Estimated code review effort: 2 (Simple) | ~10 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
heisbrot
approved these changes
Aug 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue ticket number and link
None — requested directly: users are still booking solutions engineer meetings from the dashboard, so the entry point is being removed.
Documentation
Select exactly one:
This removes an internal onboarding growth experiment. The modal was never documented in netbirdio/docs, and no user-facing feature or configuration surface changes.
Docs PR URL (required if "docs added" is checked)
n/a
Change
The onboarding survey opened a HubSpot booking modal (
meetings-eu1.hubspot.com/jack81/selfserve45-dashboard) whenever theplanned_usersfield came back as 50 or more. This removes that flow:OnboardingDemoCall.tsx, including the sixonboarding-callexperiment variants.demoCallModalstate, the modal render, and theplanned_users >= 50trigger fromOnboarding.tsx.Survey behaviour is otherwise untouched —
planned_usersis still collected and submitted to HubSpot, and theuse_case/is_companyreads that feed the intent step are unchanged. Step progression is unaffected.useExperiment.tsis left in place for a future experiment, even though this was its only caller.Two things this PR deliberately does not cover: the HubSpot scheduling page is still live, so existing bookmarked links keep working until it is disabled there, and old
onboarding-callvariant assignments remain under thenetbird-experimentslocalStorage key in users' browsers.Summary by CodeRabbit