From caa4bb0f0d4fbd83056f6ceaf7d4e24535240d7c Mon Sep 17 00:00:00 2001 From: mehditorabiv Date: Thu, 31 Oct 2024 11:07:58 +0300 Subject: [PATCH 1/3] change copy --- .../HivemindSettings/TcHivemindDiscordAnswering.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/communitySettings/HivemindSettings/TcHivemindDiscordAnswering.tsx b/src/components/communitySettings/HivemindSettings/TcHivemindDiscordAnswering.tsx index 047957e4..9c009cde 100644 --- a/src/components/communitySettings/HivemindSettings/TcHivemindDiscordAnswering.tsx +++ b/src/components/communitySettings/HivemindSettings/TcHivemindDiscordAnswering.tsx @@ -124,9 +124,8 @@ function TcHivemindDiscordAnswering({ />
- -
- + +
Date: Thu, 31 Oct 2024 11:12:04 +0300 Subject: [PATCH 2/3] fix test case --- .../TcHivemindDiscordAnswering.spec.tsx | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/src/components/communitySettings/HivemindSettings/TcHivemindDiscordAnswering.spec.tsx b/src/components/communitySettings/HivemindSettings/TcHivemindDiscordAnswering.spec.tsx index ce1a0cad..f3aad988 100644 --- a/src/components/communitySettings/HivemindSettings/TcHivemindDiscordAnswering.spec.tsx +++ b/src/components/communitySettings/HivemindSettings/TcHivemindDiscordAnswering.spec.tsx @@ -39,18 +39,7 @@ describe('TcHivemindDiscordAnswering', () => { /> ); expect( - screen.getByText('Select the data extraction period') - ).toBeInTheDocument(); - }); - it('should render Sync the following data sources', () => { - render( - jest.fn()} - /> - ); - expect( - screen.getByText('Sync the following data sources') + screen.getByText('Select the channels in which the AI assistant can answer questions') ).toBeInTheDocument(); }); }); From 04da8f3ff4580fe4bd21137af0c3d449f7655636 Mon Sep 17 00:00:00 2001 From: mehditorabiv Date: Thu, 31 Oct 2024 11:15:09 +0300 Subject: [PATCH 3/3] change style --- .../HivemindSettings/TcHivemindDiscordAnswering.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/communitySettings/HivemindSettings/TcHivemindDiscordAnswering.tsx b/src/components/communitySettings/HivemindSettings/TcHivemindDiscordAnswering.tsx index 9c009cde..b8b13384 100644 --- a/src/components/communitySettings/HivemindSettings/TcHivemindDiscordAnswering.tsx +++ b/src/components/communitySettings/HivemindSettings/TcHivemindDiscordAnswering.tsx @@ -125,7 +125,7 @@ function TcHivemindDiscordAnswering({
-
+