ybeapps
a363f67f31
bug: fix int out of bounds for branch names with long numbers ( #612 )
2024-10-28 19:24:43 +08:00
leo
6cc0c54ac1
enhance: remember last selection of some options while stashing changes ( #610 )
...
Signed-off-by: leo <longshuang@msn.cn>
2024-10-28 17:55:32 +08:00
leo
1044915be1
refactor: OpenAI integration
...
* supports configure multiple services
* supports select service when generate commit message by OpenAI
Signed-off-by: leo <longshuang@msn.cn>
2024-10-28 11:00:11 +08:00
leo
a8ae887320
fix: wrong merge command for Meld
( #603 )
...
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
Localization Check / localization-check (push) Waiting to run
Signed-off-by: leo <longshuang@msn.cn>
2024-10-27 16:56:38 +08:00
GadflyFang
c08c307c7a
enhance: add GitLab Issue/MR sample rules ( #598 )
...
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
* enhance: add GitLab Issue/MR sample rules
* fix: remove blank in zh_CN
---------
Signed-off-by: Gadfly <gadfly@gadfly.vip>
2024-10-24 18:07:04 +08:00
leo
d3d71af0e8
enhance: only alloc temp buffer once time ( #597 )
...
Signed-off-by: leo <longshuang@msn.cn>
2024-10-24 17:07:30 +08:00
leo
76a7a2228f
feature: use numeric sorting for all trees ( #597 )
...
Signed-off-by: leo <longshuang@msn.cn>
2024-10-24 15:11:10 +08:00
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
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
728d003717
code_review: PR #589
...
* do not using namespace `SourceGit.*`
* should use branch instead of repository
2024-10-22 10:06:53 +08:00
Luis Frey
a8a7775b83
feature: add ${branch_name} option to commit templates ( #589 )
2024-10-22 09:44:53 +08:00
leo
6dac26d525
refactor: since there is a hotkey to stage and commit, remove the unsafe auto-stage configure
2024-10-22 09:29:49 +08:00
leo
7c253637fc
enhance: supports escaped remote url ( #575 )
Continuous Integration / Build (push) Has been cancelled
Continuous Integration / Prepare version string (push) Has been cancelled
Continuous Integration / Package (push) Has been cancelled
2024-10-18 18:02:40 +08:00
leo
9153bbe07f
feature: add conventional commit message generator ( #574 )
2024-10-18 16:20:45 +08:00
leo
f6e0b0b1c0
feature: hover on tag view shows the message of it ( #567 )
2024-10-17 14:57:05 +08:00
leo
9bccb34ca7
ux: re-order built-in graph colors
2024-10-15 19:46:44 +08:00
leo
f5912c655f
ux: default graph colors
2024-10-15 10:23:41 +08:00
leo
ccdc849baa
code_style: run dotnet format
2024-10-15 09:39:01 +08:00
leo
6908216de5
ux: new commit graph decorator style ( #564 )
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-14 21:09:03 +08:00
leo
cc66afe5e2
fix: ${files:N}
will always be replaced with the first change path ( #487 )
...
* wrong loop index passed to `changes`
2024-10-14 15:31:29 +08:00
leo
93706449be
enhance: only update grammar if it is necessary
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-10 15:42:26 +08:00
leo
d746e352a7
feature: supports to set default remote to push local branches without any tracking remotes ( #534 )
2024-10-02 15:13:27 +08:00
leo
d3991c6535
fix: use --no-ff --no-commit
for Don't Commit
option in merge popup to ensure branch is not changed or updated with fast-forward commits ( #532 )
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-01 20:44:14 +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
268dd9849d
enhance: better margin of commit subject ( #528 )
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 19:56:16 +08:00
leo
fbfca7b4a5
enhance: better graph for ended orphan branch ( #528 )
2024-09-29 18:41:50 +08:00
leo
4b5d65cdb7
refactor: rewrite Models.CommitGraph.PathHelper
( #528 )
2024-09-29 18:16:28 +08:00
leo
fe015f9bfd
fix: endpoint of a graph path has been added twice ( #528 )
2024-09-29 16:45:50 +08:00
leo
027844f4c5
ux: reorder reset modes by safety
2024-09-27 09:53:04 +08:00
leo
4a08caddad
update: description for git reset --merge
2024-09-26 14:49:15 +08:00
leo
1cda5d858e
feature: add --merge
and --keep
support to git reset
command ( #514 )
2024-09-26 11:29:32 +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
85b83990a8
code_style: run dotnet format
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 16:24:04 +08:00
leo
a52ebffbf3
ux: layout for Statistics
window
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-24 20:50:53 +08:00
leo
c0f59c441b
feature: allow user to select the chart fill color
2024-09-24 12:14:51 +08:00
leo
de15cb1ff2
ux: use column series instead of line series because change between samples is not linear
2024-09-24 11:02:49 +08:00
leo
1b63da45e5
ux: disable line smoothness in Statistics
2024-09-24 09:40:55 +08:00
leo
308445fa81
ux: fill brush for line chart ( #493 )
2024-09-23 21:54:02 +08: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
Михаил Усоцкий
977b800c89
Added locale file
2024-09-22 18:56:27 +08:00
leo
0b6ecc0388
code_style: typo in s_extraGrammars
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-21 22:04:50 +08:00
leo
80017d8bd0
code_style: simplify Models.TextMateHelper
2024-09-21 22:02:50 +08:00
leo
4a3620db5e
refactor: rewrites the built-in grammar extension
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-21 16:34:00 +08:00
Jens Fischer
0dbca4fe47
Add syntax highlighting for Haxe
2024-09-20 16:30:40 +02:00
leo
e011b1807a
Merge pull request #495 from Gama11/feature/wezterm
...
Add support for WezTerm
2024-09-20 21:51:59 +08:00
Jens Fischer
a8a85613fc
Add support for WezTerm
2024-09-20 14:13:02 +02:00
Jens Fischer
535dc1ef49
Add syntax highlighting for Kotlin
2024-09-20 13:51:05 +02: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
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
Aikawa Yataro
736ad02991
enhance: allow to specify custom terminal
2024-09-16 12:06:33 +00:00
leo
4b182e6ecd
fix: http System.InvalidOperationException ( #476 )
2024-09-16 15:41:49 +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
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
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
leo
998230edff
code_style: simplify static commands used by styles and main menu; run dotnet format
2024-09-02 20:27:12 +08: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
3ea80d99f1
code_style: remove unused namespace using and run dotnet format
2024-08-28 13:42:25 +08:00
leo
7776cda475
enhance: using lightweight ListBox
instead of DataGrid
to improve performance
2024-08-27 21:28:48 +08:00
leo
1dd782bc42
fix: wrong graph when there's only one commit
2024-08-26 17:26:02 +08:00
UchiTesting
847a355a3e
style(locale): Add French locale
...
Added resource file and updated the code to declare the new French resource.
Include a 1st batch of translation.
2024-08-24 13:39:31 +02:00
leo
6ab0900b20
feature: add a button to see which branches and tags that contains selected commit ( #388 )
2024-08-23 16:52:55 +08:00
leo
e6f3ab5e68
ux: different node in graph ( #395 )
2024-08-23 10:22:53 +08:00
leo
323dc2e87f
code_review: PR #386
...
* rename `FirstParentFilterToggled` to `EnableFirstParentInHistories`
* remove `FirstParentFilterEnabled` from repo settings - it should not been saved
* move toggle button from repository toolbar to histories switcher
* tooltip translations
* new icon for `Icons.FirstParentFilter`
* extends commit graph to support `--first-parent` option
2024-08-21 19:45:32 +08:00
Yitzchak Ben-Ezra
d21cc2c96a
first-parent-filter
...
need help in two issues:
1. use better icon - I just reused the Filter icon
2. lines of merge commits are still rendered - need to skip them since they don't link to any commit when filter enabled. I didn't manage to solve by my own right now
2024-08-21 09:04:35 +03:00
leo
7e4eca9691
code_style: remove unused namespace using
2024-08-21 12:49:55 +08:00
leo
191763e1d8
refactor: commit sha link in message ( #382 )
...
* remove the built-in commit issue tracker rule
* hyperlink in commit message now supports commit sha
2024-08-21 12:46:36 +08:00
leo
48adad53b4
feature: supports the commit hash issue tracker ( #382 )
...
Using issue tracker instead of built-in supported commit web link is based on the following reasons
* repo may have multiple remotes
* it is not good to open an context menu to choose which web to visit with multiple remotes
* some remote servers are not supported by this app
2024-08-21 10:44:07 +08:00
leo
d4a9343eaf
feature: add an option to enable --recurse-submodules=check
on push ( #345 )
2024-08-20 15:20:58 +08:00
leo
84b8735d6c
code_style: run dotnet format
2024-08-18 23:14:44 +08:00
leo
7fe1df20cc
refactor: delay starting background tasks
...
* start background task only it is needed
* solve the problem that we can not use `ViewModels.Preference.Instance` until resource ready
* remove avatar sever settings
2024-08-18 23:10:54 +08:00
leo
fe9f4f5743
refactor: rewrite the way using extension to get custom grammars
2024-08-18 09:33:40 +08:00
leo
39fba17648
enhance: text editor ( #365 )
...
* support extra grammars.
* avoid crashing on text editor detached from visual tree
2024-08-18 00:18:18 +08:00
leo
ed7465def5
enhance: render highlight background manually instead of using TextRunProperties.SetBackgroundBrush(IBrush)
( #364 )
2024-08-16 18:59:48 +08:00
leo
b3327ebeb5
feature: supports commit template ( #264 )
2024-08-15 18:59:35 +08:00
leo
0c6af27b40
refactor: rewrite the way to find external editors ( #347 )
...
* do not find tools from environment variables since it needs a lot of works on some platforms, such as macOS
* add `external_editors.json` to allow user configure paths directly
2024-08-15 11:32:26 +08:00
leo
bf6ac4d20d
refactor: rewrite commit web link
...
* add support for Bitbucket
2024-08-15 10:39:31 +08:00
leo
34a598d421
feature: add commit web links ( #357 )
2024-08-13 17:15:17 +08:00
leo
202aa379f8
fix: can not select the entire content of commit message
2024-08-13 12:08:33 +08:00
leo
de2f70b8ea
feature: supports display tags in a tree ( #350 )
2024-08-11 18:12:58 +08:00
leo
f59af0afcf
enhance: only when the repository has submodules will the submodule information be updated at the same time after the branch information changes
2024-08-11 10:15:43 +08:00
leo
747c8054f5
fix: submodule status is not updated when branch changed ( #339 )
2024-08-09 18:29:04 +08:00
leo
ed2d3279e1
enhance: create branch on detached HEAD ( #344 )
2024-08-09 16:06:28 +08:00
leo
c596427380
fix: ahead/behind indicator of commit in histories view not updated after upstream changed
2024-08-09 15:17:04 +08:00
leo
ce7420354d
fix: local changes do not updated after submodule changed ( #339 )
2024-08-09 14:34:19 +08:00
leo
d37f53a4f3
fix: local changes do not updated after submodule changed ( #339 )
2024-08-09 14:28:10 +08:00
leo
a75d50bf97
refactor: rename Models.Watcher.UpdateSubmodules
to Models.Watcher.SetSubmodules
...
* run `dotnet format`
2024-08-09 11:33:37 +08:00
leo
1fe2be11a7
refactor: rewrite submodule to support IsDirty
state ( #339 )
2024-08-08 21:11:10 +08:00
leo
6bd0920d71
feature: enable syntax highlighting in revision files view ( #333 )
2024-08-08 10:12:39 +08:00
leo
0450931655
enhance: avoid refetch avatar for noreply@github.com
2024-08-06 15:40:07 +08:00
leo
85d3f0993c
refactor: load default github avatar
2024-08-05 20:12:41 +08:00
leo
dfd098e131
refactor: merge sourcegit.issuetracker.setting to sourcegit.settings.
2024-08-05 18:18:57 +08:00
leo
cd9196bb84
feature: supports get avatar from avatars.githubusercontent.com
...
* move all images to `src/Resources/Images` folder
2024-08-02 18:06:45 +08:00
leo
eb437df9fe
enhance: reduce commits loading time for interactive rebase
2024-08-01 18:05:58 +08:00