ai_onboarding: Send users directly into the trial checkout flow when starting the trial (#34859)

This PR makes it so users will be sent immediately into the trial
checkout flow (by hitting zed.dev/account/start-trial) when they click
the "Start Pro Trial" button.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2025-07-21 19:58:16 -04:00 committed by GitHub
parent 8515487bbc
commit 5289b815fe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 1 deletions

View file

@ -146,7 +146,7 @@ impl ZedAiOnboarding {
let (button_label, button_url) = if self.account_too_young {
("Start with Pro", zed_urls::upgrade_to_zed_pro_url(cx))
} else {
("Start Pro Trial", zed_urls::account_url(cx))
("Start Pro Trial", zed_urls::start_trial_url(cx))
};
v_flex()