feat(ui): unify change comparisons and compact message actions

Branch comparisons could retain an old base or omit local edits, while Changes and walkthrough selected their sources independently.

Share branch and commit selectors across both panels, honor exact refs, include local branch edits, and support first-parent commit diffs with the latest 50 commits. Compact message metadata and move touch actions into a shared sheet.

Validated with workspace type-check, lint and build, focused Git and UI tests, and maintainer testing in the app.
This commit is contained in:
Bohdan Triapitsyn
2026-09-09 17:41:14 +03:00
parent ec7db447bd
commit 0b899d1153
45 changed files with 2131 additions and 599 deletions
+1
View File
@@ -54,6 +54,7 @@ export const createWebGitAPI = (): GitAPI => ({
return gitApiHttp.getGitLog(directory, options);
},
getCommitFiles: gitApiHttp.getCommitFiles,
getGitCommitDiff: gitApiHttp.getGitCommitDiff,
getCurrentGitIdentity: gitApiHttp.getCurrentGitIdentity,
hasLocalIdentity: gitApiHttp.hasLocalIdentity,
setGitIdentity: gitApiHttp.setGitIdentity,