Commit Graph

3420 Commits

Author SHA1 Message Date
leo
dbedf4bc7b feature: support to open selected file with default editor in CHANGES tab (#1750)
Signed-off-by: leo <longshuang@msn.cn>
2025-08-22 17:04:36 +08:00
leo
63096ebd55 code_review: PR #1756
- Keep translation keys in order
- Add missing translations for zh_CN and en_US
- Rename `WorkingCopy.ClearCommitMessageHistory` to `WorkingCopy.ClearCommitMessageHistoryAsync`
- It's not necessary to use `Dispatcher.UI.Invoke` in event callback

Signed-off-by: leo <longshuang@msn.cn>
2025-08-22 15:57:28 +08:00
ギャップ
c40296946d feat: add clear history button to commit message template/history dropdown (#1756)
* feat: add clear history button to commit message template/history dropdown

- Added ClearCommitMessageHistory method to WorkingCopy ViewModel with user confirmation
- Added "Clear History" menu item to commit message picker dropdown
- Implemented thread-safe collection clearing using Dispatcher.UIThread.Invoke
- Added localization support for clear history button and confirmation dialog
- Follows existing codebase patterns for destructive operations with async/await

* fix: dotnet format
2025-08-22 15:44:38 +08:00
leo
e2cd5bac7b project: upgrade Azure.AI.OpenAI to version 2.3.0-beta.1 (#1755)
Signed-off-by: leo <longshuang@msn.cn>
2025-08-22 13:19:41 +08:00
github-actions[bot]
af760b2a0e doc: Update translation status and sort locale files 2025-08-22 04:30:12 +00:00
Leonardo
c0b1174979 localization: new keys translated to italian (#1754)
(cherry picked from commit 728ba4194042506a61527385f1c9af7acac7c303)
2025-08-22 12:29:47 +08:00
leo
93a2edd8a8 enhance: text search in ComboBox
Signed-off-by: leo <longshuang@msn.cn>
2025-08-22 10:02:47 +08:00
leo
a2f47dfcac code_style: remove warnings reported by JetBrains Rider
Signed-off-by: leo <longshuang@msn.cn>
2025-08-21 23:38:24 +08:00
leo
3f3eaa414f refactor: remove unnecessary converter
Signed-off-by: leo <longshuang@msn.cn>
2025-08-21 22:31:54 +08:00
github-actions[bot]
bd7c2fb40b doc: Update translation status and sort locale files 2025-08-21 02:42:39 +00:00
leo
8ac5896280 refactor: text diff navigation
- Remove navigation by prev/next change of first/last visible block. Always use Block-Navigation
- Remove auto-updating current actived block on text view scrolling
- Auto update current active block when caret position changed
- Clean up unused resources

Signed-off-by: leo <longshuang@msn.cn>
2025-08-21 10:42:16 +08:00
leo
2da8a1d6bf fix: toggle Ignore All Whitespace Changes does not work when there is only whitespace changes (#1752)
Signed-off-by: leo <longshuang@msn.cn>
2025-08-21 09:16:23 +08:00
leo
13d5c5fc6d feature: add a configuration in Preferences window to open LOCAL CHANGES pages by default (#1750)
Signed-off-by: leo <longshuang@msn.cn>
2025-08-20 20:19:07 +08:00
leo
20117a399b refactor: re-write the way to manually update repository immediately (#1720)
Signed-off-by: leo <longshuang@msn.cn>
2025-08-20 19:38:14 +08:00
leo
898528fc92 fix: unable to save selected staged changes to patch
Signed-off-by: leo <longshuang@msn.cn>
2025-08-20 14:25:44 +08:00
leo
065ec2a909 feature: add option to turn off auto-updating current block while scrolling in diff view with Block-Navigation enabled
Signed-off-by: leo <longshuang@msn.cn>
2025-08-19 19:44:40 +08:00
leo
d3610d57c8 ux: change MaxWidth of ContextMenu to 1024
Signed-off-by: leo <longshuang@msn.cn>
2025-08-19 16:41:19 +08:00
leo
6426c57c8c code_style: fix format check
Signed-off-by: leo <longshuang@msn.cn>
2025-08-19 16:00:20 +08:00
leo
6511d15c01 refactor: rewrite text diff view
- Move some data-only code from `Views` to `ViewModels`
- Remove unnecessary attributes
- This commit also contains a feature request #1722

Signed-off-by: leo <longshuang@msn.cn>
2025-08-19 15:53:03 +08:00
leo
5c33198fc7 enhance: remove unnecessary code for moving window on macOS
This has been fix in`AvaloniaUI`. See https://github.com/AvaloniaUI/Avalonia/pull/19447

Signed-off-by: leo <longshuang@msn.cn>
2025-08-18 11:53:58 +08:00
leo
0526ce2777 project: upgrade AvaloniaUI to 11.3.4
Signed-off-by: leo <longshuang@msn.cn>
2025-08-18 10:50:18 +08:00
Sina Hinderks
79cf73e8af fix: Open Terminal on Welcome Page crashed (Windows) (#1740)
Trying to open the Windows Terminal on the Welcome Page crashed with a
`NullReferenceException`.  The code for Windows after the fix is similar
to the corresponding code for Linux.
2025-08-18 10:36:17 +08:00
Sina Hinderks
8a0c2f11ef localization: fix typos in German translations (#1739) 2025-08-18 10:34:10 +08:00
Sina Hinderks
5008bf6bff localization: fix typos for English translations (#1738)
`Friendly` and `delimiter` had typos.
2025-08-18 10:33:52 +08:00
Sina Hinderks
c363a783d2 localization: update German translations (#1737) 2025-08-18 10:33:32 +08:00
Javier J. Martínez M.
2a9ad94178 localization: update spanish translations (#1736)
Add missing translations.
2025-08-18 10:33:16 +08:00
leo
19286942dd code_style: remove unnecessary whitespaces
Signed-off-by: leo <longshuang@msn.cn>
2025-08-15 18:33:40 +08:00
leo
68716eb103 feature: supports to use ⌘+H to hide this app on macOS (#1716)
Signed-off-by: leo <longshuang@msn.cn>
2025-08-15 18:29:01 +08:00
leo
4e01270cc0 feature!: add built-in parameter ${BRANCH_FRIENDLY_NAME} for custom action
- BREAKING CHANGE: Change `${BRANCH}` to pure branch name, which means it not contains the `${REMOTE}` part for remote branch
- Re-design UI/UX for custom action

Signed-off-by: leo <longshuang@msn.cn>
2025-08-15 16:50:21 +08:00
leo
c8da655a51 ux: change blame window layout
Signed-off-by: leo <longshuang@msn.cn>
2025-08-15 13:00:23 +08:00
Javier J. Martínez M.
e5c3ed5b2b localization: update Spanish translations (#1733)
Add missing translations.
2025-08-15 12:59:25 +08:00
leo
f44e8352f4 fix: single-clicking titlebar should not maximize/restore window on macOS
Signed-off-by: leo <longshuang@msn.cn>
2025-08-15 12:58:46 +08:00
AquariusStar
e872054943 localization: update Russian translation (#1731) 2025-08-15 11:06:59 +08:00
leo
8fdacd1f82 fix: sync-scroll in side-by-side text diff view does not work while draging mouse out of the scrollbar
Signed-off-by: leo <longshuang@msn.cn>
2025-08-15 10:50:05 +08:00
leo
d66a083113 feature: support creating custom action for selected remote (#1726)
Signed-off-by: leo <longshuang@msn.cn>
2025-08-14 17:53:11 +08:00
leo
c4ae21ea71 code_style: async method names
Signed-off-by: leo <longshuang@msn.cn>
2025-08-14 16:18:44 +08:00
leo
1522da89a2 refactor: more changes to use async methods
Signed-off-by: leo <longshuang@msn.cn>
2025-08-14 16:10:09 +08:00
leo
237d4bc7e5 feature: support compact folders display mode in changes tree view (#1674) (#1729)
Signed-off-by: leo <longshuang@msn.cn>
2025-08-14 15:22:27 +08:00
leo
ce23e8cb20 refactor: use async methods to commit changes
Signed-off-by: leo <longshuang@msn.cn>
2025-08-14 12:53:16 +08:00
leo
3cce6c50a6 feature: share settings between worktrees (#1665)
NOTE: we can only share settings between worktrees for reading! It means that the repository settings only saved by the main repository not worktrees
Signed-off-by: leo <longshuang@msn.cn>
2025-08-14 12:16:49 +08:00
leo
04055f66c4 refactor!: move local issue tracker rule settings from $GIT_DIR/sourcegit.issuetracker to default repo's git config (#1725)
Signed-off-by: leo <longshuang@msn.cn>
2025-08-14 11:18:50 +08:00
leo
f206167f99 code_style: remove unnecessary empty line
Signed-off-by: leo <longshuang@msn.cn>
2025-08-14 10:48:40 +08:00
github-actions[bot]
bb082a30a4 doc: Update translation status and sort locale files 2025-08-14 02:22:17 +00:00
leo
cf5b708e16 revert: remove remote.<name>.pruneTags configuration support (#1692)
Signed-off-by: leo <longshuang@msn.cn>
2025-08-14 10:21:35 +08:00
leo
5289d01462 localization: update English translation for Text.Remote.PruneTagsOnFetch
Signed-off-by: leo <longshuang@msn.cn>
2025-08-14 10:08:42 +08:00
leo
b03784cc26 ux: alignment and row height changes
Signed-off-by: leo <longshuang@msn.cn>
2025-08-13 21:21:52 +08:00
leo
9ce29bb9bc feature: supports to configure remote.<name>.pruneTags while adding or editing remote (#1692)
Signed-off-by: leo <longshuang@msn.cn>
2025-08-13 21:13:50 +08:00
leo
e87eb8137b fix: try to avoid asking ssh passphrase every time while communicating with remote (#1577)
Signed-off-by: leo <longshuang@msn.cn>
2025-08-13 16:53:54 +08:00
leo
ffa1a36e69 enhance: copy remote names before running auto-fetch
Signed-off-by: leo <longshuang@msn.cn>
2025-08-13 16:48:50 +08:00
leo
2919433a91 code_style: only Commands.DiffTool needs synchronous method Exec
Signed-off-by: leo <longshuang@msn.cn>
2025-08-13 16:13:37 +08:00