From ff627ee0b608f62a2f96baaaa9afe8157a8c63dc Mon Sep 17 00:00:00 2001 From: Alban Dumouilla Date: Wed, 30 Oct 2024 17:14:45 +0000 Subject: [PATCH] Remove FF (#8345) --- .../assistant/labs/transcripts/index.tsx | 68 +++++++++---------- types/src/shared/feature_flags.ts | 1 - 2 files changed, 32 insertions(+), 37 deletions(-) diff --git a/front/pages/w/[wId]/assistant/labs/transcripts/index.tsx b/front/pages/w/[wId]/assistant/labs/transcripts/index.tsx index 283b2a3b9855..494d95565134 100644 --- a/front/pages/w/[wId]/assistant/labs/transcripts/index.tsx +++ b/front/pages/w/[wId]/assistant/labs/transcripts/index.tsx @@ -33,7 +33,6 @@ import type { LabsTranscriptsConfigurationResource } from "@app/lib/resources/la import { useAgentConfigurations } from "@app/lib/swr/assistants"; import { useLabsTranscriptsConfiguration } from "@app/lib/swr/labs"; import { useSpaces } from "@app/lib/swr/spaces"; -import { useFeatureFlags } from "@app/lib/swr/workspaces"; import type { PatchTranscriptsConfiguration } from "@app/pages/api/w/[wId]/labs/transcripts/[tId]"; const defaultTranscriptConfigurationState = { @@ -86,7 +85,6 @@ export default function LabsTranscriptsIndex({ dataSourcesViews, }: InferGetServerSidePropsType) { const sendNotification = useSendNotification(); - const { featureFlags } = useFeatureFlags({ workspaceId: owner.sId }); const { transcriptsConfiguration, isTranscriptsConfigurationLoading, @@ -635,43 +633,41 @@ export default function LabsTranscriptsIndex({ (transcriptsConfigurationState.isGDriveConnected || transcriptsConfigurationState.isGongConnected) && ( <> - {featureFlags.includes("labs_transcripts_datasource") && ( - - + + + handleSetStoreInFolder(!storeInFolder)} /> - - handleSetStoreInFolder(!storeInFolder)} - /> - Enable transcripts storage - - -
-
- {!isSpacesLoading && - storeInFolder && - selectionConfigurations && ( - - )} -
+ Enable transcripts storage + + +
+
+ {!isSpacesLoading && + storeInFolder && + selectionConfigurations && ( + + )}
- +
- )} +