Skip to content

Open a per-file diff tab from a commit's file list - #318

Merged
frenchie4111 merged 1 commit into
ness-dev:mainfrom
tresat:tt/view-diffs-from-commit-history
Oct 8, 2026
Merged

frenchie4111 merged 1 commit into
ness-dev:mainfrom
tresat:tt/view-diffs-from-commit-history

Conversation

@tresat

@tresat tresat commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

The Commits panel's commit popover listed changed files but the only thing you could do with one was copy its path. Now each row carries an open-diff button, and right-clicking offers both "Open diff in tab" and "Copy path".

The tab renders one file's slice of the commit (^ vs ) in Monaco side-by-side, read-only. No new IPC: getCommitFileDiffSides already existed for ReviewDiffPane, and DiffView's router just needed to stop treating commitHash as "whole commit, ignore filePath".

Threaded as an optional callback, so the terminal's SHA popover and the mobile panel keep copy-on-click.

The Commits panel's commit popover listed changed files but the only
thing you could do with one was copy its path. Now each row carries an
open-diff button, and right-clicking offers both "Open diff in tab" and
"Copy path".

The tab renders one file's slice of the commit (<hash>^ vs <hash>) in
Monaco side-by-side, read-only. No new IPC: getCommitFileDiffSides
already existed for ReviewDiffPane, and DiffView's router just needed
to stop treating commitHash as "whole commit, ignore filePath".

Threaded as an optional callback, so the terminal's SHA popover and the
mobile panel keep copy-on-click.
@frenchie4111
frenchie4111 self-requested a review October 8, 2026 14:48
@frenchie4111
frenchie4111 merged commit e1b79cf into ness-dev:main Oct 8, 2026
1 check passed
@frenchie4111 frenchie4111 mentioned this pull request Oct 9, 2026
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.

2 participants