Skip to content

AI-native knowledge base & Evernote/Obsidian alternative with instant sync & native MCP. Free on Cloudflare or self-hosted via Docker.

refactor(web): remove redundant empty state description in AI sidebar

tianma-if7a908b401cb7
diff --git a/apps/web/src/components/ai-elements/conversation.tsx b/apps/web/src/components/ai-elements/conversation.tsx
index 1e60af82..ff3b9f23 100644
--- a/apps/web/src/components/ai-elements/conversation.tsx
+++ b/apps/web/src/components/ai-elements/conversation.tsx
@@ -43,7 +43,7 @@ export type ConversationEmptyStateProps = ComponentProps<"div"> & {
export const ConversationEmptyState = ({
className,
title = "No messages yet",
- description = "Start a conversation to see messages here",
+ description,
icon,
children,
...props
diff --git a/apps/web/src/components/ai-sidebar/AiSidebar.tsx b/apps/web/src/components/ai-sidebar/AiSidebar.tsx
index ac5197fe..6b7c2c4e 100644
--- a/apps/web/src/components/ai-sidebar/AiSidebar.tsx
+++ b/apps/web/src/components/ai-sidebar/AiSidebar.tsx
@@ -1552,7 +1552,6 @@ function AiSidebarSession({
<ConversationEmptyState
icon={<Sparkles className="h-6 w-6" />}
title={t("aiAssistant.sidebar.emptyTitle")}
- description={t("aiAssistant.sidebar.emptyDescription")}
/>
) : null}
{visibleCompanion ? threadTurns.map((turn) => (
diff --git a/packages/shared/src/i18n/en-US.ts b/packages/shared/src/i18n/en-US.ts
index 6b031a6c..e5366c88 100644
--- a/packages/shared/src/i18n/en-US.ts
+++ b/packages/shared/src/i18n/en-US.ts
@@ -1320,7 +1320,6 @@ export const enUS = {
stop: "Stop",
placeholder: "Ask AI",
emptyTitle: "Start a conversation",
- emptyDescription: "Select 'Include current note' before sending when the note is relevant. Summarize, improve, and translate include it automatically.",
includeCurrentNote: "Include current note",
working: "Replying…",
selectionBadge: "{{count}} characters selected · Current note",
diff --git a/packages/shared/src/i18n/ja.ts b/packages/shared/src/i18n/ja.ts
index 37719d0f..0930c316 100644
--- a/packages/shared/src/i18n/ja.ts
+++ b/packages/shared/src/i18n/ja.ts
@@ -1320,7 +1320,6 @@ export const ja = {
stop: "停止",
placeholder: "AI に質問",
emptyTitle: "会話を始める",
- emptyDescription: "ノートを参照したいときは、送信前に「現在のノートを含める」を選択してください。要約・推敲・翻訳では自動的に含まれます。",
includeCurrentNote: "現在のノートを含める",
working: "返信しています…",
selectionBadge: "{{count}} 文字を選択 · 現在のノート",
diff --git a/packages/shared/src/i18n/zh-CN.ts b/packages/shared/src/i18n/zh-CN.ts
index 104f43ca..f27ed003 100644
--- a/packages/shared/src/i18n/zh-CN.ts
+++ b/packages/shared/src/i18n/zh-CN.ts
@@ -1320,7 +1320,6 @@ export const zhCN = {
stop: "停止",
placeholder: "询问 AI",
emptyTitle: "开始对话",
- emptyDescription: "需要笔记内容时,发送前选择“引用当前笔记”。总结、润色和翻译会自动引用。",
includeCurrentNote: "引用当前笔记",
working: "正在回复…",
selectionBadge: "已选 {{count}} 字 · 当前笔记",