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
fa4f0a6bd4
ux: move prompt settings to advanced
...
Signed-off-by: leo <longshuang@msn.cn>
2024-10-25 09:51:51 +08:00
Douglas Cunha
63f75dc589
refactor: improve pt_BR localization clarity and consistency
...
- Refactor pt_BR localization strings for improved clarity and consistency in UI text across various components.
- Add password masking to the API key input field.
2024-10-24 10:17:35 -03: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
adca61c538
ux: re-order items in preference panel
2024-10-12 09:59:19 +08:00
leo
21e15a1af4
feature: add a toggle in perference to show author time instead of committer time in graph ( #558 )
2024-10-12 09:56:33 +08:00
leo
2670bd89d6
ux: add icons for group
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 09:26:50 +08:00
GadflyFang
18e0479288
enhance: reduce Minimum of History Commits setting ( #527 )
2024-09-29 15:23:38 +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
7f87ce3431
ux: move some configuration from GIT
to GENERAL
tab
2024-09-14 12:31:31 +08:00
leo
fb0120d338
refactor: terminal/shell integration ( #471 )
2024-09-14 12:09:50 +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
16f8e2fd0b
feature: simple implementation for generating commit message by OpenAI ( #456 )
2024-09-12 09:42:47 +08:00
leo
ebc112a627
feature: workspace support ( #445 )
2024-09-09 18:26:43 +08:00
leo
e19d025572
code_review: PR #431
...
* move resources and styles for macOS caption button to `CaptionButtonsMacOS` because it is never used by others and should not been changed
* add `IsCloseButtonOnly` property to `CaptionButtons` and `CaptionButtonsMacOS` and replace the controls in windows
2024-09-01 16:54:20 +08:00
Chiahong Hong
2b056ee644
ux: improve macOS window control button colors for a more native look
2024-09-01 13:47:13 +08:00
leo
8f7567a060
feature: do NOT save visual diff context lines
2024-08-25 11:33:38 +08:00
leo
d5e51d1f32
feature: supports using native window frame on Linux ( #390 )
2024-08-22 12:37:26 +08:00
Gadfly
5575adf849
ux: Preference fit to content width
2024-08-21 17:31:27 +08:00
leo
9057b71f2d
refactor: rewrite the font configuration ( #366 )
...
* input font name directly instead of a font picker because localized font family name is not supported by Avalonia
* fallback monospace font to default font
* remove unused code
2024-08-19 17:14:41 +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
6881837c80
ux: increase max font size to 18 ( #346 )
2024-08-09 21:21:28 +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
327b8033b6
rename: rename monospace
style to primary
2024-07-29 20:48:04 +08:00
leo
aea61e0067
feature: add a toggle button in Preference dialog to only use monospace font in code editor ( #292 )
2024-07-29 20:20:27 +08:00
leo
d3095d44c4
ux: macOS close window button icon
2024-07-15 10:27:10 +08:00
leo
a807aa9e12
code_style: remove all IDE warnings
2024-07-14 15:55:15 +08:00
leo
16d9b627f0
refactor: rename Models.CustomColorSchema
to Models.ThemeOverrides
because it do NOT contains only colors currently.
2024-07-08 16:21:57 +08:00
leo
faabfd6b80
enhance: save last visual line numbers in diff view ( #207 )
2024-06-25 18:15:31 +08:00
leo
39eecd66d7
ux: allows users to adjust the height of the commit message input box ( #201 )
2024-06-24 09:40:39 +08:00
leo
dca8f8b39b
feature: warn when commit subject line goes beyond a certain number of characters ( #201 )
2024-06-23 15:45:54 +08:00
leo
c56d0cf85e
refactor: external diff merge tool - supports to use difftool/mergetool settings from git config directly ( #181 )
2024-06-18 12:10:38 +08:00
leo
3afb134037
cleanup: remove duplicated
2024-06-17 19:44:54 +08:00
leo
5bb41ed65f
ux: new style for NumericUpDown
2024-06-14 15:46:52 +08:00
leo
f5b35d3db2
refactor: replace all window with custom ChromelessWindow
2024-06-13 11:54:10 +08:00
leo
7b71f8512d
ux: re-arrange options in apperance page
2024-06-05 18:32:55 +08:00
leo
62e5ed8a42
enhance: supports user overrides the default color schema
2024-06-05 18:23:28 +08:00
leo
4b0af79f73
enhance: GPG signing settings.
...
* remove gpg format settings from repository's local setting
* add support for X.509 format
* ux style
2024-06-04 10:20:31 +08:00
Gadfly
198cf04c09
fix: IsEnabled handler not triggered when GPGFormat changed
2024-05-31 11:39:15 +08:00
Gadfly
80dfa059ce
feat: add gpg format switcher
2024-05-31 00:25:30 +08:00
leo
025d468b40
code_review: PR ( #152 )
2024-05-29 18:53:38 +08:00
Gadfly
2f7ef1ef2b
feat: show tooltip if git version too low
2024-05-29 17:47:34 +08:00
leo
b556feb3d3
enhance: tag creation & pushing ( #141 )
...
* supports creating lightweight tags
* supports GPG signed tags
* add option to push selected tag to all remotes
2024-05-24 10:31:20 +08:00
leo
f4c4c5eb9b
ux: style for auto fetch interval input widget ( #123 )
2024-05-11 17:53:06 +08:00
Gadfly
7520a2a7b6
feat: Add config of auto fetch interval
2024-05-11 17:37:54 +08:00
leo
4a151dd19c
code_style: remove unused name declaration
2024-04-14 20:13:07 +08:00
leo
17fc7ab994
ux: add icons for external merge tools
2024-04-09 15:00:52 +08:00
leo
6811103cf4
ux: use RenderOptions.BitmapInterpolationMode="HighQuality" for shell icons
2024-04-09 13:34:42 +08:00
leo
4882fd9d69
refactor: external tools and shells
...
* rename Models.ExternalMergeTools to Models.ExternalMerger
* supports Git Bash/PowerShell/Command Prompt/Default Shell in Windows Terminal
2024-04-09 10:41:37 +08:00