Skip to content

Design Refresh: Enable site-wide

Warren Gifford requested to merge tr/enable-refresh into main

Created by: umpox

Checklist copied from https://github.com/sourcegraph/sourcegraph/issues/20846

  • Migrate Bootstrap required SCSS variables like $primary and $indigo to our redesign variants $redesign-primary, $redesign-indigo: remove the @if statement from the variables-redesign.scss file.
  • Disable redesign toggle. We can append theme-redesign to the DOM for the initial release, and we don't want anyone using the old design whilst we haven't yet removed those styles
  • Change the implementation of the useRedesignToggle to always return [true, ()=>{}].
  • Fix search tests to pass when streaming search is enabled permanently
  • Fix GlobalNavBar.test.tsx failing when redesign is enabled
  • Fix Percy theme changing to work on pages where the search bar is not displayed
  • Remove Percy redesign variants.
  • Remove Chromatic redesign variants in Chromatic.story.tsx.

Merge request reports

Loading