mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-26 02:35:58 +08:00
chore(core): adjust order and label of ai entrance (#13059)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## 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. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -98,7 +98,7 @@ const AIChatButton = () => {
|
||||
|
||||
return (
|
||||
<MenuLinkItem icon={<AiIcon />} active={aiChatActive} to={'/chat'}>
|
||||
<span data-testid="ai-chat">AFFiNE Intelligent</span>
|
||||
<span data-testid="ai-chat">Intelligent</span>
|
||||
</MenuLinkItem>
|
||||
);
|
||||
};
|
||||
@@ -198,10 +198,10 @@ export const RootAppSidebar = memo((): ReactElement => {
|
||||
/>
|
||||
<AddPageButton />
|
||||
</div>
|
||||
<AIChatButton />
|
||||
<AllDocsButton />
|
||||
<AppSidebarJournalButton />
|
||||
{sessionStatus === 'authenticated' && <NotificationButton />}
|
||||
<AIChatButton />
|
||||
<MenuItem
|
||||
data-testid="slider-bar-workspace-setting-button"
|
||||
icon={<SettingsIcon />}
|
||||
|
||||
Reference in New Issue
Block a user