feat: redesign commit diff view
Rust / build (macos-latest, stable) (push) Canceled after 0s
Rust / build (ubuntu-latest, stable) (push) Canceled after 0s
Rust / build (windows-latest, stable) (push) Canceled after 0s

This commit is contained in:
2026-11-21 20:41:50 +07:00
parent 7691a5a7e1
commit 81a46abbe5
22 changed files with 1080 additions and 265 deletions
+4 -2
View File
@@ -145,7 +145,9 @@ impl RepoHistoryView {
&workspace,
id,
move |window, cx| {
cx.new(|cx| CommitDiffView::new(worktree.clone(), commit_id.clone(), window, cx))
cx.new(|cx| {
CommitDiffView::new(worktree.clone(), commit_id.clone(), true, window, cx)
})
},
window,
cx,
@@ -227,7 +229,7 @@ impl Render for RepoHistoryView {
let detail = detail.clone();
let path = path.clone();
let target = ahead_id.clone();
let short = commit.id.clone();
let short = super::helpers::short_id(&commit.id);
Button::new(("sync-commit", ix))
.label("Sync")