From 99d7061a4fcf1d898bdfb6ea1359cce97d4b401e Mon Sep 17 00:00:00 2001 From: yujiangping Date: Thu, 15 Jan 2026 19:00:28 +0800 Subject: [PATCH] feat(conversation): add empty state title for memory conversation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add chatEmpty translation key to English i18n file with message "Is there anything I can help you with?" - Add chatEmpty translation key to Chinese i18n file with message "有什么我可以帮您的吗?" - Update Chat component empty state to display title using chatEmpty translation instead of only showing subTitle - Improve empty state UX by providing a welcoming greeting message to users --- web/src/i18n/en.ts | 1 + web/src/i18n/zh.ts | 1 + web/src/views/Conversation/index.tsx | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/web/src/i18n/en.ts b/web/src/i18n/en.ts index ccb8d1ce..bf3dffc6 100644 --- a/web/src/i18n/en.ts +++ b/web/src/i18n/en.ts @@ -1449,6 +1449,7 @@ Memory Bear: After the rebellion, regional warlordism intensified for several re deduplication_desc: 'Deduplication and disambiguation completed, {{count}} unique entities in total' }, memoryConversation: { + chatEmpty:'Is there anything I can help you with?', searchPlaceholder: 'Input user ID...', userID: 'User ID', testMemoryConversation: 'Test Memory Conversation', diff --git a/web/src/i18n/zh.ts b/web/src/i18n/zh.ts index 6ea8b1af..2d76f474 100644 --- a/web/src/i18n/zh.ts +++ b/web/src/i18n/zh.ts @@ -1523,6 +1523,7 @@ export const zh = { deduplication_desc: '去重消歧完成,最终{{count}}个唯一实体' }, memoryConversation: { + chatEmpty:'有什么我可以帮您的吗?', searchPlaceholder: '输入用户ID...', userID: '用户ID', testMemoryConversation: '测试记忆对话', diff --git a/web/src/views/Conversation/index.tsx b/web/src/views/Conversation/index.tsx index 873cb56c..12d17cda 100644 --- a/web/src/views/Conversation/index.tsx +++ b/web/src/views/Conversation/index.tsx @@ -262,7 +262,7 @@ const Conversation: FC = () => {
} + empty={} contentClassName="rb:h-[calc(100%-152px)] " data={chatList} streamLoading={streamLoading}