Commit Graph

24 Commits

Author SHA1 Message Date
leo
40765826ce code_review: PR #1492
- Remove all synchronous method in commands
- `Command.ReadToEndAsync` now is protected method
- Rename `ResultAsync` to `GetResultAsync`
- Call `ConfigureAwait(false)` when there's no context

Signed-off-by: leo <longshuang@msn.cn>
2025-07-03 17:30:06 +08:00
Nathan Baulch
463e304491 feature: async (#1492)
* Async command methods
* Async `Task.Run` where possible
* Remove redundant `Task.Run` in `Sure` methods
* Remove leftover braces and reformat
* Async event handlers as needed
2025-07-03 15:38:39 +08:00
Nathan Baulch
ec17ea9901 code_style: general cleanup (#1497) 2025-07-03 10:32:03 +08:00
Nathan Baulch
25afcba44b refactor: auto dispatch notifications to UI thread in Launcher (#1489) 2025-07-02 13:09:30 +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
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
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
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
leo
295718effe code_style: execute custom action has nothing to do with git command
Signed-off-by: leo <longshuang@msn.cn>
2025-06-25 19:22:57 +08:00
leo
ad7aaa34f0 feature: add Tag scope for custom actions (#1457)
Signed-off-by: leo <longshuang@msn.cn>
2025-06-25 17:46:26 +08:00
leo
676785f8b1 feature: support to use input control in custom action
Signed-off-by: leo <longshuang@msn.cn>
2025-06-25 16:28:54 +08:00
leo
d304c50e7f enhance: show custom action output in popup
Signed-off-by: leo <longshuang@msn.cn>
2025-05-21 00:16:19 +08:00
leo
119b0fe95c feature: log output of custom action if Wait for action exit enabled (#1334)
Signed-off-by: leo <longshuang@msn.cn>
2025-05-20 09:17:00 +08:00
leo
5fd074a9b6 refactor: use view locator instead of creating views manually in viewmodels (#1213)
Signed-off-by: leo <longshuang@msn.cn>
2025-04-19 11:14:19 +08:00
leo
8b39df32cc feature: git command logs
Signed-off-by: leo <longshuang@msn.cn>
2025-04-17 13:23:56 +08:00
leo
e65cb50495 fix: use \ as path delim on Windows when executing custom actions (#1077)
Signed-off-by: leo <longshuang@msn.cn>
2025-03-10 17:48:02 +08:00
leo
9104060d79 feature: support add custom actions for selected branch (#980)
Signed-off-by: leo <longshuang@msn.cn>
2025-02-14 10:43:08 +08:00
leo
af20ab2448 feature: add Wait for action done option to control whether or not to wait for the custom action execution to complete (#951)
Signed-off-by: leo <longshuang@msn.cn>
2025-02-11 14:34:14 +08:00
leo
2f9e825b63 refactor: pass Models.Commit instead of just sha of it
Signed-off-by: leo <longshuang@msn.cn>
2024-11-01 18:10:22 +08:00
leo
a36058ec51 feature: supports custom actions (#638)
Signed-off-by: leo <longshuang@msn.cn>
2024-11-01 17:23:31 +08:00