From e27dc68276771295f2c4dddfb58398a8646a8c0d Mon Sep 17 00:00:00 2001 From: Cats Juice Date: Mon, 7 Jul 2025 12:02:07 +0800 Subject: [PATCH] chore(core): adjust order and label of ai entrance (#13059) ## Summary by CodeRabbit * **Style** * Updated the label text in the AI chat button to "Intelligent". * Adjusted the position of the AI chat button in the sidebar for improved layout. --- .../frontend/core/src/components/root-app-sidebar/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/frontend/core/src/components/root-app-sidebar/index.tsx b/packages/frontend/core/src/components/root-app-sidebar/index.tsx index 12331390d..46b3a1e67 100644 --- a/packages/frontend/core/src/components/root-app-sidebar/index.tsx +++ b/packages/frontend/core/src/components/root-app-sidebar/index.tsx @@ -98,7 +98,7 @@ const AIChatButton = () => { return ( } active={aiChatActive} to={'/chat'}> - AFFiNE Intelligent + Intelligent ); }; @@ -198,10 +198,10 @@ export const RootAppSidebar = memo((): ReactElement => { /> + {sessionStatus === 'authenticated' && } - }