sourcegit/src/Models
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
..
ApplyWhiteSpaceMode.cs project: reorganize the structure of the project. 2024-04-02 20:00:33 +08:00
AvatarManager.cs code_style: run dotnet format 2024-08-18 23:14:44 +08:00
Blame.cs project: reorganize the structure of the project. 2024-04-02 20:00:33 +08:00
Bookmarks.cs project: reorganize the structure of the project. 2024-04-02 20:00:33 +08:00
Branch.cs enhance: create branch on detached HEAD (#344) 2024-08-09 16:06:28 +08:00
Change.cs refactor: rewrite amend behaviour (#300) 2024-07-31 12:04:52 +08:00
Commit.cs ux: new commit graph decorator style (#564) 2024-10-14 21:09:03 +08:00
CommitGraph.cs ux: re-order built-in graph colors 2024-10-15 19:46:44 +08:00
CommitLink.cs refactor: rewrite commit web link 2024-08-15 10:39:31 +08:00
CommitTemplate.cs code_review: PR #589 2024-10-22 10:06:53 +08:00
ConventionalCommitType.cs feature: add conventional commit message generator (#574) 2024-10-18 16:20:45 +08:00
CRLFMode.cs project: reorganize the structure of the project. 2024-04-02 20:00:33 +08:00
DealWithLocalChanges.cs enhance: change the default action to deal with local changes on pull/checkout/create new branch to Do Nothing (#185) 2024-06-19 15:29:40 +08:00
Decorator.cs feature: add a button to see which branches and tags that contains selected commit (#388) 2024-08-23 16:52:55 +08:00
DiffOption.cs refactor: rewrite amend behaviour (#300) 2024-07-31 12:04:52 +08:00
DiffResult.cs enhance: render highlight background manually instead of using TextRunProperties.SetBackgroundBrush(IBrush) (#364) 2024-08-16 18:59:48 +08:00
ExternalMerger.cs feature: supports get avatar from avatars.githubusercontent.com 2024-08-02 18:06:45 +08:00
ExternalTool.cs feature: supports Zed editor as an external editor (#477) 2024-09-18 10:00:32 +08:00
GPGFormat.cs enhance: GPG signing settings. 2024-06-04 10:20:31 +08:00
Hyperlink.cs code_style: remove unused namespace using 2024-08-21 12:49:55 +08:00
InteractiveRebase.cs refactor: commandline parsing 2024-07-09 12:20:52 +08:00
IRepository.cs refactor: move auto-fetch from global preference to repository settings 2024-09-26 10:50:21 +08:00
IssueTrackerRule.cs refactor: commit sha link in message (#382) 2024-08-21 12:46:36 +08:00
LFSLock.cs enhance: Git LFS support 2024-06-17 18:25:57 +08:00
LFSObject.cs project: reorganize the structure of the project. 2024-04-02 20:00:33 +08:00
Locales.cs Added locale file 2024-09-22 18:56:27 +08:00
MergeMode.cs 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) 2024-10-01 20:44:14 +08:00
Notification.cs refactor: move non-observable object from ViewModels to Models 2024-07-24 11:44:13 +08:00
Null.cs fix: when base is current worktree, the diff content of selected change is wrong 2024-07-27 21:35:57 +08:00
Object.cs code_review: PR (#280) 2024-07-23 19:26:04 +08:00
OpenAI.cs code_review: PR #596 2024-10-24 10:22:06 +08:00
Remote.cs enhance: supports escaped remote url (#575) 2024-10-18 18:02:40 +08:00
RepositorySettings.cs feature: support --signoff for git commit command (#591) 2024-10-23 09:46:27 +08:00
ResetMode.cs ux: reorder reset modes by safety 2024-09-27 09:53:04 +08:00
RevisionFile.cs feature: now image file previewer shows the image size and file size 2024-09-14 16:13:40 +08:00
ShellOrTerminal.cs Add support for WezTerm 2024-09-20 14:13:02 +02:00
Stash.cs fix: try to fix the timezone issue (#229) 2024-07-02 12:30:12 +08:00
Statistics.cs code_style: run dotnet format 2024-09-25 16:24:04 +08:00
Submodule.cs refactor: rename Models.Watcher.UpdateSubmodules to Models.Watcher.SetSubmodules 2024-08-09 11:33:37 +08:00
Tag.cs feature: hover on tag view shows the message of it (#567) 2024-10-17 14:57:05 +08:00
TextInlineChange.cs project: reorganize the structure of the project. 2024-04-02 20:00:33 +08:00
TextMateHelper.cs enhance: only update grammar if it is necessary 2024-10-10 15:42:26 +08:00
ThemeOverrides.cs theme: add ThemeOverrides.OpacityForNotMergedCommits to customize the opacity of commits that not belongs (haven't been merged) to current branch in histories (#268) 2024-07-18 10:46:39 +08:00
User.cs code_style: remove all IDE warnings 2024-07-15 00:30:31 +08:00
Version.cs enhance: supports checking updates with hotfix version 2024-07-23 14:36:27 +08:00
Watcher.cs refactor: move auto-fetch from global preference to repository settings 2024-09-26 10:50:21 +08:00
Worktree.cs code_style: remove all IDE warnings 2024-07-15 00:30:31 +08:00