From 8acb924f8217bc33487ff63e628992b1f96c0bce Mon Sep 17 00:00:00 2001 From: creatixchu Date: Fri, 31 Jul 2026 18:09:31 +0800 Subject: [PATCH] doc(ui-conversation): note that the settling exemption spans every open state --- .../ui-conversation/src/client/skeleton/ConversationRoot.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/client/ui-conversation/src/client/skeleton/ConversationRoot.tsx b/packages/client/ui-conversation/src/client/skeleton/ConversationRoot.tsx index a48ae13dd6..5d8a1d36cf 100644 --- a/packages/client/ui-conversation/src/client/skeleton/ConversationRoot.tsx +++ b/packages/client/ui-conversation/src/client/skeleton/ConversationRoot.tsx @@ -69,6 +69,9 @@ export function ConversationRoot({ // Exemption: a session the list summary already proves blank can only // land on the hero, so hiding would blank the column for the whole // history round-trip (the startup auto-selection flash) for nothing. + // The exemption is deliberately open-state-wide, not loading-only: a + // summary-blank session is the hero before its open starts (`cold`) and + // after one fails (`error`) for the same reason — there is no history. const settling = sessionId !== undefined && composerPhase === 'blank' && openState === 'loading' && summaryBlank !== true const hero = sessionId === undefined