Skip to content

fix(diff): show deleted file hunks#194

Merged
johannesjo merged 1 commit into
johannesjo:mainfrom
FourWindff:deleted-file-diff-view
Jul 1, 2026
Merged

fix(diff): show deleted file hunks#194
johannesjo merged 1 commit into
johannesjo:mainfrom
FourWindff:deleted-file-diff-view

Conversation

@FourWindff

Copy link
Copy Markdown
Contributor

Summary

  • Show deleted file hunks in the diff viewer instead of replacing them with a single deleted-file banner.
  • Align deleted file rendering with added and modified file diff blocks, so the changed code remains visible.
  • Remove the now-unused deleted-file banner styling import.

Why

Deleted files previously only showed a single "This file was deleted" message in the diff block. That made deleted-file diffs inconsistent with added and modified files, and it prevented users from seeing what an agent actually removed.

Test Plan

  • npm run typecheck
  • git diff --check

@johannesjo

Copy link
Copy Markdown
Owner

Thank you very much! <3

@johannesjo johannesjo merged commit bf60990 into johannesjo:main Jul 1, 2026
2 checks passed
@FourWindff FourWindff deleted the deleted-file-diff-view branch July 1, 2026 15:36
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