Commit Graph

3138 Commits

Author SHA1 Message Date
leo
501bf03fc7 fix: only trigger deleting tag when pressing Key.Delete or Key.Back (#1412)
Signed-off-by: leo <longshuang@msn.cn>
2025-07-02 18:00:10 +08:00
leo
945c63c78a ux: add badge for global custom actions (#1490)
Signed-off-by: leo <longshuang@msn.cn>
2025-07-02 16:24:48 +08:00
leo
3a1827eb3d code_review: PR #1489
- Remove unnecessary `CallUIThread` in `ViewModels.Clone`
- Code style

Signed-off-by: leo <longshuang@msn.cn>
2025-07-02 13:16:49 +08:00
Nathan Baulch
25afcba44b refactor: auto dispatch notifications to UI thread in Launcher (#1489) 2025-07-02 13:09:30 +08:00
leo
19d82243a9 ux: re-design custom action control editor
Signed-off-by: leo <longshuang@msn.cn>
2025-07-02 11:45:28 +08:00
leo
a3f17f7a7e ux: re-design custom action control editor
Signed-off-by: leo <longshuang@msn.cn>
2025-07-02 11:36:17 +08:00
leo
44ea8cb04a ux: re-design custom action control editor
Signed-off-by: leo <longshuang@msn.cn>
2025-07-02 11:24:45 +08:00
leo
fc188e2344 code_review: PR #1484
- Check `Type` instead of `Name` while selecting external shell/terminal
- External merge tool named `Custom` is not supported
- Add `try-catch` statement to other file pickers in `Preferences` window

Signed-off-by: leo <longshuang@msn.cn>
2025-07-02 10:38:54 +08:00
Enner Pérez
118894907e fix: Custom Shell/Terminal or Diff/Merge Tool crash fix (#1484)
* fix(1483): FilePickerOpenOptions Fix
* fix(1483): Missing Try Cath Block
2025-07-02 10:25:38 +08:00
leo
e1bbbe042d feature: supports to use ComboBox input control in cutom actions (#1482)
Signed-off-by: leo <longshuang@msn.cn>
2025-07-01 22:01:12 +08:00
leo
9a7be7e4ca enhance: prefer to use default clone dir of current workspace (#1454)
Signed-off-by: leo <longshuang@msn.cn>
2025-07-01 20:45:59 +08:00
leo
13215d5c33 fix: double-click change in INFORMATION tab does not switch to CHANGES tab
Signed-off-by: leo <longshuang@msn.cn>
2025-07-01 20:19:32 +08:00
leo
a7fc8effc2 enhance: pre-fill SearchChangeFilter in Dir Histories window (#1470)
Signed-off-by: leo <longshuang@msn.cn>
2025-07-01 16:28:29 +08:00
leo
4c4705a51f enhance: only remember active tab index of commit details panel in HISTORY page
Signed-off-by: leo <longshuang@msn.cn>
2025-07-01 16:19:25 +08:00
leo
d4723eeea2 feature: supports show commit histories under selected folder (#1470)
Signed-off-by: leo <longshuang@msn.cn>
2025-07-01 16:03:27 +08:00
leo
f62eb88cc8 code_style: trim whitespaces at end of line
Signed-off-by: leo <longshuang@msn.cn>
2025-07-01 14:07:51 +08:00
Nathan Baulch
25e6adeb08 enhance: stream directly to files where possible (#1481) 2025-07-01 12:14:10 +08:00
leo
777bba0593 code_review: PR #1478
- Style for `ContentPresenter` in `ItemsControl.Styles` also overrides the default style of TextBox
- Use simple for-each-loop instead of Linq expr

Signed-off-by: leo <longshuang@msn.cn>
2025-07-01 09:44:00 +08:00
Natan-Gorecki
81da026296 enhance: enable focus for custom action edits (#1478) 2025-07-01 09:22:11 +08:00
leo
2a1a53711c fix: OnCommitListKeyDown not triggered when pressing Ctrl+C
Signed-off-by: leo <longshuang@msn.cn>
2025-06-30 21:00:15 +08:00
leo
ae9ce331dc enhance: make sure mouse is hover commit row (not empty area or headers in DataGrid) when trying to open context menu
Signed-off-by: leo <longshuang@msn.cn>
2025-06-30 20:40:04 +08:00
leo
cbee179b5e ux: commit graph clip width
Signed-off-by: leo <longshuang@msn.cn>
2025-06-30 20:31:28 +08:00
leo
ada767db86 feature: remember author column width
Signed-off-by: leo <longshuang@msn.cn>
2025-06-30 20:25:10 +08:00
leo
d1cc83648b refactor: only redraw commit graph when it is necessary
Signed-off-by: leo <longshuang@msn.cn>
2025-06-30 17:27:45 +08:00
leo
09fadea152 fix: add missing key-down event
Signed-off-by: leo <longshuang@msn.cn>
2025-06-30 16:23:07 +08:00
leo
4e47235596 fix: should use Alt instead of in hotkey bindings (#1476)
Signed-off-by: leo <longshuang@msn.cn>
2025-06-30 16:12:47 +08:00
leo
63affefed8 enhance: auto-scroll to selected commit
Signed-off-by: leo <longshuang@msn.cn>
2025-06-30 15:56:31 +08:00
leo
af1788e746 fix: selecting issue within cells
Signed-off-by: leo <longshuang@msn.cn>
2025-06-30 15:21:48 +08:00
leo
93ffbdd21d refactor: use DataGrid instead of ListBox displaying history commits
Sometimes, `Grid.IsSharedSizeScope` does not work when navigating to the first commit

Signed-off-by: leo <longshuang@msn.cn>
2025-06-30 15:01:18 +08:00
leo
61372e2ffd code_review: PR #1472
Move `Commands.IsCommitSHA` testing from `Commands.QuerySingleCommit` to `ViewModels.Repository.StartSearchCommits`,  because we only need test the SHA user typed in

Signed-off-by: leo <longshuang@msn.cn>
2025-06-30 10:06:13 +08:00
Sina Hinderks
8602ba2fc3 fix: searching for tree/blob hash never-ending (#1472)
Searching for a tree or blob hash instead of a commit hash created a
seemingly never-ending search (internally an exception was thrown).

Examples for non-ending searches in the SourceGit repository itself are
searching for 6b83a0a (that is the tree "src" of commit 190d2ee) or
e686a53 (that is the file ".gitignore" in the tree of commit 190d2ee).
2025-06-30 10:00:32 +08:00
AquariusStar
32086bfc41 localization: update russian translate (#1475) 2025-06-30 09:55:50 +08:00
Javier J. Martínez M.
51bff8c6dd localization: update spanish translations (#1474)
add missing translations
2025-06-30 09:55:28 +08:00
Sina Hinderks
f26f4d1ed1 localization: update German translations (#1471) 2025-06-30 09:54:28 +08:00
github-actions[bot]
0d9bf3c927 doc: Update translation status and sort locale files 2025-06-28 04:38:30 +00:00
leo
133b69de4a feature: supports to copy selected folder path in changes and rename searching by file to searching by path (#1470)
Signed-off-by: leo <longshuang@msn.cn>
2025-06-28 12:38:03 +08:00
Nathan Baulch
1acf2a14df code_style: general cleanup (#1469) 2025-06-28 10:25:56 +08:00
leo
5f9d181a6c ux: use simple TextBox instead of NameHighlightedTextBlock for commit message histories
Signed-off-by: leo <longshuang@msn.cn>
2025-06-27 17:03:59 +08:00
leo
019b4836e4 ux: show built-in parameters for Default field of TextBox and Path Selector (#1466)
Signed-off-by: leo <longshuang@msn.cn>
2025-06-27 16:21:45 +08:00
leo
042ae5cc29 code_style: run dotnet format
Signed-off-by: leo <longshuang@msn.cn>
2025-06-27 16:12:57 +08:00
leo
0a8323bc1b enhance: supports to use $REPO in Default field of TextBox/PathSelector in custom actions (#1466)
Signed-off-by: leo <longshuang@msn.cn>
2025-06-27 16:05:50 +08:00
leo
b31495b89b fix: wrong pattern to fill input control's value to custom action commandline arguments (#1467)
Signed-off-by: leo <longshuang@msn.cn>
2025-06-27 16:02:56 +08:00
leo
0729c3044a enhance: supports to use ${BRANCH}/${COMMIT}/${TAG} in Default field of TextBox/PathSelector in custom actions (#1466)
Signed-off-by: leo <longshuang@msn.cn>
2025-06-27 15:58:00 +08:00
leo
b0a80e41ee ux: always show the scope target of custom action (#1466)
Signed-off-by: leo <longshuang@msn.cn>
2025-06-27 15:37:20 +08:00
leo
f36ab4a189 feature: remember main window position (#1315)
Signed-off-by: leo <longshuang@msn.cn>
2025-06-26 17:42:02 +08:00
Sina Hinderks
2e6c9d7d89 localization: update German translations (#1464) 2025-06-26 14:26:14 +08:00
leo
0e22503b22 feature: warn users when checking out new branch with commits not connected to any branches (#1463)
Signed-off-by: leo <longshuang@msn.cn>
2025-06-26 12:58:31 +08:00
leo
67efe76b97 fix: mismatch of local repo name after cloning git-bundle without specifying Local Name (#1460)
Signed-off-by: leo <longshuang@msn.cn>
2025-06-26 10:21:57 +08:00
leo
054d5e41f3 feature: warn when creating commit on a detached HEAD (#1462)
Signed-off-by: leo <longshuang@msn.cn>
2025-06-26 10:13:12 +08:00
leo
271f02b694 refactor: apply input control value from end to start
For example, this will avoid applying the first parameter to $10 - $19

Signed-off-by: leo <longshuang@msn.cn>
2025-06-26 09:28:39 +08:00