Expose code monitor, saved search, extend and other functions to non-authenticated users and add signup CTA
Created by: rrhyne
These features represent reasons to sign up, and we should use them as an opportunity to show unauthenticated users portions of the product they are missing out on.
Add code monitor and save search buttons to UI, but when moused over, display a popup stating: 'Signup to use this feature' or similar.
- Figma
- Metrics for cloud are defined in the Figma file, we use the Flow_Stage_NameOfStage convention
We'll A/B test under the w0-signup-optimisation
flag.
There are two parts for this that can be done in parallel:
-
Expose auth-only functionality to unauthenticated users in search results and redirect to new sign up page (owned by @novoselrok) #22091 -
Show "Monitor" to unauthenticated users - For unauthenticated users only, the button will always be enabled and show the CTA, regardless of whether the search allows creating monitors or not.
-
Show "Save search" to unauthenticated users - This also included modifying the "Saved search" icon to a bookmark (for all users with and without the feature flag)
-
Add an "Extend" button visible to all users; when clicked by authenticated users it goes to the /extensions
page -
Add a sign-up CTA when these buttons are clicked by unauthenticated users -
Modify the CTA for search contexts for unauthenticated users to use the new sign up page -
Add a new CTA at the top of search results for unauthenticated users to create an account to add their own repos - This CTA would be shown on a cadence such as: displayed for every search on the first 5 or 10 searches, then once every 5 searches.
-
Add a link under the "search snippets" section of the sidebar prompting users to create an account to edit their snippets. This redirects to the standard sign up page. (Lower priority)
-
-
Create a new sign up page when the CTA is clicked (owned by @limitedmage) -
Basic, non-functional page #22104 -
Users can create new account or sign up via GitHub & GitLab in the page #22135 -
The text content in the page is different based on which CTA was clicked #22135 -
Events are logged when users create an account, either from GitHub/GitLab oauth or with email&password #22135 -
Once users sign up, they should be redirected back to the functionality they were intending to use (create a monitor or a saved search), or at least to the search they were on previously - The "Monitor" button should redirect to code monitors
- The "Save search" button should redirect to code monitors
- The "Extend" button should redirect to extensions
- Public code CTA (both in the search contexts menu and at the top of the search results) takes users to repositories page
-