|
6081 | 6081 | }, |
6082 | 6082 | { |
6083 | 6083 | "command": "gitlens.ai.explainBranch:graph", |
6084 | | - "title": "Explain Branch (Preview)" |
| 6084 | + "title": "Explain Branch (Preview)", |
| 6085 | + "icon": "$(sparkle)" |
| 6086 | + }, |
| 6087 | + { |
| 6088 | + "command": "gitlens.ai.explainBranch:views", |
| 6089 | + "title": "Explain Branch (Preview)", |
| 6090 | + "icon": "$(sparkle)" |
6085 | 6091 | }, |
6086 | 6092 | { |
6087 | 6093 | "command": "gitlens.ai.explainCommit", |
|
6090 | 6096 | }, |
6091 | 6097 | { |
6092 | 6098 | "command": "gitlens.ai.explainCommit:graph", |
6093 | | - "title": "Explain Commit" |
| 6099 | + "title": "Explain Commit", |
| 6100 | + "icon": "$(sparkle)" |
| 6101 | + }, |
| 6102 | + { |
| 6103 | + "command": "gitlens.ai.explainCommit:views", |
| 6104 | + "title": "Explain Commit", |
| 6105 | + "icon": "$(sparkle)" |
6094 | 6106 | }, |
6095 | 6107 | { |
6096 | 6108 | "command": "gitlens.ai.explainStash", |
|
6099 | 6111 | }, |
6100 | 6112 | { |
6101 | 6113 | "command": "gitlens.ai.explainStash:graph", |
6102 | | - "title": "Explain Stash (Preview)" |
| 6114 | + "title": "Explain Stash (Preview)", |
| 6115 | + "icon": "$(sparkle)" |
| 6116 | + }, |
| 6117 | + { |
| 6118 | + "command": "gitlens.ai.explainStash:views", |
| 6119 | + "title": "Explain Stash (Preview)", |
| 6120 | + "icon": "$(sparkle)" |
6103 | 6121 | }, |
6104 | 6122 | { |
6105 | 6123 | "command": "gitlens.ai.explainWip", |
|
6108 | 6126 | }, |
6109 | 6127 | { |
6110 | 6128 | "command": "gitlens.ai.explainWip:graph", |
6111 | | - "title": "Explain Working Changes (Preview)" |
| 6129 | + "title": "Explain Working Changes (Preview)", |
| 6130 | + "icon": "$(sparkle)" |
| 6131 | + }, |
| 6132 | + { |
| 6133 | + "command": "gitlens.ai.explainWip:views", |
| 6134 | + "title": "Explain Working Changes (Preview)", |
| 6135 | + "icon": "$(sparkle)" |
6112 | 6136 | }, |
6113 | 6137 | { |
6114 | 6138 | "command": "gitlens.ai.generateChangelog", |
|
10451 | 10475 | "command": "gitlens.ai.explainBranch:graph", |
10452 | 10476 | "when": "false" |
10453 | 10477 | }, |
| 10478 | + { |
| 10479 | + "command": "gitlens.ai.explainBranch:views", |
| 10480 | + "when": "false" |
| 10481 | + }, |
10454 | 10482 | { |
10455 | 10483 | "command": "gitlens.ai.explainCommit", |
10456 | 10484 | "when": "gitlens:enabled && !gitlens:readonly && !gitlens:untrusted && gitlens:gk:organization:ai:enabled && config.gitlens.ai.enabled" |
|
10459 | 10487 | "command": "gitlens.ai.explainCommit:graph", |
10460 | 10488 | "when": "false" |
10461 | 10489 | }, |
| 10490 | + { |
| 10491 | + "command": "gitlens.ai.explainCommit:views", |
| 10492 | + "when": "false" |
| 10493 | + }, |
10462 | 10494 | { |
10463 | 10495 | "command": "gitlens.ai.explainStash", |
10464 | 10496 | "when": "gitlens:enabled && !gitlens:readonly && !gitlens:untrusted && gitlens:gk:organization:ai:enabled && config.gitlens.ai.enabled" |
|
10467 | 10499 | "command": "gitlens.ai.explainStash:graph", |
10468 | 10500 | "when": "false" |
10469 | 10501 | }, |
| 10502 | + { |
| 10503 | + "command": "gitlens.ai.explainStash:views", |
| 10504 | + "when": "false" |
| 10505 | + }, |
10470 | 10506 | { |
10471 | 10507 | "command": "gitlens.ai.explainWip", |
10472 | 10508 | "when": "gitlens:enabled && !gitlens:readonly && !gitlens:untrusted && gitlens:gk:organization:ai:enabled" |
|
10475 | 10511 | "command": "gitlens.ai.explainWip:graph", |
10476 | 10512 | "when": "false" |
10477 | 10513 | }, |
| 10514 | + { |
| 10515 | + "command": "gitlens.ai.explainWip:views", |
| 10516 | + "when": "false" |
| 10517 | + }, |
10478 | 10518 | { |
10479 | 10519 | "command": "gitlens.ai.generateChangelog", |
10480 | 10520 | "when": "gitlens:enabled && !gitlens:untrusted && gitlens:gk:organization:ai:enabled && config.gitlens.ai.enabled" |
|
16451 | 16491 | "group": "2_gitlens_quickopen@1" |
16452 | 16492 | }, |
16453 | 16493 | { |
16454 | | - "command": "gitlens.ai.explainBranch", |
| 16494 | + "command": "gitlens.ai.explainBranch:views", |
16455 | 16495 | "when": "viewItem =~ /gitlens:branch\\b/ && !listMultiSelection && !gitlens:readonly && !gitlens:untrusted && gitlens:gk:organization:ai:enabled && config.gitlens.ai.enabled", |
16456 | 16496 | "group": "3_gitlens_ai@1" |
16457 | 16497 | }, |
|
16717 | 16757 | "group": "2_gitlens_quickopen@1" |
16718 | 16758 | }, |
16719 | 16759 | { |
16720 | | - "command": "gitlens.ai.explainCommit", |
| 16760 | + "command": "gitlens.ai.explainCommit:views", |
16721 | 16761 | "when": "viewItem =~ /gitlens:commit\\b/ && !listMultiSelection && !gitlens:readonly && !gitlens:untrusted && gitlens:gk:organization:ai:enabled && config.gitlens.ai.enabled", |
16722 | 16762 | "group": "3_gitlens_ai@1" |
16723 | 16763 | }, |
|
17778 | 17818 | "group": "1_gitlens_actions@3" |
17779 | 17819 | }, |
17780 | 17820 | { |
17781 | | - "command": "gitlens.ai.explainStash", |
| 17821 | + "command": "gitlens.ai.explainStash:views", |
17782 | 17822 | "when": "viewItem =~ /gitlens:stash\\b/ && !listMultiSelection && !gitlens:readonly && !gitlens:untrusted && gitlens:gk:organization:ai:enabled && config.gitlens.ai.enabled", |
17783 | 17823 | "group": "3_gitlens_ai@1" |
17784 | 17824 | }, |
|
17934 | 17974 | "when": "viewItem =~ /gitlens:tags\\b/ && !listMultiSelection && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders", |
17935 | 17975 | "group": "1_gitlens_actions@1" |
17936 | 17976 | }, |
| 17977 | + { |
| 17978 | + "command": "gitlens.ai.explainWip:graph", |
| 17979 | + "when": "viewItem =~ /gitlens:(worktree|uncommitted)\\b/ && !listMultiSelection && !gitlens:readonly && !gitlens:untrusted && gitlens:gk:organization:ai:enabled", |
| 17980 | + "group": "3_gitlens_ai@1" |
| 17981 | + }, |
| 17982 | + { |
| 17983 | + "command": "gitlens.ai.explainWip:views", |
| 17984 | + "when": "viewItem =~ /gitlens:(worktree|uncommitted)\\b/ && !listMultiSelection && !gitlens:readonly && !gitlens:untrusted && gitlens:gk:organization:ai:enabled", |
| 17985 | + "group": "3_gitlens_ai@1" |
| 17986 | + }, |
17937 | 17987 | { |
17938 | 17988 | "command": "gitlens.views.workspaces.addRepos", |
17939 | 17989 | "when": "viewItem =~ /gitlens:workspace\\b(?=.*?\\b\\+cloud\\b)/", |
|
18042 | 18092 | "when": "viewItem =~ /gitlens:worktree\\b/ && !listMultiSelection", |
18043 | 18093 | "group": "3_gitlens@1" |
18044 | 18094 | }, |
18045 | | - { |
18046 | | - "command": "gitlens.ai.explainWip", |
18047 | | - "when": "viewItem =~ /gitlens:worktree\\b/ && !listMultiSelection && !gitlens:readonly && !gitlens:untrusted && gitlens:gk:organization:ai:enabled", |
18048 | | - "group": "3_gitlens_ai@1" |
18049 | | - }, |
18050 | 18095 | { |
18051 | 18096 | "command": "gitlens.views.deleteWorktree", |
18052 | 18097 | "when": "viewItem =~ /gitlens:worktree\\b(?!.*?\\b\\+(active|default)\\b)/ && !listMultiSelection && !gitlens:readonly", |
|
20487 | 20532 | "when": "webviewItem == gitlens:wip && !listMultiSelection && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders", |
20488 | 20533 | "group": "1_gitlens_actions@4" |
20489 | 20534 | }, |
20490 | | - { |
20491 | | - "command": "gitlens.ai.explainWip:graph", |
20492 | | - "when": "webviewItem =~ /gitlens:wip\\b/ && !listMultiSelection && !gitlens:readonly && !gitlens:untrusted && gitlens:gk:organization:ai:enabled && config.gitlens.ai.enabled", |
20493 | | - "group": "1_gitlens_actions_3@1" |
20494 | | - }, |
20495 | 20535 | { |
20496 | 20536 | "command": "gitlens.graph.hideRefGroup", |
20497 | 20537 | "when": "webviewItemGroup =~ /gitlens:refGroup\\b(?!.*?\\b\\+current\\b)/", |
|
0 commit comments