From 413df4255548b26d3b4dcf564b529c89d9304dae Mon Sep 17 00:00:00 2001 From: "gitar-bot[bot]" <159877585+gitar-bot[bot]@users.noreply.github.com> Date: Thu, 15 Aug 2024 14:29:07 +0300 Subject: [PATCH] [Gitar] Cleaning up stale flag: commandBarUI with value true (#7894) [![Gitar](https://raw.githubusercontent.com/gitarcode/.github/main/assets/gitar-banner.svg)](https://gitar.co) --- This automated PR was generated by [Gitar](https://gitar.co). View [docs](https://gitar.co/docs). --------- Co-authored-by: Gitar Co-authored-by: sjaanus --- frontend/src/component/menu/Header/Header.tsx | 22 +------------------ frontend/src/interfaces/uiConfig.ts | 1 - .../__snapshots__/create-config.test.ts.snap | 1 - src/lib/types/experimental.ts | 5 ----- src/server-dev.ts | 1 - 5 files changed, 1 insertion(+), 29 deletions(-) diff --git a/frontend/src/component/menu/Header/Header.tsx b/frontend/src/component/menu/Header/Header.tsx index 7433be8b88..7d476e88e3 100644 --- a/frontend/src/component/menu/Header/Header.tsx +++ b/frontend/src/component/menu/Header/Header.tsx @@ -80,27 +80,8 @@ const StyledUnleashLogo = styled(UnleashLogo)({ width: '150px' }); const StyledCelebatoryLogo = styled(CelebatoryUnleashLogo)({ width: '150px' }); -const StyledLinks = styled('div')(({ theme }) => ({ - display: 'flex', - justifyContent: 'center', - marginLeft: theme.spacing(3), - '& a': { - textDecoration: 'none', - color: 'inherit', - marginRight: theme.spacing(3), - display: 'flex', - alignItems: 'center', - }, -})); - const StyledLink = styled(Link)(({ theme }) => focusable(theme)); -const StyledText = styled('div')(({ theme }) => ({ - display: 'flex', - alignItems: 'center', - gap: theme.spacing(1), -})); - const StyledIconButton = styled(IconButton)<{ component?: 'a' | 'button'; href?: string; @@ -120,7 +101,6 @@ const Header: VFC = () => { const theme = useTheme(); const disableNotifications = useUiFlag('disableNotifications'); - const commandBarUI = useUiFlag('commandBarUI'); const { uiConfig, isOss } = useUiConfig(); const smallScreen = useMediaQuery(theme.breakpoints.down('lg')); const [openDrawer, setOpenDrawer] = useState(false); @@ -199,7 +179,7 @@ const Header: VFC = () => { - {commandBarUI && } + { projectOverviewRefactorFeedback: true, manyStrategiesPagination: true, enableLegacyVariants: false, - commandBarUI: true, resourceLimits: true, extendedMetrics: true, insightsV2: true,