Browse Source

Moves patch view into its own sidebar

main
Eric Amodio 1 year ago
parent
commit
5ca04749b2
1 changed files with 13 additions and 12 deletions
  1. +13
    -12
      package.json

+ 13
- 12
package.json View File

@ -6824,7 +6824,7 @@
}, },
{ {
"command": "gitlens.views.patchDetails.close", "command": "gitlens.views.patchDetails.close",
"title": "Close Patch View",
"title": "Close Patch",
"category": "GitLens", "category": "GitLens",
"icon": "$(close)" "icon": "$(close)"
}, },
@ -15319,7 +15319,7 @@
}, },
{ {
"id": "gitlensPatch", "id": "gitlensPatch",
"title": "Patch",
"title": "GitLens Patch",
"icon": "$(gitlens-cloud-patch)" "icon": "$(gitlens-cloud-patch)"
} }
], ],
@ -15411,7 +15411,6 @@
{ {
"type": "webview", "type": "webview",
"id": "gitlens.views.home", "id": "gitlens.views.home",
"-when": "!gitlens:views:patchDetails:mode || !config.gitlens.cloudPatches.enabled",
"name": "Home", "name": "Home",
"contextualTitle": "GL", "contextualTitle": "GL",
"icon": "$(gitlens-gitlens)", "icon": "$(gitlens-gitlens)",
@ -15419,15 +15418,6 @@
"visibility": "visible" "visibility": "visible"
}, },
{ {
"type": "webview",
"id": "gitlens.views.patchDetails",
"name": "Patch",
"when": "!gitlens:untrusted && config.gitlens.cloudPatches.enabled && gitlens:views:patchDetails:mode",
"contextualTitle": "GL",
"icon": "$(gitlens-cloud-patch)",
"initialSize": 24
},
{
"id": "gitlens.views.drafts", "id": "gitlens.views.drafts",
"name": "Cloud Patches", "name": "Cloud Patches",
"when": "!gitlens:untrusted && !gitlens:hasVirtualFolders && config.gitlens.cloudPatches.enabled", "when": "!gitlens:untrusted && !gitlens:hasVirtualFolders && config.gitlens.cloudPatches.enabled",
@ -15526,6 +15516,17 @@
"visibility": "visible" "visibility": "visible"
} }
], ],
"gitlensPatch": [
{
"type": "webview",
"id": "gitlens.views.patchDetails",
"name": "Patch",
"when": "!gitlens:untrusted && config.gitlens.cloudPatches.enabled && gitlens:views:patchDetails:mode",
"contextualTitle": "GitLens",
"icon": "$(gitlens-cloud-patch)",
"initialSize": 24
}
],
"scm": [ "scm": [
{ {
"id": "gitlens.views.repositories", "id": "gitlens.views.repositories",

Loading…
Cancel
Save