Skip to content

Search bar no longer updating to show current repo with smartSearchField turned on

Created by: dadlerj

  • Sourcegraph version: 3.13.1

With the new smartSearchField experimental feature turned on, the search bar behaves differently when you visit a repo.

Steps to reproduce:

  1. Visit Sourcegraph.com
  2. With smartSearchField set to true:
    1. Search for "test"
    2. Click on any result
    3. Note that the search bar still just says "test"
  3. With smartSearchField set to false:
    1. Search for "test"
    2. Click on any result
    3. Note that the search bar now shows the current repo:<REPO> filter applied

With smartSearchField: image

Without smartSearchField: image