qiufengshe
07d99f5fd2
enhance: get email hash code opimization ( #1137 )
...
(cherry picked from commit 839b92a284d6b103894f6a8a39e5ce1f99bb12fa)
2025-03-31 09:22:57 +08:00
leo
38d87fa1a1
feature: use git stash show -u --name-status <stash_name>
command to query changes in selected stash if git >= 2.32.0
...
Signed-off-by: leo <longshuang@msn.cn>
2025-03-20 21:12:08 +08:00
leo
65dbfd336d
refactor: it's not necessary to store untracked file list for selected stash
...
Signed-off-by: leo <longshuang@msn.cn>
2025-03-20 20:53:30 +08:00
leo
822452a20c
enhance: show inner exception message if possible when check update failed
...
Signed-off-by: leo <longshuang@msn.cn>
2025-03-18 15:55:32 +08:00
leo
a0cddaea80
feature: support --ff-only
option for git merge
command
...
Signed-off-by: leo <longshuang@msn.cn>
2025-03-17 19:53:47 +08:00
leo
7031693489
refactor: pass dirs to watcher directly
...
Signed-off-by: leo <longshuang@msn.cn>
2025-03-17 16:30:16 +08:00
leo
b4ab4afd3a
code_review: PR #1103
...
Since we only use `$GIT_COMMON_DIR` in filesystem watcher, it is unnecessary to store this value in `Repository`, and we can query the `$GIT_COMMON_DIR` only when it looks like a worktree
Signed-off-by: leo <longshuang@msn.cn>
2025-03-17 16:19:59 +08:00
Gadfly
cea8a90680
refactor: use $GIT_COMMON_DIR instead of cut $GIT_DIR/worktrees ( #1103 )
2025-03-17 15:56:13 +08:00
leo
cdd1926e2f
refactor: rewrite git apply
implementation
...
- Do not translate commandline options for `git`
- Re-design combox layout for `git apply` popup
Signed-off-by: leo <longshuang@msn.cn>
2025-03-17 15:30:32 +08:00
leo
ddfc868df3
ux: re-design merge option style
...
Signed-off-by: leo <longshuang@msn.cn>
2025-03-17 15:08:49 +08:00
Gadfly
450dadf76c
feat: Add JSP grammar support and improve TextMateHelper file type handling ( #1100 )
...
- Extend grammar support by allowing multiple file extensions per grammar and adding JSP file type handling.
- Add a new JSON grammar file for JavaServer Pages (JSP) syntax highlighting.
2025-03-17 10:12:44 +08:00
Gadfly
66517fd4bf
enhance: add tooltips to various UI elements for better accessibility ( #1097 )
...
* enhance: add tooltips to various UI elements for better accessibility
* refactor: simplify user string conversion
2025-03-16 11:23:42 +08:00
leo
0e261cffd2
refactor: rewrite the way to deal with uncommitted local changes when checkout/pull/create branch ( #1085 )
...
Signed-off-by: leo <longshuang@msn.cn>
2025-03-13 10:21:54 +08:00
leo
eaa322dfab
enhance: re-design commit search result display ( #1083 )
...
Signed-off-by: leo <longshuang@msn.cn>
2025-03-12 17:57:31 +08:00
leo
ee7ccc0391
refactor: re-write commit searching (part 2)
...
Signed-off-by: leo <longshuang@msn.cn>
2025-03-12 11:05:19 +08:00
leo
5c279b4b56
feature: add global configuration for custom action ( #1077 )
...
Signed-off-by: leo <longshuang@msn.cn>
2025-03-10 21:19:38 +08:00
leo
b75676a7f8
refactor: commit message
...
- move issue tracker and commit hash links parsing to view models
- parsing links async
- make sure matched hash is a valid commit oid
- disable `CHILDREN` row in submodule info panel
Signed-off-by: leo <longshuang@msn.cn>
2025-03-04 16:04:19 +08:00
GadflyFang
7f8372f6b5
enhance: Handle file mode changes for new/deleted file ( #1040 )
2025-03-03 10:38:58 +08:00
leo
25fa223c6b
enhance: better regex for remote URL ( #1039 )
...
Signed-off-by: leo <longshuang@msn.cn>
2025-03-02 10:39:04 +08:00
leo
5199fb2b74
enhance: do NOT remember the last selected handling method of uncommitted local changes ( #977 )
...
Signed-off-by: leo <longshuang@msn.cn>
2025-02-28 22:14:21 +08:00
leo
c6747f72f9
feature: auto-select first change in commit details panel and revision/branch compare panel ( #1019 )
...
Signed-off-by: leo <longshuang@msn.cn>
2025-02-25 10:53:42 +08:00
leo
731f1055bc
feat!: add ptyxis
support ( #1005 )
...
BREAKING CHANGE: Index of `Custom` shell/terminal
Signed-off-by: leo <longshuang@msn.cn>
2025-02-20 11:04:57 +08:00
leo
53f591bdad
ux: add a warning icon when the tracking upstream of a local branch is gone ( #1006 )
...
Co-authored-by: Davide Tentori <dtentori@softeam.it>
2025-02-20 10:14:25 +08:00
leo
c3eca0d7fd
refactor: OpenAI integration ( #996 )
...
- Add `OpenAIResponse` to trim the `<think>...</think>` block
- Add an `Enable Streaming` option to fix the issue that some services do not support streaming output
Signed-off-by: leo <longshuang@msn.cn>
2025-02-19 18:01:16 +08:00
leo
59638eb731
enhance: tag push behavior while creating and deleting ( #999 )
...
- Remember the state of `Push to all remotes after created` checkbox while creating tag
- Remember the state of `Delete from remote repositories` checkbox while deleting tag
- Change default state of `Delete from remote repositories` to `false`
Signed-off-by: leo <longshuang@msn.cn>
2025-02-19 10:35:34 +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
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
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
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
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
GadflyFang
3ca4dc488c
feat: Add stash auto-restore functionality ( #947 ) ( #948 )
2025-02-06 10:31:46 +08:00
GadflyFang
84533599f1
fix: support encoded url in remote ( #938 )
2025-02-06 10:22:01 +08:00
Erica Buckmann
6a1026c992
feature: Add Ghostty to macOS terminals. ( #928 )
2025-01-26 10:42:13 +08:00
leo
fa07bb5b5a
refactor: move per-repository config Enable --prune on fetch
to global git config fetch.prune
( #908 )
...
Signed-off-by: leo <longshuang@msn.cn>
2025-01-25 12:06:48 +08:00
leo
e242119a03
fix: searching by Author & Committer
does not work when the committer is different with author
2025-01-23 16:11:07 +08:00
aikawayataro
90c04f1db2
fix: _
is not parsed in template variable name ( #920 )
2025-01-21 20:01:09 +08:00
leo
8a472cb472
fix: sometimes tags did not update after deleting selected tag ( #908 )
2025-01-15 10:42:35 +08:00
leo
cc5f3ebfa5
refactor: do not run git add
for untracked file while stashing local changes ( #903 )
2025-01-14 17:10:06 +08:00
leo
b26838ff68
refactor: git version related commands
...
* use `--pathspec-from-file=<FILE>` in `git add` command if git >= 2.25.0
* use `--pathspec-from-file=<FILE>` in `git stash push` command if git >= 2.26.0
* use `--staged` in `git stash push` command only if git >= 2.35.0
2025-01-11 17:29:38 +08:00
leo
495b3a9296
refactor: issue tracker configuration ( #884 )
2025-01-09 12:28:07 +08:00
leo
22ba8b3acf
feature: add issue/pr tracker for Gitee.com ( #884 )
2025-01-09 12:04:36 +08:00
leo
5d791b63bf
fix: crach while submodule changed ( #881 )
2025-01-08 12:42:30 +08:00
leo
7a217336dc
enhance: graph color allocation
2025-01-07 15:24:11 +08:00
leo
08a128cd87
feature: add a button to switch tag sort method (creatordate/name asc/name des) ( #865 )
2025-01-06 16:16:27 +08:00
leo
26ebd5ae7e
feature: add option to only highlight current branch in commit graph ( #848 )
...
- add a toggle button to only highlight current branch in commit graph
- re-order buttons in histories toolbar
- remove unused icons and styles
2025-01-06 14:59:27 +08:00
leo
87e7b792bb
refactor: date time format
...
- generate example dynamically
- update commit/author time in histories immediately after data time format changed
2024-12-31 10:43:00 +08:00
leo
ced1737bdc
fix: typo in DataTimeFormat
2024-12-30 20:29:50 +08:00