From 2ee4d7d745d53220331e98ddb806e17dfc713c57 Mon Sep 17 00:00:00 2001 From: Steven Date: Sat, 23 Dec 2023 08:55:43 +0800 Subject: [PATCH] chore: add startTransition to links --- web/src/components/MemoRelationListView.tsx | 2 ++ web/src/components/MemoView.tsx | 5 +++-- web/src/components/Settings/SSOSection.tsx | 6 +++++- web/src/components/Settings/StorageSection.tsx | 12 ++++++++++-- web/src/pages/MemoDetail.tsx | 3 ++- web/src/pages/SignIn.tsx | 2 +- web/src/pages/SignUp.tsx | 2 +- 7 files changed, 24 insertions(+), 8 deletions(-) diff --git a/web/src/components/MemoRelationListView.tsx b/web/src/components/MemoRelationListView.tsx index bd539881..a9f7c965 100644 --- a/web/src/components/MemoRelationListView.tsx +++ b/web/src/components/MemoRelationListView.tsx @@ -44,6 +44,7 @@ const MemoRelationListView = (props: Props) => { @@ -64,6 +65,7 @@ const MemoRelationListView = (props: Props) => { diff --git a/web/src/components/MemoView.tsx b/web/src/components/MemoView.tsx index c9a12915..a23a100c 100644 --- a/web/src/components/MemoView.tsx +++ b/web/src/components/MemoView.tsx @@ -218,7 +218,7 @@ const MemoView: React.FC = (props: Props) => {
{props.showCreator && creator && ( <> - + @@ -244,7 +244,7 @@ const MemoView: React.FC = (props: Props) => { )}
- + #{memo.id} @@ -309,6 +309,7 @@ const MemoView: React.FC = (props: Props) => { #{parentMemo.id} diff --git a/web/src/components/Settings/SSOSection.tsx b/web/src/components/Settings/SSOSection.tsx index 5c67b34f..d55aa53b 100644 --- a/web/src/components/Settings/SSOSection.tsx +++ b/web/src/components/Settings/SSOSection.tsx @@ -110,7 +110,11 @@ const SSOSection = () => {

{t("common.learn-more")}:

- + Configuring Keycloak for Authentication diff --git a/web/src/components/Settings/StorageSection.tsx b/web/src/components/Settings/StorageSection.tsx index 80ebc900..b3f1ed76 100644 --- a/web/src/components/Settings/StorageSection.tsx +++ b/web/src/components/Settings/StorageSection.tsx @@ -134,12 +134,20 @@ const StorageSection = () => {

{t("common.learn-more")}:

- + Docs - Local storage - + Choosing a Storage for Your Resource: Database, S3 or Local Storage? diff --git a/web/src/pages/MemoDetail.tsx b/web/src/pages/MemoDetail.tsx index ba2a8e23..59f23441 100644 --- a/web/src/pages/MemoDetail.tsx +++ b/web/src/pages/MemoDetail.tsx @@ -119,6 +119,7 @@ const MemoDetail = () => { #{parentMemo.id} @@ -138,7 +139,7 @@ const MemoDetail = () => { #{memo.id} - + diff --git a/web/src/pages/SignIn.tsx b/web/src/pages/SignIn.tsx index aee729db..fb295472 100644 --- a/web/src/pages/SignIn.tsx +++ b/web/src/pages/SignIn.tsx @@ -160,7 +160,7 @@ const SignIn = () => { {systemStatus.allowSignUp && (

{t("auth.sign-up-tip")} - + {t("common.sign-up")}

diff --git a/web/src/pages/SignUp.tsx b/web/src/pages/SignUp.tsx index 731c3ac6..96b6e90f 100644 --- a/web/src/pages/SignUp.tsx +++ b/web/src/pages/SignUp.tsx @@ -122,7 +122,7 @@ const SignUp = () => { {!systemStatus.host &&

{t("auth.host-tip")}

}

{t("auth.sign-in-tip")} - + {t("common.sign-in")}