Commit graph

2588 commits

Author SHA1 Message Date
leo
bc66e24407
project: upgrade AvaloniaUI to 11.2.4
Signed-off-by: leo <longshuang@msn.cn>
2025-02-15 17:43:47 +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
9b07034846
code_review: PR #978
* Remove unnecessary parentheses since the name of relative path uses secondary foreground color already

Signed-off-by: leo <longshuang@msn.cn>
2025-02-13 10:46:28 +08:00
Dmitrij D. Czarkoff
588879eb7f
feat: change worktree presentation (#978)
Present the worktree name first, then relative path to the main repo.

This is more aligned with Git's own UI,  and works better with UI size constrains.
2025-02-13 10:41:08 +08:00
leo
c6aedf1193
ux: right margin of main tab bar on macOS
Signed-off-by: leo <longshuang@msn.cn>
2025-02-12 21:29:17 +08:00
leo
3302bdeb26
localization: remove duplicated keys in de_DE
Signed-off-by: leo <longshuang@msn.cn>
2025-02-12 21:25:57 +08:00
Christopher Göttfert
9757678dcf
localization: added missing german translations (#973)
Co-authored-by: Christopher Göttfert <Christopher.Goettfert@.uni-wuerzburg.de>
2025-02-12 10:59:00 +08:00
AquariusStar
eea55ec56f
localization: update russian localization (#971) 2025-02-12 10:51:06 +08:00
leo
21cfd17cdb
fix: do NOT quit when try to input @ via Alt Gr+Q with German ISO keyboard layout (#970)
Signed-off-by: leo <longshuang@msn.cn>
2025-02-11 18:57:54 +08:00
leo
e9d16a5102
project: upgrade TextMateSharp to 1.0.66 (#969)
Signed-off-by: leo <longshuang@msn.cn>
2025-02-11 16:58:32 +08:00
leo
011a415949
enhance: add a button to clear all notifications (#950)
Signed-off-by: leo <longshuang@msn.cn>
2025-02-11 15:15:27 +08:00
leo
37e5926388
code_style: keep translation ordered
Signed-off-by: leo <longshuang@msn.cn>
2025-02-11 14:41:56 +08:00
leo
06df27780f
localization: update Text.Configure.CustomAction.WaitForExit for en_US
Signed-off-by: leo <longshuang@msn.cn>
2025-02-11 14:36:46 +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
10fba08e43
code_review: PR #949
Signed-off-by: leo <longshuang@msn.cn>
2025-02-11 11:07:33 +08:00
Doodeletion
821063e3ec
Swap selection start and end index if selection is created from bottom to top (#967) 2025-02-11 10:57:20 +08:00
leo
aebfffee00
fix: GUI stops refreshing after manually refresh while merge tool is open (#949)
Signed-off-by: leo <longshuang@msn.cn>
2025-02-10 20:51:36 +08:00
leo
0c8179b934
enhance: add a opened tabs selector popup (#958)
Signed-off-by: leo <longshuang@msn.cn>
2025-02-10 20:06:44 +08:00
leo
e757e63bf7
refactor: launcher tab bar scroller visibility
Signed-off-by: leo <longshuang@msn.cn>
2025-02-10 16:42:42 +08:00
leo
59e4f0d388
refactor: update submodules when branch status changed
Signed-off-by: leo <longshuang@msn.cn>
2025-02-10 14:28:20 +08:00
GadflyFang
bead749c57
enhance: async refresh operations in Watcher (#961) 2025-02-10 14:05:27 +08:00
GadflyFang
ef2e0a8a56
fix: Ignore the Chain-of-Thought in AI response (#952)
- Improve chat response processing to handle thinking patterns using regular expressions.
- Migrate server value by removing trailing '/chat/completions' path.
2025-02-08 17:30:27 +08:00
leo
8cc056d2af
enhance: supports searching/filtering unstaged changes (#960)
Signed-off-by: leo <longshuang@msn.cn>
2025-02-08 17:16:56 +08:00
leo
35abeae758
project: upgrade Azure.AI.OpenAI to 2.2.0-beta.1
Signed-off-by: leo <longshuang@msn.cn>
2025-02-08 16:20:45 +08:00
leo
aa0d066944
enhance: move Create New Page button out of tab list if scroll arrow is visible (#958)
Signed-off-by: leo <longshuang@msn.cn>
2025-02-08 14:55:55 +08:00
leo
2495911bd8
code_style: run dotnet format
Signed-off-by: leo <longshuang@msn.cn>
2025-02-08 12:08:06 +08:00
leo
1f0dd15192
fix: only o1-mini does not supports system prompt
Signed-off-by: leo <longshuang@msn.cn>
2025-02-08 11:57:10 +08:00
leo
a915708db3
refactor: rewrite OpenAI integration
- use `OpenAI` and `Azure.AI.OpenAI`
- use `developer` role instead of `system` for OpenAI's `o1` series models
- use streaming response
- re-design `AIAssistant`

Signed-off-by: leo <longshuang@msn.cn>
2025-02-08 10:03:11 +08:00
leo
f8bc022813
ux: clarify Delete operation for tree node in welcome page (#957)
Signed-off-by: leo <longshuang@msn.cn>
2025-02-07 18:08:07 +08:00
leo
12597fd3e3
code_style: run dotnet format
Signed-off-by: leo <longshuang@msn.cn>
2025-02-07 12:06:29 +08:00
leo
9a36e652e6
fix: add a new interface CanStartDirectly and move this check to StartPopup (#956)
Signed-off-by: leo <longshuang@msn.cn>
2025-02-07 11:56:30 +08:00
leo
8ed7a99923
fix: COMMIT & PUSH should hide when there's no remotes available (#956)
Signed-off-by: leo <longshuang@msn.cn>
2025-02-07 11:45:18 +08:00
leo
8edd955370
code_review: PR #956
* Just use `Check` instead of a new one `AutoCheck`

Signed-off-by: leo <longshuang@msn.cn>
2025-02-07 11:36:30 +08:00
GadflyFang
2105fd450d
fix: when upstream is null show CommitAndPush and stop auto push (#955) (#956) 2025-02-07 11:30:14 +08:00
leo
7089f29b85
refactor: re-implement git stash apply
* supports `--index` option
* add an option to drop selected stash after applying
* remove `Pop` context menu for stash

Signed-off-by: leo <longshuang@msn.cn>
2025-02-06 16:33:55 +08:00
leo
e9297096df
enhance: remember last view mode in file histories view
Signed-off-by: leo <longshuang@msn.cn>
2025-02-06 13:30:56 +08:00
leo
dacbd2a791
enhance: auto-select the first revision in file histories view
Signed-off-by: leo <longshuang@msn.cn>
2025-02-06 13:13:45 +08:00
leo
38a8490d16
code_review: PR #946
Signed-off-by: leo <longshuang@msn.cn>
2025-02-06 13:07:58 +08:00
GadflyFang
9aba737d9e
feat: support compare both revision in FileHistories (#786) (#946) 2025-02-06 11:33:55 +08:00
GadflyFang
65a9406c9a
fix: adjust SHA regex pattern to min 6 chars (#944)
- Adjust the SHA regex pattern to match commit hashes with a minimum length of 6 characters instead of 10.
2025-02-06 10:55:07 +08:00
GadflyFang
3ca4dc488c
feat: Add stash auto-restore functionality (#947) (#948) 2025-02-06 10:31:46 +08:00
GadflyFang
942f349275
enhance: enhance crash logging with detailed system info (#943)
- Enhance crash logging by adding detailed system and process information, including thread name, user, app start time, exception time, and memory usage.
2025-02-06 10:22:34 +08:00
GadflyFang
84533599f1
fix: support encoded url in remote (#938) 2025-02-06 10:22:01 +08:00
leo
e784696058
enhance: add a checkbox to toggle Initialize & update submodules after clone
Signed-off-by: leo <longshuang@msn.cn>
2025-02-06 10:19:43 +08:00
GadflyFang
3af6012561
refactor: Update submodules individually to avoid failures (#925) (#936)
* refactor: Update submodules individually to avoid failures (#925)

- Remove `--recurse-submodules` flag from the clone command to simplify the cloning process.
- Refactor submodule update logic to handle updating all submodules in a loop and improve progress description handling.

* fix: Parse submodule list even if submodule status fails (#935)
2025-02-06 10:08:12 +08:00
GadflyFang
a4157e11e6
fix: Improve in-progress rebase handling (#933)
* fix: Improve in-progress rebase handling

* fix: Close merge popup even if there are conflicts (#941)
2025-02-06 10:00:35 +08:00
Leonardo
9a9f63a787
Add missing keys and general reviewing of the Italian translation (#932)
* update italian translation

* ordered italian translation and removed from md file

* revert edits in translations.md
2025-02-06 10:00:12 +08:00
GadflyFang
4f41f44a9f
fix: add --include-untracked to stash push for specific changes (#931) 2025-02-06 09:51:03 +08:00
GadflyFang
92065dee12
fix: Ensure each ImageView instance calculates its own aspect ratio (#929)
* fix: Ensure each ImageView instance calculates its own aspect ratio

- Modified ArrangeOverride methods in ImageView class to independently calculate and apply the aspect ratio based on the instance's image.

Signed-off-by: Gadfly <gadfly@gadfly.vip>

* fix: Make IgnoredWhitespace toggle button visible based on IsTextDiff

---------

Signed-off-by: Gadfly <gadfly@gadfly.vip>
2025-02-06 09:49:45 +08:00
leo
dd254ebf4f
ux: new attached property MenuItemExtension.Command for MenuItem
Signed-off-by: leo <longshuang@msn.cn>
2025-01-26 14:55:44 +08:00