From d0bfac3e7ebeef66cf8b5dfc8312eb8207f5f4b7 Mon Sep 17 00:00:00 2001 From: anovazzi1 Date: Wed, 9 Oct 2024 10:04:06 -0300 Subject: [PATCH] feature: Hide integrations (#4074) * hide integrations * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> --- src/frontend/src/customization/feature-flags.ts | 1 + .../FlowPage/components/extraSidebarComponent/index.tsx | 9 ++++++--- .../extended/regression/generalBugs-shard-12.spec.ts | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/frontend/src/customization/feature-flags.ts b/src/frontend/src/customization/feature-flags.ts index db68d0045..3f2acf8ec 100644 --- a/src/frontend/src/customization/feature-flags.ts +++ b/src/frontend/src/customization/feature-flags.ts @@ -6,3 +6,4 @@ export const ENABLE_SOCIAL_LINKS = true; export const ENABLE_BRANDING = true; export const ENABLE_MVPS = false; export const ENABLE_CUSTOM_PARAM = false; +export const ENABLE_INTEGRATIONS = false; diff --git a/src/frontend/src/pages/FlowPage/components/extraSidebarComponent/index.tsx b/src/frontend/src/pages/FlowPage/components/extraSidebarComponent/index.tsx index f69c5e2e8..6e05568ed 100644 --- a/src/frontend/src/pages/FlowPage/components/extraSidebarComponent/index.tsx +++ b/src/frontend/src/pages/FlowPage/components/extraSidebarComponent/index.tsx @@ -1,4 +1,7 @@ -import { ENABLE_MVPS } from "@/customization/feature-flags"; +import { + ENABLE_INTEGRATIONS, + ENABLE_MVPS, +} from "@/customization/feature-flags"; import { useStoreStore } from "@/stores/storeStore"; import { cloneDeep } from "lodash"; import { useEffect, useState } from "react"; @@ -245,7 +248,7 @@ export default function ExtraSidebar(): JSX.Element {
), )} - <> + {ENABLE_INTEGRATIONS && ( - + )}