search ui: permanently enable simple ui (but keep temp setting)
Created by: limitedmage
Closes https://github.com/sourcegraph/sourcegraph/issues/41001
-
Set the Simple UI feature flag to be on by default. -
Remove the toggle, keep the temporary setting. -
Flip search history feature flag, so that it is off by default and the feature flag enables it.
Test plan
- Chromatic Storybook has been updated so that all stories have Simple UI enabled. Some irrelevant stories (eg. homepage panels) have been removed, and some new stories have been added to test the new UI (eg. server home with chips).
- Updated unit tests to be based on the new UI.
- Verify updated Storybook and Percy snapshots.
- Verify that users without any temp settings get the new UI by clearing the temporary settings.
- Verify that users who have previously turned off Simple UI via toggle get the new UI anyway.
- Verify that the search history is off by default and only shown if feature flag
search-input-show-history
is enabled.
App preview:
Check out the client app preview documentation to learn more.