Add deployment options page
Created by: thenamankumar
https://github.com/sourcegraph/sourcegraph/issues/36126
This PR prepares a new registration flow experiment. Currently, when the user clicks on get-started we take them to deployment options page, where they choose between self-hosted/cloud and only when they go for cloud, do they signup and create an account on sourcegraph.com.
In the new experiment we show signup page as the first step when the user clicks on get-started and after sign up only, we show deployment options.
-
Integrate returnTo query param on signup page to external auth (social logins) redirect -
add .api/get-started
route to distribute traffic between old and new flow based on feature flag. -
Add deployment options page on sourcegraph.com
This PR doesn't release the experiment yet as the get started links are not updated. This won't change the flow right now. The upcoming PRs will add metrics tracking and update the Get Started button link separately.
Test plan
follow the loom video: https://www.loom.com/share/cca023afc9f44422a9770939059a587a
App preview:
Check out the client app preview documentation to learn more.