Commit graph

389 commits

Author SHA1 Message Date
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
leo
c058b4744b
feature: allows to change DateTime format (#755) 2024-12-30 17:19:55 +08:00
leo
5081d2fba2
fix: error occurs while using WinMerge as external diff tool with Single instance mode enabled (#842) 2024-12-27 17:40:34 +08:00
leo
1862428a0f
feature: supports Warp terminal on macOS (#829)
Signed-off-by: leo <longshuang@msn.cn>
2024-12-20 10:44:06 +08:00
leo
37bf6dec5e
feature: remember --reflog, --first-parent, --topo-order and --date-order toggle states 2024-12-18 19:49:08 +08:00
leo
31ad317a57
feature: remember the Include Untracked Files toggle state in local changes 2024-12-18 17:30:04 +08:00
leo
5ec8279d38
feature: remember the state of repository sidebar (#823) 2024-12-18 15:33:09 +08:00
leo
e4fb9eeb52
refactor: built-in default avatar 2024-12-18 10:00:25 +08:00
leo
cb3727b524
feature: remember --force check state in git fetch popup (#824) 2024-12-18 09:36:25 +08:00
leo
36ecbcc4e0
enhance: supports self-host git server (#733) 2024-12-10 21:38:06 +08:00
leo
94daa46db9
code_review: PR #793
* do NOT modify the existing merge, and add a new constructor for `Commands.Merge` instead
* rewrite `ViewModels.MergeMultiple`
  - since `_histories.Commits.Find` may returns null, use `List<object>` instead of `List<Models.Commits>`
  - supports display merge target as both `Models.Commit` and `Models.Branch`
* rename translation key `Text.MergeMultiple.Commit` to `Text.MergeMultiple.Targets`, and add translations for zh_CN and zh_TW
* some UI/UX changes
2024-12-09 21:12:58 +08:00
Dmitrij D. Czarkoff
dce33fdf60
feature: merge multiple heads (#793)
* feature: allow merging multiple heads
* feature: allow merging multiple branches from branch tree
2024-12-09 21:04:25 +08:00
leo
15d3ad355d
code_review: PR #703
* change the name of this feature to `Enable Block-Navigation`
* change the icon of the toggle button used to enable this feature
* use a new class `BlockNavigation` to hold all the data about this feature
* create `BlockNavigation` data only when it is enabled

Signed-off-by: leo <longshuang@msn.cn>
2024-12-08 21:02:30 +08:00
Göran W
655d71b0bc
Add navigation and highlighting of change-blocks in Text Diff (#616, #717) (#703)
* Corrected misspelled local variable nextHigh(t)light

* Implemented change-block navigation

* Modified behavior of the Prev/Next Change buttons in DiffView toolbar.
* Well-defined change-blocks are pre-calculated and can be navigated between.
* Current change-block is highlighted in the Diff panel(s).
* Prev/next at start/end of range (re-)scrolls to first/last change-block
(I.e when unset, or already at first/last change-block, or at the only one.)
* Current change-block is unset in RefreshContent().

* Added safeguards for edge cases

* Added indicator of current/total change-blocks in DiffView toolbar

* Added new Icon and String (en-US) for Highlighted Diff Navigation

* Added Preference and ToggleButton for diff navigation style
2024-12-08 17:50:33 +08:00
leo
75e9f1e9a4
feature: show track status in Delete Multiple Branches panel (#785) 2024-12-04 19:14:48 +08:00
leo
315a226365
code_review: PR #759
* code indent
* update README.md
2024-11-28 09:48:07 +08:00
Efrem Ropelato
e66179aeb8
Italian translation (#759) 2024-11-28 09:44:59 +08:00
leo
b2e01f0d3e
feature: add tooltip for SHA in commit message presenter (#734)
Signed-off-by: leo <longshuang@msn.cn>
2024-11-24 21:22:04 +08:00
Dmitrij D. Czarkoff
e3d6ee0f40
fix: better https regex (#735)
Fixes #733
2024-11-24 10:15:17 +08:00