Skip to content

feat(transcript): flatten edit rows and restore group hierarchy - #1814

Merged
Tioit-Wang merged 1 commit into
mainfrom
feat/edit-tool-two-level
Oct 22, 2026
Merged

Tioit-Wang merged 1 commit into
mainfrom
feat/edit-tool-two-level

Conversation

@Tioit-Wang

Copy link
Copy Markdown
Collaborator

Summary

  • A review-backed workspace Edit/Write now renders as one tool-level review row: the file header is the only header, with its diff body directly beneath it. This removes the duplicate ToolRow header.
  • The approved 02-file-ledger direction is used: status mark, path, +/− counts, and caret in the only row; Rollback stays and Copy is added for the hunks.
  • command-first and fully-folded activity groups restore the released v0.20.1 hierarchy: 12px child-row indent and a left collapse rail that is invisible at rest and shows a 2px bar on hover/focus; clicking it collapses the group.
  • Updated review/subagent render paths, CSS, tests, and the English/zh-CN specs and ADRs.

Validation

  • node node_modules/typescript/bin/tsc -p apps/desktop/tsconfig.json --noEmit — passed.
  • Targeted Node tests — 76 passed / 0 failed:
    chat-review-entry, turn-process, transcript-display-modes-ui,
    active-turn-surface, transcript-style, remote-unified-chat.
  • node ../../scripts/check-style-tokens.mjs — passed.
  • Desktop production build (electron-vite build) — passed.
  • git diff --check — passed.
  • node scripts/check-pr-base-main.mjs — passed.

Not run: verify:ui:* and a live Electron visual pass. The approved 02-file-ledger.html demo was opened directly in Edge; component SSR covers the single-header/no-tool-header DOM.

A review-backed Edit or Write now renders as a single tool-level review row: the file header is the only disclosure header, with its diff body directly beneath it. This removes the duplicate generic tool row while keeping rollback and adding a copy action for the hunks.

The command-first and fully-folded group bodies restore the released v0.20.1 12px child indent and left hover/focus collapse rail, so non-command tools keep their two-level hierarchy without adding a third disclosure.
@Tioit-Wang
Tioit-Wang merged commit 8c7cfd0 into main Oct 22, 2026
6 checks passed
@vastsa
vastsa deleted the feat/edit-tool-two-level branch November 6, 2026 04:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant