From d6c9d21b1fdf4d1ff74ef55a343ce6f9e0a3f84e Mon Sep 17 00:00:00 2001 From: digua Date: Tue, 11 Aug 2026 11:02:02 +0800 Subject: [PATCH] feat(memory): refine chat topic summary actions --- .../common/ChatRecord/ChatTopicsPanel.vue | 24 ++++++++++++------- src/i18n/locales/en-US/records.json | 8 +++---- src/i18n/locales/ja-JP/records.json | 8 +++---- src/i18n/locales/zh-CN/records.json | 8 +++---- src/i18n/locales/zh-TW/records.json | 8 +++---- 5 files changed, 32 insertions(+), 24 deletions(-) diff --git a/src/components/common/ChatRecord/ChatTopicsPanel.vue b/src/components/common/ChatRecord/ChatTopicsPanel.vue index 6a8ab9ad..5966c578 100644 --- a/src/components/common/ChatRecord/ChatTopicsPanel.vue +++ b/src/components/common/ChatRecord/ChatTopicsPanel.vue @@ -196,7 +196,7 @@ async function startGeneration() { } } -async function regenerateDay() { +async function generateCurrentDay() { if (!props.dayKey) return actionLoading.value = true try { @@ -330,6 +330,16 @@ onUnmounted(() => { {{ dayKey }}
+ + {{ t('records.topics.batchSummarize') }} + { icon="i-heroicons-arrow-path" :loading="actionLoading" :disabled="Boolean(activeRun)" - @click="regenerateDay" + @click="generateCurrentDay" > {{ t('records.topics.updateDay') }} - - {{ t('records.topics.backfill') }} -
@@ -524,10 +531,11 @@ onUnmounted(() => { size="sm" color="primary" icon="i-heroicons-sparkles" + :loading="actionLoading" :disabled="Boolean(activeRun) || !dayKey" - @click="openCreate" + @click="generateCurrentDay" > - {{ t('records.topics.create') }} + {{ t('records.topics.summarizeDay') }} @@ -539,7 +547,7 @@ onUnmounted(() => {