|
4533 | 4533 | { |
4534 | 4534 | "type": "object", |
4535 | 4535 | "properties": { |
| 4536 | + "generateCommitMessage": { |
| 4537 | + "type": "boolean" |
| 4538 | + }, |
4536 | 4539 | "graph": { |
4537 | 4540 | "type": "boolean" |
4538 | 4541 | }, |
|
4701 | 4704 | "graph": true |
4702 | 4705 | }, |
4703 | 4706 | "scmRepositoryInline": { |
| 4707 | + "generateCommitMessage": true, |
4704 | 4708 | "graph": true, |
4705 | | - "stash": false |
| 4709 | + "stash": true |
4706 | 4710 | }, |
4707 | 4711 | "scmRepository": { |
4708 | 4712 | "authors": true, |
|
6011 | 6015 | }, |
6012 | 6016 | { |
6013 | 6017 | "command": "gitlens.ai.generateCommitMessage", |
6014 | | - "title": "Generate Commit Message...", |
| 6018 | + "title": "Generate Commit Message", |
6015 | 6019 | "category": "GitLens" |
6016 | 6020 | }, |
6017 | 6021 | { |
|
6577 | 6581 | }, |
6578 | 6582 | { |
6579 | 6583 | "command": "gitlens.graph.ai.generateCommitMessage", |
6580 | | - "title": "Generate Commit Message..." |
| 6584 | + "title": "Generate Commit Message" |
6581 | 6585 | }, |
6582 | 6586 | { |
6583 | 6587 | "command": "gitlens.graph.associateIssueWithBranch", |
|
7388 | 7392 | }, |
7389 | 7393 | { |
7390 | 7394 | "command": "gitlens.scm.ai.generateCommitMessage", |
7391 | | - "title": "Generate Commit Message with GitLens..." |
| 7395 | + "title": "Generate Commit Message with GitLens", |
| 7396 | + "icon": "$(sparkle)" |
7392 | 7397 | }, |
7393 | 7398 | { |
7394 | 7399 | "command": "gitlens.shareAsCloudPatch", |
@@ -10338,11 +10343,11 @@ |
10338 | 10343 | }, |
10339 | 10344 | { |
10340 | 10345 | "command": "gitlens.ai.generateChangelog", |
10341 | | - "when": "gitlens:enabled && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && gitlens:gk:organization:ai:enabled" |
| 10346 | + "when": "gitlens:enabled && !gitlens:untrusted && gitlens:gk:organization:ai:enabled" |
10342 | 10347 | }, |
10343 | 10348 | { |
10344 | 10349 | "command": "gitlens.ai.generateCommitMessage", |
10345 | | - "when": "gitlens:enabled && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && gitlens:gk:organization:ai:enabled && config.gitlens.ai.generateCommitMessage.enabled" |
| 10350 | + "when": "gitlens:enabled && !gitlens:readonly && !gitlens:untrusted && gitlens:gk:organization:ai:enabled && config.gitlens.ai.generateCommitMessage.enabled" |
10346 | 10351 | }, |
10347 | 10352 | { |
10348 | 10353 | "command": "gitlens.annotations.nextChange", |
|
13813 | 13818 | }, |
13814 | 13819 | { |
13815 | 13820 | "command": "gitlens.scm.ai.generateCommitMessage", |
13816 | | - "when": "gitlens:enabled && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && gitlens:gk:organization:ai:enabled && config.gitlens.ai.generateCommitMessage.enabled && config.gitlens.menus.scmRepository.generateCommitMessage", |
| 13821 | + "when": "gitlens:enabled && !gitlens:readonly && !gitlens:untrusted && gitlens:gk:organization:ai:enabled && config.gitlens.ai.generateCommitMessage.enabled && config.gitlens.menus.scmRepository.generateCommitMessage", |
13817 | 13822 | "group": "4_gitlens@4" |
13818 | 13823 | } |
13819 | 13824 | ], |
@@ -15967,15 +15972,20 @@ |
15967 | 15972 | } |
15968 | 15973 | ], |
15969 | 15974 | "scm/title": [ |
| 15975 | + { |
| 15976 | + "command": "gitlens.scm.ai.generateCommitMessage", |
| 15977 | + "when": "scmProvider == git && gitlens:enabled && config.gitlens.ai.generateCommitMessage.enabled && config.gitlens.menus.scmRepositoryInline.generateCommitMessage && gitlens:gk:organization:ai:enabled && !gitlens:readonly && !gitlens:untrusted", |
| 15978 | + "group": "navigation@-3" |
| 15979 | + }, |
15970 | 15980 | { |
15971 | 15981 | "command": "gitlens.stashSave", |
15972 | 15982 | "when": "scmProvider == git && gitlens:enabled && config.gitlens.menus.scmRepositoryInline.stash && !gitlens:hasVirtualFolders && !gitlens:readonly && !gitlens:untrusted", |
15973 | | - "group": "navigation@-1001" |
| 15983 | + "group": "navigation@-2" |
15974 | 15984 | }, |
15975 | 15985 | { |
15976 | 15986 | "command": "gitlens.showGraph", |
15977 | 15987 | "when": "scmProvider == git && gitlens:enabled && config.gitlens.menus.scmRepositoryInline.graph && gitlens:plus:enabled && scmProviderRootUri not in gitlens:plus:disallowedRepos", |
15978 | | - "group": "navigation@-1000" |
| 15988 | + "group": "navigation@-1" |
15979 | 15989 | }, |
15980 | 15990 | { |
15981 | 15991 | "command": "gitlens.addAuthors", |
|
15994 | 16004 | }, |
15995 | 16005 | { |
15996 | 16006 | "command": "gitlens.scm.ai.generateCommitMessage", |
15997 | | - "when": "scmProvider == git && gitlens:enabled && config.gitlens.ai.generateCommitMessage.enabled && config.gitlens.menus.scmRepository.generateCommitMessage && gitlens:gk:organization:ai:enabled && !gitlens:hasVirtualFolders && !gitlens:readonly && !gitlens:untrusted", |
| 16007 | + "when": "scmProvider == git && gitlens:enabled && config.gitlens.ai.generateCommitMessage.enabled && config.gitlens.menus.scmRepository.generateCommitMessage && gitlens:gk:organization:ai:enabled && !gitlens:readonly && !gitlens:untrusted", |
15998 | 16008 | "group": "2_z_gitlens@4" |
15999 | 16009 | }, |
16000 | 16010 | { |
|
16254 | 16264 | }, |
16255 | 16265 | { |
16256 | 16266 | "command": "gitlens.views.ai.generateChangelogFrom", |
16257 | | - "when": "viewItem =~ /gitlens:(branch|tag)\\b/ && gitlens:gk:organization:ai:enabled", |
| 16267 | + "when": "viewItem =~ /gitlens:(branch|tag)\\b/ && gitlens:gk:organization:ai:enabled && !gitlens:untrusted", |
16258 | 16268 | "group": "1_gitlens_actions_3@100" |
16259 | 16269 | }, |
16260 | 16270 | { |
|
16715 | 16725 | }, |
16716 | 16726 | { |
16717 | 16727 | "command": "gitlens.views.ai.generateChangelog", |
16718 | | - "when": "viewItem =~ /gitlens:compare:results:commits\\b/ && gitlens:gk:organization:ai:enabled", |
| 16728 | + "when": "viewItem =~ /gitlens:compare:results:commits\\b/ && gitlens:gk:organization:ai:enabled && !gitlens:untrusted", |
16719 | 16729 | "group": "inline@98" |
16720 | 16730 | }, |
16721 | 16731 | { |
|
16731 | 16741 | }, |
16732 | 16742 | { |
16733 | 16743 | "command": "gitlens.views.ai.generateChangelog", |
16734 | | - "when": "viewItem =~ /gitlens:compare:results:commits\\b/ && !listMultiSelection && gitlens:gk:organization:ai:enabled", |
| 16744 | + "when": "viewItem =~ /gitlens:compare:results:commits\\b/ && !listMultiSelection && gitlens:gk:organization:ai:enabled && !gitlens:untrusted", |
16735 | 16745 | "group": "4_gitlens_actions@2" |
16736 | 16746 | }, |
16737 | 16747 | { |
|
19875 | 19885 | }, |
19876 | 19886 | { |
19877 | 19887 | "command": "gitlens.graph.ai.generateChangelogFrom", |
19878 | | - "when": "webviewItem =~ /gitlens:(branch|tag)\\b/ && gitlens:gk:organization:ai:enabled", |
| 19888 | + "when": "webviewItem =~ /gitlens:(branch|tag)\\b/ && gitlens:gk:organization:ai:enabled && !gitlens:untrusted", |
19879 | 19889 | "group": "1_gitlens_actions_3@100" |
19880 | 19890 | }, |
19881 | 19891 | { |
|
20210 | 20220 | }, |
20211 | 20221 | { |
20212 | 20222 | "command": "gitlens.graph.ai.generateCommitMessage", |
20213 | | - "when": "webviewItem == gitlens:wip && config.gitlens.ai.generateCommitMessage.enabled && !listMultiSelection && gitlens:gk:organization:ai:enabled && !gitlens:hasVirtualFolders && !gitlens:readonly && !gitlens:untrusted", |
| 20223 | + "when": "webviewItem == gitlens:wip && config.gitlens.ai.generateCommitMessage.enabled && !listMultiSelection && gitlens:gk:organization:ai:enabled && !gitlens:readonly && !gitlens:untrusted", |
20214 | 20224 | "group": "1_gitlens@2" |
20215 | 20225 | }, |
20216 | 20226 | { |
|
0 commit comments