Repository navigation
feat(transcript): flatten edit rows and restore group hierarchy - #1814
Merged
Merged
Conversation
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.
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.
Summary
Edit/Writenow renders as one tool-level review row: the file header is the only header, with its diff body directly beneath it. This removes the duplicateToolRowheader.02-file-ledgerdirection is used: status mark, path, +/− counts, and caret in the only row; Rollback stays and Copy is added for the hunks.command-firstandfully-foldedactivity 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.Validation
node node_modules/typescript/bin/tsc -p apps/desktop/tsconfig.json --noEmit— passed.chat-review-entry,turn-process,transcript-display-modes-ui,active-turn-surface,transcript-style,remote-unified-chat.node ../../scripts/check-style-tokens.mjs— passed.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 approved02-file-ledger.htmldemo was opened directly in Edge; component SSR covers the single-header/no-tool-header DOM.