From 73f0cb6180840f624e2ccc66f4651f2e0be2b84c Mon Sep 17 00:00:00 2001 From: Jaanus Sellin Date: Tue, 28 May 2024 09:44:52 +0300 Subject: [PATCH] chore: switch insights ui flag to kill switch (#7166) The flag is already set up in our Unleash instance. --- frontend/src/component/menu/Header/OldHeader.tsx | 4 ++-- .../menu/__tests__/__snapshots__/routes.test.tsx.snap | 2 +- frontend/src/component/menu/routes.ts | 2 +- frontend/src/interfaces/uiConfig.ts | 2 +- src/lib/__snapshots__/create-config.test.ts.snap | 2 +- src/lib/types/experimental.ts | 6 +++--- src/server-dev.ts | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/frontend/src/component/menu/Header/OldHeader.tsx b/frontend/src/component/menu/Header/OldHeader.tsx index 41fda84539..f85b0b010e 100644 --- a/frontend/src/component/menu/Header/OldHeader.tsx +++ b/frontend/src/component/menu/Header/OldHeader.tsx @@ -164,7 +164,7 @@ const OldHeader: VFC = () => { const onAdminClose = () => setAdminRef(null); const onConfigureClose = () => setConfigRef(null); const celebatoryUnleash = useUiFlag('celebrateUnleash'); - const insightsDashboard = useUiFlag('executiveDashboardUI'); + const killInsightsDashboard = useUiFlag('killInsightsUI'); const routes = getRoutes(); const adminRoutes = useAdminRoutes(); @@ -242,7 +242,7 @@ const OldHeader: VFC = () => { Search Playground { stripHeadersOnAPI: true, celebrateUnleash: true, featureSearchFeedbackPosting: true, - executiveDashboardUI: true, + killInsightsUI: false, userAccessUIEnabled: true, outdatedSdksBanner: true, disableShowContextFieldSelectionValues: false,