docs(chat): describe reply visibility per Replies After Collapse choice

The group-tree JSDoc and the ui-chat README stated that every reply stays outside whole-Turn folding and named only the collapse-timing setting. They now distinguish All replies from Final answer only and link the new setting.
This commit is contained in:
imccyu committed 2026-10-18 23:18:59 +08:00
1 parent 31cca04e6c
commit b5f0c91f3f
4 files changed
+14 -12

No files matched your search

+4 -4
View File
@@ -9,8 +9,8 @@
en: 02bd72c12ada3218
zh: 331b3a38b3ddfc6e
/deepseek-ai-dsh-client-ui-chat/summary:
en: fba5b2fb8080e2dd
zh: 32c337123b7dfbcb
en: 4f2d50107db6c4f8
zh: ea7ccfcce8f1849e
/deepseek-ai-dsh-client-ui-chat/table-of-contents:
en: 41cd21266011d571
zh: 3172d1a2acbb27b7
@@ -30,8 +30,8 @@
en: b4cd36e7ab91281e
zh: 8ccf412b9dde61d5
/deepseek-ai-dsh-client-ui-chat/turn-process-folding:
en: 4cd7c81d70d2f365
zh: 18eca6d16e44b6c2
en: b0d806604bc17006
zh: 18dabe5dc2d0d419
/deepseek-ai-dsh-client-ui-chat/grouped-rendering:
en: 408664597c1480ed
zh: 287a9b981337f288
+3 -3
View File
@@ -10,7 +10,7 @@ Desktop product events use the optional [product analytics service](../product-a
## Summary
Use this package to render a browser chat from recorded Session conversations, including historical images, localized actions, and restored scroll position. Work-details modes control reasoning previews and process visibility without hiding final answers; Verbose keeps completed-turn process rows visible. Local transcript and steering submissions appear immediately, remain in their original surface, and disappear atomically when authoritative Session records arrive, while queued submissions stay outside Chat. The package does not assemble or modify model requests.
Use this package to render a browser chat from recorded Session conversations, including historical images, localized actions, and restored scroll position. Work-details modes control reasoning previews and process visibility without hiding Assistant replies; Verbose keeps completed-turn process rows visible. Local transcript and steering submissions appear immediately, remain in their original surface, and disappear atomically when authoritative Session records arrive, while queued submissions stay outside Chat. The package does not assemble or modify model requests.
File-mention providers receive the viewed Session ID with the closing-turn owner, so links into inherited history can address the fork itself.
@@ -90,9 +90,9 @@ During uninterrupted following, local transcript and steering echoes remain moun
When Chat ends with an open Turn control and that Turn has no visible input, the first local transcript echo precedes the control. Other echoes remain at the flow tail. The control and echoes share one keyed list, so arrival of the control preserves the echo's mounted identity. Durable inputs replace their matching echoes in the same render.
Work-details modes control process-group display and reasoning previews. Compact, Standard, and Detailed fold eligible completed Turns without hiding the final answer; Verbose retains the duration/status header without a collapse action and shows historical process rows directly. The [business-rule reference](src/client/conversation-nodes/README.md#display-modes) contains the mode table, title behavior, whole-Turn eligibility, clocks, and disclosure resets.
Work-details modes control process-group display and reasoning previews. Compact, Standard, and Detailed fold eligible completed Turns while keeping every Assistant reply visible, or only the final answer under Final answer only; Verbose retains the duration/status header without a collapse action and shows historical process rows directly. The [business-rule reference](src/client/conversation-nodes/README.md#display-modes) contains the mode table, title behavior, whole-Turn eligibility, clocks, and disclosure resets.
The Settings row below Work details offers an [independent collapse-timing preference](src/client/conversation-nodes/README.md#collapse-timing), saved through the same Host profile configuration.
The Settings rows below Work details offer an [independent collapse-timing preference](src/client/conversation-nodes/README.md#collapse-timing) and a [Replies After Collapse preference](src/client/conversation-nodes/README.md#folded-replies) (`ui-chat.foldedReplies`, hidden in Verbose), both saved through the same Host profile configuration.
-----
+3 -3
View File
@@ -10,7 +10,7 @@ kind: "package-reference"
## 概述
使用本包可在浏览器中渲染已记录的 Session 对话,包括历史图片、本地化操作和滚动位置恢复。工作步骤展示模式控制思考预览与过程显隐,不隐藏最终答案;完全展开模式保持已完成轮次的过程行可见。本地 transcript(文本记录)与 steering(中途引导)提交会立即显示并保留在原区域,在权威会话记录到达时原子地消失,而排队中的提交始终不进入 Chat。本包不组装或修改模型请求。
使用本包可在浏览器中渲染已记录的 Session 对话,包括历史图片、本地化操作和滚动位置恢复。工作步骤展示模式控制思考预览与过程显隐,不隐藏 Assistant 回复;完全展开模式保持已完成轮次的过程行可见。本地 transcript(文本记录)与 steering(中途引导)提交会立即显示并保留在原区域,在权威会话记录到达时原子地消失,而排队中的提交始终不进入 Chat。本包不组装或修改模型请求。
文件提及提供方同时接收当前查看的会话 ID 与收尾轮次的属主信息,因此继承历史中的链接可以指向 fork 自身。
@@ -90,9 +90,9 @@ Assistant 尝试结束且没有可见消息时,Chat 隐藏已发布的 Node,
Chat 末尾为进行中的 Turn 控制行,且该轮尚无可见输入时,第一条本地 transcript 回显显示在控制行前。其他回显保留在正文末尾。控制行与回显共用一个 keyed 列表,因此控制行到达时不会重新挂载回显。持久输入在同一次渲染中替换匹配的回显。
工作步骤展示模式控制过程组显示与推理预览。简洁、标准、详细模式收起符合条件的已完成轮次,不隐藏最终答案;完全展开模式保留时长或状态抬头,但不支持收起,历史过程行直接显示。[业务规则明细](src/client/conversation-nodes/README.zh.md#display-modes) 统一说明模式表、组头行为、整轮折叠资格、时钟与开合重置。
工作步骤展示模式控制过程组显示与推理预览。简洁、标准、详细模式收起符合条件的已完成轮次,保留所有 Assistant 回复可见,选「仅最终回答」时只保留最终答案;完全展开模式保留时长或状态抬头,但不支持收起,历史过程行直接显示。[业务规则明细](src/client/conversation-nodes/README.zh.md#display-modes) 统一说明模式表、组头行为、整轮折叠资格、时钟与开合重置。
工作步骤展示下方的设置行提供[独立的收起时机设置](src/client/conversation-nodes/README.zh.md#collapse-timing),通过相同的 Host profile 配置保存。
工作步骤展示下方的设置行提供[独立的收起时机设置](src/client/conversation-nodes/README.zh.md#collapse-timing)和[「收起后显示的回复」设置](src/client/conversation-nodes/README.zh.md#folded-replies)(`ui-chat.foldedReplies`,完全展开模式下隐藏),二者都通过相同的 Host profile 配置保存。
-----
@@ -17,8 +17,10 @@ import type { ChatConversationViewNode } from './chat-nodes.ts'
* `assistant-step` Node places its rows without one: its reasoning row joins
* the step run and its reply row stands outside it.
*
* Whole-Turn folding also exempts every `assistant-step` reply row; the
* reasoning row stays in the folded process.
* Whole-Turn folding also exempts reply rows: with the default Replies After
* Collapse choice every `assistant-step` reply row stays visible, and with
* Final answer only just the final answer's reply row does. Reasoning rows
* stay in the folded process in both choices.
*/
export type ChatGroupTree = 'exchange' | 'input' | 'turn' | 'process'