From 898e1fddfa342014d8db162215babe8079652f84 Mon Sep 17 00:00:00 2001 From: Nick O'Ferrall Date: Tue, 23 Apr 2024 14:26:45 +0100 Subject: [PATCH] feat: roll out ai icebreakers (#9660) --- .../MeetingCheckInPrompt/NewCheckInQuestion.tsx | 10 +++++----- .../private/typeDefs/updateOrgFeatureFlag.graphql | 1 - .../graphql/public/typeDefs/Organization.graphql | 1 - .../graphql/public/types/OrganizationFeatureFlags.ts | 1 - 4 files changed, 5 insertions(+), 8 deletions(-) diff --git a/packages/client/modules/meeting/components/MeetingCheckInPrompt/NewCheckInQuestion.tsx b/packages/client/modules/meeting/components/MeetingCheckInPrompt/NewCheckInQuestion.tsx index 7a4779194b8..1bfa7f930cc 100644 --- a/packages/client/modules/meeting/components/MeetingCheckInPrompt/NewCheckInQuestion.tsx +++ b/packages/client/modules/meeting/components/MeetingCheckInPrompt/NewCheckInQuestion.tsx @@ -87,7 +87,7 @@ const NewCheckInQuestion = (props: Props) => { team { organization { featureFlags { - aiIcebreakers + noAISummary } } } @@ -227,7 +227,7 @@ const NewCheckInQuestion = (props: Props) => { } }) } - const shouldShowAiIcebreakers = featureFlags?.aiIcebreakers && isFacilitating + const hideAiIcebreaker = featureFlags.noAISummary || !isFacilitating return ( <> @@ -269,8 +269,8 @@ const NewCheckInQuestion = (props: Props) => { )} - {shouldShowAiIcebreakers && ( -
+ {!hideAiIcebreaker && ( +
Modify current icebreaker with AI
@@ -298,7 +298,7 @@ const NewCheckInQuestion = (props: Props) => { disabled={isModifyingCheckInQuestion} onClick={() => modifyCheckInQuestion('FUNNY')} > - More funny + Funnier