Navigation: Remove commandPalette feature toggle (#62698)

* remove command palette feature toggle

* undo irrelevant AppChrome changes

* update toggle description
This commit is contained in:
Ashley Harrison
2023-02-02 14:44:21 +00:00
committed by GitHub
parent 68862ce3e8
commit 5e7e026c0c
6 changed files with 10 additions and 24 deletions

View File

@@ -31,7 +31,7 @@ export function AppChrome({ children }: Props) {
<>
<NavBar />
<SearchWrapper />
{featureToggles.commandPalette && <CommandPalette />}
<CommandPalette />
</>
)}
<main className="main-view">{children}</main>

View File

@@ -26,12 +26,11 @@ export function TopSearchBar() {
const helpNode = navIndex['help'];
const profileNode = navIndex['profile'];
const search =
config.featureToggles.commandPalette && config.featureToggles.topNavCommandPalette ? (
<TopSearchBarCommandPaletteTrigger />
) : (
<TopSearchBarInput />
);
const search = config.featureToggles.topNavCommandPalette ? (
<TopSearchBarCommandPaletteTrigger />
) : (
<TopSearchBarInput />
);
return (
<div className={styles.layout}>