Commit b944064
fix(ui): improve diff preview for added and deleted files (#49)
Added files no longer trigger broken GapView/TrailingGap context fetches.
Deleted files show a "This file was deleted" banner instead of raw hunks.
Status badges for Added/Deleted now render with tinted backgrounds.
Footer line totals now include uncommitted/untracked files.
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 2f1d498 commit b944064
3 files changed
Lines changed: 26 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
| 118 | + | |
| 119 | + | |
124 | 120 | | |
125 | 121 | | |
126 | 122 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
591 | 591 | | |
592 | 592 | | |
593 | 593 | | |
594 | | - | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
595 | 598 | | |
596 | 599 | | |
597 | 600 | | |
| |||
672 | 675 | | |
673 | 676 | | |
674 | 677 | | |
675 | | - | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
676 | 693 | | |
677 | | - | |
| 694 | + | |
678 | 695 | | |
679 | 696 | | |
680 | 697 | | |
| |||
691 | 708 | | |
692 | 709 | | |
693 | 710 | | |
694 | | - | |
| 711 | + | |
695 | 712 | | |
696 | 713 | | |
697 | 714 | | |
| |||
777 | 794 | | |
778 | 795 | | |
779 | 796 | | |
780 | | - | |
| 797 | + | |
781 | 798 | | |
782 | 799 | | |
783 | 800 | | |
| |||
0 commit comments