[PR #374] [MERGED] Diff viewer in Git commit dialog #1281

Closed
opened 2026-04-26 00:16:58 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/mountain-loop/yaak/pull/374
Author: @gschier
Created: 1/29/2026
Status: Merged
Merged: 1/29/2026
Merged by: @gschier

Base: mainHead: omnara/knickers-unable


📝 Commits (3)

  • 9f66327 Add diff viewer to git commit dialog
  • 877da3c Improve commit dialog layout with side-by-side diff pane
  • dd6125d Polish commit dialog selection and diff panel

📊 Changes

10 files changed (+356 additions, -107 deletions)

View changed files

📝 crates/yaak-git/index.ts (+1 -0)
📝 package-lock.json (+41 -0)
📝 plugins/themes-yaak/src/themes/synthwave-84.ts (+0 -3)
src-web/components/core/Editor/DiffViewer.css (+39 -0)
src-web/components/core/Editor/DiffViewer.tsx (+64 -0)
📝 src-web/components/git/GitCommitDialog.tsx (+183 -103)
📝 src-web/components/git/GitDropdown.tsx (+1 -1)
src-web/lib/diffYaml.ts (+15 -0)
📝 src-web/lib/theme/window.ts (+10 -0)
📝 src-web/package.json (+2 -0)

📄 Description

You can now view a visual diff of changes inside the Git commit dialog, making it much easier to reason about what you're about to commit.

CleanShot 2026-01-29 at 08 47 12

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/mountain-loop/yaak/pull/374 **Author:** [@gschier](https://github.com/gschier) **Created:** 1/29/2026 **Status:** ✅ Merged **Merged:** 1/29/2026 **Merged by:** [@gschier](https://github.com/gschier) **Base:** `main` ← **Head:** `omnara/knickers-unable` --- ### 📝 Commits (3) - [`9f66327`](https://github.com/mountain-loop/yaak/commit/9f66327889629fa9cc09736c2d507dc88ce92f5f) Add diff viewer to git commit dialog - [`877da3c`](https://github.com/mountain-loop/yaak/commit/877da3ccaa339e38d527e349eadbdcb1bbdb4663) Improve commit dialog layout with side-by-side diff pane - [`dd6125d`](https://github.com/mountain-loop/yaak/commit/dd6125d85a030c33130145414fa9a7740b5123bd) Polish commit dialog selection and diff panel ### 📊 Changes **10 files changed** (+356 additions, -107 deletions) <details> <summary>View changed files</summary> 📝 `crates/yaak-git/index.ts` (+1 -0) 📝 `package-lock.json` (+41 -0) 📝 `plugins/themes-yaak/src/themes/synthwave-84.ts` (+0 -3) ➕ `src-web/components/core/Editor/DiffViewer.css` (+39 -0) ➕ `src-web/components/core/Editor/DiffViewer.tsx` (+64 -0) 📝 `src-web/components/git/GitCommitDialog.tsx` (+183 -103) 📝 `src-web/components/git/GitDropdown.tsx` (+1 -1) ➕ `src-web/lib/diffYaml.ts` (+15 -0) 📝 `src-web/lib/theme/window.ts` (+10 -0) 📝 `src-web/package.json` (+2 -0) </details> ### 📄 Description You can now view a visual diff of changes inside the Git commit dialog, making it much easier to reason about what you're about to commit. <img width="2254" height="1422" alt="CleanShot 2026-01-29 at 08 47 12" src="https://github.com/user-attachments/assets/12d4678c-c3a9-4e23-91dd-c11417b5e018" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-26 00:16:58 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/yaak#1281