Browse Source

Moves Contributors view back to SCM

main
Eric Amodio 1 year ago
parent
commit
e26f7c6569
2 changed files with 14 additions and 11 deletions
  1. +9
    -9
      package.json
  2. +5
    -2
      src/constants.ts

+ 9
- 9
package.json View File

@ -14009,15 +14009,6 @@
"visibility": "visible"
},
{
"id": "gitlens.views.contributors",
"name": "Contributors",
"when": "!gitlens:disabled",
"contextualTitle": "GitLens",
"icon": "$(gitlens-contributors-view)",
"initialSize": 1,
"visibility": "collapsed"
},
{
"type": "webview",
"id": "gitlens.views.account",
"name": "GitKraken Account",
@ -14154,6 +14145,15 @@
"contextualTitle": "GitLens",
"icon": "$(gitlens-worktrees-view)",
"visibility": "collapsed"
},
{
"id": "gitlens.views.contributors",
"name": "Contributors",
"when": "!gitlens:disabled",
"contextualTitle": "GitLens",
"icon": "$(gitlens-contributors-view)",
"initialSize": 1,
"visibility": "collapsed"
}
]
},

+ 5
- 2
src/constants.ts View File

@ -366,13 +366,16 @@ export const viewIdsByDefaultContainerId = new Map<
QualifiedViewContainerIds | QualifiedCoreViewContainerIds,
ViewIds[]
>([
['workbench.view.scm', ['branches', 'commits', 'remotes', 'repositories', 'stashes', 'tags', 'worktrees']],
[
'workbench.view.scm',
['branches', 'commits', 'remotes', 'repositories', 'stashes', 'tags', 'worktrees', 'contributors'],
],
['workbench.view.extension.gitlensPanel', ['graph', 'graphDetails']],
[
'workbench.view.extension.gitlensInspect',
['commitDetails', 'fileHistory', 'lineHistory', 'timeline', 'searchAndCompare'],
],
['workbench.view.extension.gitlens', ['home', 'workspaces', 'contributors', 'account']],
['workbench.view.extension.gitlens', ['home', 'workspaces', 'account']],
]);
export type ContextKeys =

Loading…
Cancel
Save