Skip to content

Commit a270e4f

Browse files
d13eamodio
authored andcommitted
Cleans up account commands and registrations
1 parent d01cdd1 commit a270e4f

File tree

2 files changed

+4
-35
lines changed

2 files changed

+4
-35
lines changed

package.json

Lines changed: 2 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -5840,7 +5840,7 @@
58405840
},
58415841
{
58425842
"command": "gitlens.showAccountView",
5843-
"title": "Show Account View",
5843+
"title": "Show Account on Home",
58445844
"category": "GitLens"
58455845
},
58465846
{
@@ -8089,12 +8089,6 @@
80898089
"category": "GitLens",
80908090
"icon": "$(refresh)"
80918091
},
8092-
{
8093-
"command": "gitlens.views.account.refresh",
8094-
"title": "Refresh",
8095-
"category": "GitLens",
8096-
"icon": "$(refresh)"
8097-
},
80988092
{
80998093
"command": "gitlens.views.launchpad.copy",
81008094
"title": "Copy",
@@ -9943,7 +9937,7 @@
99439937
},
99449938
{
99459939
"command": "gitlens.showAccountView",
9946-
"when": "gitlens:enabled"
9940+
"when": "false"
99479941
},
99489942
{
99499943
"command": "gitlens.showInCommitGraph",
@@ -11489,10 +11483,6 @@
1148911483
"command": "gitlens.views.home.refresh",
1149011484
"when": "false"
1149111485
},
11492-
{
11493-
"command": "gitlens.views.account.refresh",
11494-
"when": "false"
11495-
},
1149611486
{
1149711487
"command": "gitlens.views.launchpad.copy",
1149811488
"when": "false"
@@ -13333,11 +13323,6 @@
1333313323
"when": "view =~ /^gitlens\\.views\\.home/",
1333413324
"group": "navigation@99"
1333513325
},
13336-
{
13337-
"command": "gitlens.views.account.refresh",
13338-
"when": "view =~ /^gitlens\\.views\\.account/",
13339-
"group": "navigation@99"
13340-
},
1334113326
{
1334213327
"command": "gitlens.views.launchpad.refresh",
1334313328
"when": "view =~ /^gitlens\\.views\\.launchpad/",
@@ -17642,15 +17627,6 @@
1764217627
"icon": "$(gitlens-workspaces-view)",
1764317628
"initialSize": 2,
1764417629
"visibility": "visible"
17645-
},
17646-
{
17647-
"type": "webview",
17648-
"id": "gitlens.views.account",
17649-
"name": "GitKraken Account",
17650-
"contextualTitle": "GitLens",
17651-
"icon": "$(gitlens-gitlens)",
17652-
"initialSize": 1,
17653-
"visibility": "collapsed"
1765417630
}
1765517631
],
1765617632
"gitlensInspect": [

src/constants.views.ts

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,7 @@ export type TreeViewIds<T extends TreeViewTypes = TreeViewTypes> = `gitlens.view
2222
export type WebviewTypes = 'focus' | 'graph' | 'patchDetails' | 'settings' | 'timeline' | 'welcome';
2323
export type WebviewIds = `gitlens.${WebviewTypes}`;
2424

25-
export type WebviewViewTypes =
26-
| 'account'
27-
| 'commitDetails'
28-
| 'graph'
29-
| 'graphDetails'
30-
| 'home'
31-
| 'patchDetails'
32-
| 'timeline';
25+
export type WebviewViewTypes = 'commitDetails' | 'graph' | 'graphDetails' | 'home' | 'patchDetails' | 'timeline';
3326
export type WebviewViewIds<T extends WebviewViewTypes = WebviewViewTypes> = `gitlens.views.${T}`;
3427

3528
export type ViewTypes = TreeViewTypes | WebviewViewTypes;
@@ -72,7 +65,7 @@ export const viewIdsByDefaultContainerId = new Map<ViewContainerIds | CoreViewCo
7265
'workbench.view.extension.gitlensInspect',
7366
['commitDetails', 'fileHistory', 'lineHistory', 'timeline', 'searchAndCompare'],
7467
],
75-
['workbench.view.extension.gitlens', ['home', 'workspaces', 'account']],
68+
['workbench.view.extension.gitlens', ['home', 'workspaces']],
7669
]);
7770

7871
export type TreeViewRefNodeTypes = 'branch' | 'commit' | 'stash' | 'tag';

0 commit comments

Comments
 (0)