Skip to content

fix(desktop): show a pull request's added, deleted and renamed files in Review - #4420

Merged
LHagfoss merged 2 commits into
mainfrom
fix/desktop-review-pull-status
Nov 25, 2026
Merged

LHagfoss merged 2 commits into
mainfrom
fix/desktop-review-pull-status

Conversation

@LHagfoss

Copy link
Copy Markdown
Owner

What

Review's PR #N source now reads the diff with pullDiffFiles (the parser the pull request Diff tab already uses) instead of marking every file M. Added, deleted and renamed files show A, D and R. A rename shows old → new in the file header and the tree tooltip, and a binary file says "A binary file: no lines to show." The Uncommitted and Branch sources also pass the old path and binary flag that git_changes already reports.

Changelog

Review shows a pull request's added, deleted, renamed and binary files as such, matching the pull request's Diff tab.

Testing

  • bun run check.
  • Mock, dark theme: staged a worktree on feat/desktop-tauri-harnesses for mock-thread-1 and opened Review › PR feat(desktop): add the Tauri desktop app and external harnesses #2788. The tree reads M icon.png ; A models.ts +450 ; R draft.ts +2 −1 ; M Composer.tsx +5 −2. The rename's header is …/drafts.ts → …/draft.ts, and icon.png shows the binary text.

Closes #4394

@github-actions github-actions Bot added the fix A bug fix label Nov 25, 2026
@LHagfoss
LHagfoss merged commit b6a3fda into main Nov 25, 2026
10 checks passed
@LHagfoss
LHagfoss deleted the fix/desktop-review-pull-status branch November 25, 2026 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix A bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(desktop): show a pull request's added, deleted and renamed files in Review

2 participants