leo
12bb915bd8
code_review: PR #596
...
- Add `ViewModels.Preference.PrepareOpenAIPrompt()` method to generate default prompt instead of a const fallback value. Therefore, it is more convenient for us to modify the default value in the Preference dialog.
- Modify the default prompts. Rename `SubjectPrompt` to `GenerateSubjectPrompt`. Rename `SummaryPrompt` to `AnalyzeDiffPrompt`.
- Rewrite the way to build OpenAI user content for subject generation
Signed-off-by: leo <longshuang@msn.cn>
2024-10-24 10:22:06 +08:00
Douglas Cunha
2f68aed817
feat: improve commit message generation with AI prompts ( #596 )
...
- Refactor the commit message generation process to utilize default prompts and enhance clarity while eliminating redundancy.
- Added new properties for subject and summary prompts, while improving cancellation support in async task handling.
- feat: add AI prompts for commit message generation.
- Updated the formatting of the package reference for consistency in the project file.
- Add properties for managing OpenAI subject and summary prompts in the Preference view model.
- Refactor layout and add new input fields for AI subject and summary prompts in the preferences view.
2024-10-24 09:31:05 +08:00
leo
a5594130ed
code_style: run dotnet format
...
Signed-off-by: leo <longshuang@msn.cn>
2024-10-23 15:28:09 +08:00
leo
06fd49ba92
feature: support --signoff
for git commit
command ( #591 )
...
Signed-off-by: leo <longshuang@msn.cn>
2024-10-23 09:46:27 +08:00
leo
b9d7f908c9
refactor: do NOT use the --prune
parameter for git fetch
command ( #590 )
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
2024-10-22 16:54:21 +08:00
leo
077e35b860
code_style: allowEmpty
is not needed any more
2024-10-22 15:01:20 +08:00
leo
3b1a54dffd
refactor: use git update-ref $LOCAL_BRANCH $REMOTE_BRANCH
instead of git fetch $REMOTE $LOCAL_BRANCH $REMOTE_BRANCH
to fast-forward local branch without checkout it first.
2024-10-21 16:20:34 +08:00
Dmitrij D. Czarkoff
bb6ceb03b9
fix: Display all parents even if there are more then 2 ( #583 )
2024-10-21 15:38:30 +08:00
leo
67b6a6d9d5
refactor: using custom PATH
instead of reading it from zsh
( #581 )
...
* run `echo $PATH > ~/Library/Application\ Support/SourceGit/PATH` to generate to custom PATH file for SourceGit
2024-10-21 15:31:13 +08:00
leo
45869c27b8
enhance: ignore untracked files when staging all changes with INCLUDE UNTRACKED FILES
turned off ( #577 )
2024-10-20 18:32:05 +08:00
leo
3da52208ba
enhance: force enable --patch
option
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
2024-10-17 19:20:14 +08:00
leo
fa2eb0cd26
enhance: use --prune=now
instead of --prune
for git gc
command
2024-10-17 15:50:42 +08:00
leo
f6e0b0b1c0
feature: hover on tag view shows the message of it ( #567 )
2024-10-17 14:57:05 +08:00
leo
b6468e310b
code_style: rewrite Commands.QueryTags.ParseLine
2024-10-15 16:41:25 +08:00
leo
5bad969bb7
refactor: use '\0' instead of '$' to split fields
2024-10-15 16:26:44 +08:00
leo
ccdc849baa
code_style: run dotnet format
2024-10-15 09:39:01 +08:00
leo
a232f50755
feature: try to read PATH
from zsh
2024-10-14 16:59:20 +08:00
leo
5fef6e93b9
enhance: cherry-pick ( #563 )
...
* supports to cherry-pick a merge commit
* add option to enable the `-x` parameter
2024-10-14 15:20:02 +08:00
leo
c2b17ef9d0
fix: changing the repository URL only changes the fetch URL if push URL using a different URL ( #553 )
2024-10-11 10:03:42 +08:00
leo
4d14302929
refactor: remove scope parameter while getting git configuration ( #544 )
2024-10-09 14:20:43 +08:00
leo
249706c1ef
fix: turn off GPG Signing
when create a new tag does not work if tag.gpgsign
is enabled
2024-10-09 11:55:24 +08:00
leo
8ddf6e87e9
enhance: set GIT_SSH_COMMAND
only if it has not been provided ( #544 )
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
2024-10-08 16:19:03 +08:00
aikawayataro
3951549e5c
enhance: append to PATH on MacOS instead of overriding it ( #546 )
2024-10-08 16:07:50 +08:00
leo
af099af4d0
refactor: stash selected changes in staged group will apply --staged
paramter for git stash push
( #535 )
2024-10-03 18:28:01 +08:00
leo
4e57cd50cd
feature: add an option to clean up ignored files when discard all changes in repo ( #531 )
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
2024-10-02 21:46:48 +08:00
leo
2d24244ee2
enhance: auto-update submodules if possible after checking out a branch ( #531 )
...
* add `--recurse-submodules` to checkout branch command
* remove unused method `Commands.Checkout.Files`
* code style
2024-10-01 22:10:10 +08:00
leo
d2a005c532
feature: add a button in diff view to ignore all whitespace changes (--ignore-all-space)
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
2024-09-30 11:34:09 +08:00
leo
f2f8a64b84
refactor: read git output once time instead of line-by-line
2024-09-30 09:27:15 +08:00
leo
986c27e1cb
code_style: code style of Models.CommitGraph
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
2024-09-29 22:44:50 +08:00
leo
9a8f4e20fb
feature: add hotkey Alt+Enter/⌥+Enter
to auto stage all local changes and then commit ( #521 )
2024-09-27 22:21:56 +08:00
leo
130c98ad40
feature: supports search commit only in current branch
2024-09-27 11:17:02 +08:00
leo
1ba294a07b
refactor: move auto-fetch from global preference to repository settings
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
2024-09-26 10:50:21 +08:00
leo
28c59ee0ab
code_style: move the code to initialize informations to spawn git sub-process to function Models.Command.CreateGitStartInfo
2024-09-25 10:57:37 +08:00
leo
a8685f2047
refactor: rewrite the way to support HomeBrew pathes on macOS ( #507 )
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
2024-09-25 10:35:07 +08:00
leo
6151f4dc5f
refactor: a new way to test if this app should be launched as a SSH askpass client
2024-09-24 15:53:36 +08:00
leo
94a8139578
enhance: increase the number of commits to analyze in OVERVIEW
tab to 40K
2024-09-24 10:00:31 +08:00
Jens Fischer
49d5b679fc
Respect .mailmap files in statistics
...
see https://git-scm.com/docs/gitmailmap
2024-09-23 16:28:07 +02:00
leo
af57c56cd7
feature: enhanced statistics panel ( #493 )
...
* replace the `YEAR` tab with `OVERVIEW` tab, which will analyze most recent 20K commits
* use `LiveChartsCore.SkiaSharpView.Avalonia` instead of a custom chart view
2024-09-23 21:45:44 +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
fb0120d338
refactor: terminal/shell integration ( #471 )
2024-09-14 12:09:50 +08:00
leo
886b242b66
enhance: added cancellation logic to the OpenAI chat response API call.
2024-09-13 14:25:38 +08:00
leo
16f8e2fd0b
feature: simple implementation for generating commit message by OpenAI ( #456 )
2024-09-12 09:42:47 +08:00
Yitzchak Ben-Ezra
8c9e8e5dbc
Reset to Parent Revision
...
* support reset to parent revision for Added files too
* support reset to parent revision in Files tab
* support reset to parent revision in Changes - now supports Renamings too
now it behaves more like git-extensions
2024-08-30 15:42:24 +03:00
leo
3d57398d15
refactor: show statistics data by authors intead of committers
2024-08-28 18:38:29 +08:00
leo
83b802e357
refactor: collect the commits for the most recent year instead of just the current year ( #414 )
2024-08-28 18:16:57 +08:00
leo
c90abd0ca2
refactor: commit search
...
* no longer depends on the commits displayed in histories view
* limit the number of commits returned by all search methods to a maximum of 1000
2024-08-28 16:56:43 +08:00
leo
ce2340456e
feature: cherry-pick multiple commits ( #418 )
2024-08-28 11:26:00 +08:00
leo
b16d267c9b
enhance: show git errors when failed to get the repository root dir of given path ( #397 )
2024-08-27 15:35:10 +08:00
leo
e136d05789
enhance: using -- <pathspec>...
instead of --pathspec-from-file=<file>
( #404 )
2024-08-24 20:58:35 +08:00
leo
1caf02ff06
code_style: remove unused namespace using and run dotnet format
2024-08-23 22:26:17 +08:00