fix(webui): avoid remounting outgoing conversations (#6540)
* fix(webui): avoid remounting outgoing conversations Reset subtask disclosure state within its session scope instead of keying the entire transcript before the stream message handoff. Cover the outgoing DOM lifecycle and disclosure reset with unit and browser regressions. Resolves NAN-396 * fix(webui): reset transcript UI on message ownership changes Keep the selected conversation separate from the owner of currently rendered messages. Reset the message subtree only when its owner changes, so cached and forked conversations get fresh UI state without remounting outgoing diffs. Extend the history-only caller and cover cached fork activity isolation while retaining the outgoing-DOM regression.
This commit is contained in:
1 parent
8b37976d36
commit
c1ed649b81
10 files changed
+165
-16
No files matched your search
@@ -589,6 +589,7 @@ export function ThreadShell({
|
||||
}, [chatId, onTurnEnd]);
|
||||
const {
|
||||
messages,
|
||||
messagesKey,
|
||||
messagesReady,
|
||||
isStreaming,
|
||||
runStartedAt,
|
||||
@@ -1499,6 +1500,7 @@ export function ThreadShell({
|
||||
<ThreadViewport
|
||||
ref={viewportRef}
|
||||
messages={displayMessages}
|
||||
messagesKey={messagesKey}
|
||||
navigation={promptNavigation}
|
||||
navigationFrame={navigationFrame}
|
||||
temporary={temporary}
|
||||
|
||||
Reference in new issue
Block a user