From 5c8fd4b726b0a094ffb89ade7d9c55590e720c44 Mon Sep 17 00:00:00 2001 From: Whitewater Date: Fri, 31 Oct 2025 18:31:56 +0800 Subject: [PATCH] fix: enable manual timeline summary override when switching chats (#4636) --- .../ai-chat/components/layouts/ChatHistoryDropdown.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/apps/desktop/layer/renderer/src/modules/ai-chat/components/layouts/ChatHistoryDropdown.tsx b/apps/desktop/layer/renderer/src/modules/ai-chat/components/layouts/ChatHistoryDropdown.tsx index 8dc05cd97..597ff4e99 100644 --- a/apps/desktop/layer/renderer/src/modules/ai-chat/components/layouts/ChatHistoryDropdown.tsx +++ b/apps/desktop/layer/renderer/src/modules/ai-chat/components/layouts/ChatHistoryDropdown.tsx @@ -107,7 +107,12 @@ export const ChatHistoryDropdown = ({ {sessions.map((session) => ( startTransition(() => chatActions.switchToChat(session.chatId))} + onClick={() => + startTransition(() => { + chatActions.setTimelineSummaryManualOverride(true) + chatActions.switchToChat(session.chatId) + }) + } className="group flex h-8 cursor-pointer items-center justify-between rounded-md px-2 py-3" >