Commit graph

2748 commits

Author SHA1 Message Date
leo
84fda6a8db
feature: add property RestoreOnStartup property to ViewModels.Workspace (#488) 2024-09-18 21:35:33 +08:00
leo
900ebd8282
feature: supports parameters in commit template (#487)
- ${files_num} will be replaced with staged changes count
- ${files} will be replaced with changed file paths
- ${files:N} will be replaced with top N changes file paths and with `and {TOTAL - N} other files` at end of replaced string.
2024-09-18 20:11:34 +08:00
leo
6932ce44a9
fix: new window opened on failing fetch due to missing StrictHostKeyChecking=accept-new for repo remote without private ssh key (#485) 2024-09-18 17:19:55 +08:00
leo
bbd4012bc5
enhance: do NOT create sub-nodes for detached HEAD 2024-09-18 16:02:38 +08:00
leo
69b39dac6c
code_style: simpfy FindTerminal
* [macOS] should return `string.Empty` when failed to find terminal path
* [Linux] use `shell.Type` instead of `shell.Exec` to skip custom terminal detection
2024-09-18 15:26:28 +08:00
leo
9c6745c271
enhance: skip auto fetching when index.lock file exists in the repository's git dir 2024-09-18 14:49:53 +08:00
leo
ba9c3058ed
feature: supports Zed editor as an external editor (#477) 2024-09-18 10:00:32 +08:00
leo
a00cf4f009
ux: add custom terminal icon 2024-09-17 22:58:28 +08:00
leo
934d784d40
fix: unable to access the Stage/Unstage buttons in diff viewer when line wrap is enabled (#481)
* disable line wrap in side-by-side diff mode
2024-09-17 22:26:35 +08:00
leo
bc633e4085
code_review: PR #480
* remove `string.IsNullOrEmpty(OS.ShellOrTerminal)` checking from detail backend since it has been checked by `Native.OS.OpenTerminal`
* remove `ViewModels.Preference.IsTerminalConfigured` because it is only used by itself (Unlike `IsGitConfigured`).
* add `Native.OS.TestShellOrTerminal` and use it instead of setting `Preference.ShellOrTerminal` directly, because we have binded a callback that will save preference into file when its property changed. It may cause lag in some enviroments if we saving preference into file too frequently (see PR #436).
* run `dotnet format`
2024-09-17 22:09:51 +08:00
leo
65c2087f6b
Merge pull request #480 from aikawayataro/terminal-fixes
Few terminal fixes
2024-09-17 21:21:40 +08:00
Aikawa Yataro
54ab625931
enhance: select any terminal when none is set 2024-09-17 07:20:17 +00:00
Aikawa Yataro
736ad02991
enhance: allow to specify custom terminal 2024-09-16 12:06:33 +00:00
Aikawa Yataro
53c915578e
enhance: allow terminal without full path and adjust error message 2024-09-16 11:55:50 +00:00
Aikawa Yataro
4deac98c4e
fix: crash when trying to open terminal from the Welcome screen 2024-09-16 08:51:39 +00:00
leo
67b3952080
hotfix: Release 8.30.1 2024-09-16 15:48:23 +08:00
leo
4b182e6ecd
fix: http System.InvalidOperationException (#476) 2024-09-16 15:41:49 +08:00
leo
82ae44ff8b
Merge branch 'master' into develop 2024-09-16 10:57:16 +08:00
leo
94f75d7017
Merge branch 'release/v8.30' 2024-09-16 10:55:40 +08:00
leo
8393d7eb91
version: Release 8.30 2024-09-16 10:55:16 +08:00
leo
74a9be0667
Merge pull request #475 from NilsPvR/develop
Add DE keys for new OpenAI commit message generation
2024-09-16 10:49:47 +08:00
leo
80366f90ca
Merge pull request #474 from ChiahongHong/traditional-chinese
localization: update zh_TW.axaml
2024-09-16 10:49:07 +08:00
NilsPvR
0055ddbaa7 localization: add DE keys for OpenAI msg gen
- were added in 16f8e2f
2024-09-15 20:18:22 +02:00
Chiahong Hong
fd116914d5
localization: update zh_TW.axaml 2024-09-15 22:11:23 +08:00
leo
1a4d3d0086
enhance: remember the height/width of commit list and detail panel in histories page (#472) 2024-09-14 17:22:29 +08:00
leo
6d92b7fc8c
ux: image info text layout 2024-09-14 16:15:53 +08:00
leo
d6b21bad17
feature: now image file previewer shows the image size and file size 2024-09-14 16:13:40 +08:00
leo
7f87ce3431
ux: move some configuration from GIT to GENERAL tab 2024-09-14 12:31:31 +08:00
leo
2bea686436
fix: wrong name for iTerm2 icon 2024-09-14 12:18:22 +08:00
leo
fb0120d338
refactor: terminal/shell integration (#471) 2024-09-14 12:09:50 +08:00
leo
817f8919fd
enhance: add Content-Type to OpenAI request headers 2024-09-13 20:50:11 +08:00
leo
ab54ecee42
enhance: API Key is now optional
- Update README.md by adding tips for using OpenAI in this project
2024-09-13 20:46:00 +08:00
leo
6fc972cc24
Merge pull request #470 from gadfly3173/fix/ai-window
fix: AIAssistant window height sometimes wrong
2024-09-13 18:02:12 +08:00
Gadfly
4f47658e70
fix: AIAssistant window height sometimes wrong 2024-09-13 17:59:29 +08:00
leo
1ec5cc416d
enhance: leave remote branch to empty when the local branch tracks no branch in the remote while pulling changes (#469) 2024-09-13 17:29:24 +08:00
leo
ab8b27c1f8
Merge pull request #468 from aikawayataro/aot-switch
Allow to disable native AOT deployment
2024-09-13 16:07:21 +08:00
Aikawa Yataro
79d3083b0d
project: allow to disable native AOT deployment 2024-09-13 07:33:31 +00:00
leo
5c2583db67
enhance: notify user when try to generate commit message by OpenAI but not files are added to commit 2024-09-13 15:26:12 +08:00
leo
cc6e486663
enhance: do NOT modify repository's local configuration if it is equals to default value 2024-09-13 15:20:52 +08:00
leo
886b242b66
enhance: added cancellation logic to the OpenAI chat response API call. 2024-09-13 14:25:38 +08:00
leo
f7f549f86d
enhance: change tooltip's alignment to Top to avoid issue #467 2024-09-12 17:40:25 +08:00
leo
8a20a7a542
ux: set Focusable by XAML instead of hard coded 2024-09-12 17:05:05 +08:00
leo
ea3a6a4755
feature: auto focus the next change after stage/unstage selected changes (#464) 2024-09-12 16:33:56 +08:00
leo
dcddc5a2f2
ux: OpenAI button layout 2024-09-12 11:51:07 +08:00
leo
b09d1d46c9 fix: openpgp typo (#465) 2024-09-12 11:03:56 +08:00
leo
676835dee5
enhance: do NOT modify global .gitconfig if value equals git default (#465) 2024-09-12 10:33:52 +08:00
leo
86c6254fb2
Merge branch 'feature/openai-support' into develop 2024-09-12 09:50:13 +08:00
leo
16f8e2fd0b
feature: simple implementation for generating commit message by OpenAI (#456) 2024-09-12 09:42:47 +08:00
leo
84b3de657f
read: add scale factor tips for Linux users 2024-09-11 20:32:10 +08:00
leo
a63450f73f
Merge pull request #460 from gadfly3173/fix/configure-workspace
fix: ConfigureWorkspace window width (#458)
2024-09-11 11:09:14 +08:00