Skip to content

Getting started tour improvements

Administrator requested to merge erzhtor/getting-started-tour-improvements into main

Created by: erzhtor

Closes https://github.com/sourcegraph/sourcegraph/issues/29890.

Description

This PR:

  • Adds new disable-search-onboarding-tour feature flag for disabling old search onboarding tour
    • Ex: /search?feature-flag-key=disable-search-onboarding-tour&feature-flag-value=true will disable locally
  • Adds multiple feature flags override support through URL search parameters
    • Ex: /search?feature-flag-key=my-feature1,my-feature-2&feature-flag-value=false,true
  • Getting started onboarding tour
    • Adds languages support + refactors to use zustand as a store
    • Adds support to show additional info dialog in search results
    • Minor content re-ordering/changes

How to test

Note: for now only "Search diffs for added code" has lang-specific links, rest of items to be updated, waiting for the content.

Merge request reports

Loading