Commit Graph

3451 Commits

Author SHA1 Message Date
leo
0c9e6283f1 enhance: allow to use arrow up/down to select workspace/tab after switcher popups (#1711)
Signed-off-by: leo <longshuang@msn.cn>
2025-08-28 15:29:54 +08:00
leo
7c0f280ac2 ux: tooltip for local branch without upstream (#1774)
Signed-off-by: leo <longshuang@msn.cn>
2025-08-28 14:57:56 +08:00
leo
64295a9d28 refactor: rewrite the way to checkout untracked/new-added file from stash
Signed-off-by: leo <longshuang@msn.cn>
2025-08-28 14:42:36 +08:00
github-actions[bot]
8f647f834a doc: Update translation status and sort locale files 2025-08-28 03:34:11 +00:00
leo
0a397c4ebc ux: always show tab selector button and use single-clicking instead of double-clicking to select item in list (#1711)
Signed-off-by: leo <longshuang@msn.cn>
2025-08-28 11:33:22 +08:00
leo
786ca316f5 fix: wrong flags to query commits for interactive-rebase (#1765)
Signed-off-by: leo <longshuang@msn.cn>
2025-08-27 20:58:27 +08:00
leo
ee657f5d5c enhance: use Parent instead of find TextDiffView first before find first ThemedTextDiffPresenter
Signed-off-by: leo <longshuang@msn.cn>
2025-08-27 17:57:31 +08:00
leo
bb52b0d06b feature: allow to scroll text diff view to clicked position in minimap bar (#1679)
Signed-off-by: leo <longshuang@msn.cn>
2025-08-27 17:08:36 +08:00
leo
352a28701b ux: new tooltip style for local branch
Signed-off-by: leo <longshuang@msn.cn>
2025-08-27 16:18:27 +08:00
leo
1e373505bf feature: allow to disable auto-hide feature in ScrollBar (#1769)
Signed-off-by: leo <longshuang@msn.cn>
2025-08-27 15:54:51 +08:00
leo
ecfe9145a3 fix: modified/renamed issue tracker rule can not be saved (#1768)
This commit also change the way to save modified issue tracker - It will be saved when closing the `Repository Configuration` dialog.

Signed-off-by: leo <longshuang@msn.cn>
2025-08-27 15:33:03 +08:00
leo
aa26885514 code_style: remove unused namespace using
Signed-off-by: leo <longshuang@msn.cn>
2025-08-27 12:13:53 +08:00
leo
baaa402579 ux: show tab status icon description in tooltip (#1767)
Signed-off-by: leo <longshuang@msn.cn>
2025-08-27 12:05:41 +08:00
leo
2df1830ffc enhance: try load lfs image from local cache first before loading it by git lfs smudge command
Signed-off-by: leo <longshuang@msn.cn>
2025-08-27 11:40:25 +08:00
leo
764265160b ux: use DarkCyan instead of Cyan for worktree-linked branch
Signed-off-by: leo <longshuang@msn.cn>
2025-08-26 19:35:53 +08:00
leo
5d9740ac7c ux: change icon color for worktree-linked branch (#1761)
Signed-off-by: leo <longshuang@msn.cn>
2025-08-26 18:11:16 +08:00
leo
50211312d5 feature: supports --no-verify option while committing (#1762)
Signed-off-by: leo <longshuang@msn.cn>
2025-08-26 16:36:52 +08:00
leo
ae737b675b enhance: better indication and context-commands for worktree-linked branch (#1761)
- For worktree-linked branch, `Checkout xyz` will be replaced with `Switch to xyz (worktree)`
- Show worktree path in tooltip of worktree-linked branch
- Add context menu entry `Open` for selected worktree

Signed-off-by: leo <longshuang@msn.cn>
2025-08-26 15:03:35 +08:00
leo
db9b13cbce fix: sometimes group header disappeared
Signed-off-by: leo <longshuang@msn.cn>
2025-08-26 10:47:51 +08:00
leo
d3b4541746 fix: binding diagnostics warnings
Signed-off-by: leo <longshuang@msn.cn>
2025-08-26 10:27:40 +08:00
leo
1f4ec10e6a code_style: readability
Signed-off-by: leo <longshuang@msn.cn>
2025-08-25 17:39:31 +08:00
leo
b00bf2a0ec feature: supports to read OpenAI API key from env (#1748)
Signed-off-by: leo <longshuang@msn.cn>
2025-08-25 17:18:21 +08:00
leo
c631c2d1a4 feature: auto-sanitize branch/tag name (#1753)
Signed-off-by: leo <longshuang@msn.cn>
2025-08-25 15:50:13 +08:00
leo
39a49c4263 ux: use WrapPanel instead of VirtualizingStackPanel for history filters (#1712)
Signed-off-by: leo <longshuang@msn.cn>
2025-08-25 14:39:11 +08:00
leo
14adc2361a enhance: warn users if they are using vimdiff or nvimdiff as external merge/diff tool (#1742)
Signed-off-by: leo <longshuang@msn.cn>
2025-08-25 12:39:01 +08:00
leo
b07e2c2f5f feature: add a new button Paste (Replace all) to paste commit message from clipboard (#1169)
Signed-off-by: leo <longshuang@msn.cn>
2025-08-25 11:34:04 +08:00
Göran W
a916403618 enhance: make NumericSort use InvariantCulture instead of Ordinal comparison (#1724)
Ordinal comparison sorts non-alphanumeric chars (like underscore etc) differently than expected (i.e compared to filesystem sorting etc).
InvariantCulture comparison corrects this, without imposing cultural differences. (A possible alternative would be CurrentCulture comparison.)
The earlier code, when comparing a single digit-char against non-digit-char, used char.CompareTo() where the comparison method can not be specified.
To fix this, we now use the same Comparer for all non-all-digits string comparisons.
2025-08-25 09:59:28 +08:00
leo
291e32e36f enhance: cancel the running event when a new same refresh event occurs (#1760)
Signed-off-by: leo <longshuang@msn.cn>
2025-08-24 11:10:53 +08:00
AquariusStar
f1c2a19539 localization: update Russian translation (#1759) 2025-08-23 15:29:58 +08:00
leo
19ce2d0bbd refactor: simplify BlockNavigation.UpdateByCaretPosition
Signed-off-by: leo <longshuang@msn.cn>
2025-08-22 17:41:08 +08:00
leo
c72a151825 ux: use fixed width for commit history context menu
Signed-off-by: leo <longshuang@msn.cn>
2025-08-22 17:11:21 +08:00
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