Repository navigation
feat(chat): rework the top-level turn fold header - #1817
Merged
Merged
Conversation
added 6 commits
October 22, 2026 17:15
The turn header now reads as a hairline row: status, recorded duration and tool count stay in one left-aligned run, with the disclosure caret trailing the metadata instead of sitting at the far edge of the transcript. Hovering only strengthens the text colour, and the issue count is no longer repeated at this level because the status already names a failure. Nested activity-group headers and their hover fill stay unchanged so the transcript hierarchy below the turn fold is not flattened.
The top-level row no longer bleeds into the gutter, so its fill starts at the prose edge while nested group and run fills keep their 4px hover bleed. The shared 5px gap keeps the turn title on the same text line as the nested titles, and the transcript E2E probes the new content edge and full-width hairline.
The probe compared the header with the padded fixture root, so a correct full-width row could never match. Measure the header against the turn process that owns it instead.
# Conflicts: # docs/adr/turn-process-and-thinking-display.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
改动
验证
node --test test/turn-process-header.test.mjs test/turn-process-header-style.test.mjs test/turn-process.test.mjs test/transcript-style.test.mjs test/transcript-display-modes-ui.test.mjs:66 passed。node node_modules/typescript/bin/tsc -p tsconfig.json --noEmit:通过。node scripts/check-style-tokens.mjs:通过。electron-vite build在本机 Windows 环境的主进程 SSR 打包阶段报child_process: *转换错误;该错误与本次纯渲染层改动无关,当前环境为复用其他 worktree 的依赖树。以 CI 结果为准。风险
仅渲染层展示变更,不涉及持久化、IPC、协议、权限或插件契约。