From 72df9c7b2a78716907e7ded139eb518b7feb38fd Mon Sep 17 00:00:00 2001 From: mehditorabiv Date: Thu, 18 Jul 2024 16:31:38 +0300 Subject: [PATCH] update community settings & hivemind --- .../HivemindSettings/TcHivemindNotion.tsx | 8 ++++++++ .../communityPlatforms/TcCommunityPlatforms.tsx | 12 ++---------- .../communityPlatforms/TcNotionIntegration.tsx | 5 ++++- 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/src/components/communitySettings/HivemindSettings/TcHivemindNotion.tsx b/src/components/communitySettings/HivemindSettings/TcHivemindNotion.tsx index ddf23d2b..e40c3c7a 100644 --- a/src/components/communitySettings/HivemindSettings/TcHivemindNotion.tsx +++ b/src/components/communitySettings/HivemindSettings/TcHivemindNotion.tsx @@ -1,11 +1,14 @@ import { + Alert, Autocomplete, Chip, CircularProgress, FormControl, FormHelperText, FormLabel, + Link, TextField, + Typography, } from '@mui/material'; import router from 'next/router'; import React, { useState } from 'react'; @@ -51,6 +54,11 @@ function TcHivemindNotion({ return ( <>
+ + + See documentation for how to integrate Notion to Hivemind + + Notion Page Id -
- - -
-
@@ -235,7 +227,7 @@ function TcCommunityPlatforms() {
diff --git a/src/components/communitySettings/communityPlatforms/TcNotionIntegration.tsx b/src/components/communitySettings/communityPlatforms/TcNotionIntegration.tsx index 5f6ab245..ff2f038a 100644 --- a/src/components/communitySettings/communityPlatforms/TcNotionIntegration.tsx +++ b/src/components/communitySettings/communityPlatforms/TcNotionIntegration.tsx @@ -1,4 +1,4 @@ -import { CircularProgress, Paper } from '@mui/material'; +import { Alert, CircularProgress, Paper } from '@mui/material'; import moment from 'moment'; import React, { useEffect, useState } from 'react'; import { AiOutlineClose } from 'react-icons/ai'; @@ -162,6 +162,9 @@ function TcNotionIntegration({ )}
+ + To edit pages access, please remove the Notion integration and add it again + }