From e26f7c656914175369cdbc95f6648f83da8f32a0 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Tue, 6 Jun 2023 18:01:09 -0400 Subject: [PATCH] Moves Contributors view back to SCM --- package.json | 18 +++++++++--------- src/constants.ts | 7 +++++-- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index 0e1aedb..30c70bf 100644 --- a/package.json +++ b/package.json @@ -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" } ] }, diff --git a/src/constants.ts b/src/constants.ts index 70ac26b..7616ffa 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -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 =