Skip to content

Commit f47c257

Browse files
committed
Deletes deprecated focus page
1 parent a270e4f commit f47c257

22 files changed

+2
-2811
lines changed

images/docs/focus-view.png

-126 KB
Binary file not shown.

images/docs/whats-new-button.png

-2.76 KB
Binary file not shown.

package.json

Lines changed: 1 addition & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848
"multi-root ready"
4949
],
5050
"activationEvents": [
51-
"onAuthenticationRequest:gitlens-gitkraken",
5251
"onFileSystem:gitlens",
5352
"onWebviewPanel:gitlens.graph",
5453
"onWebviewPanel:gitlens.patchDetails",
@@ -1224,7 +1223,7 @@
12241223
}
12251224
},
12261225
{
1227-
"id": "focus",
1226+
"id": "launchpad",
12281227
"title": "Launchpad (ᴘʀᴏ)",
12291228
"order": 60,
12301229
"properties": {
@@ -5779,18 +5778,6 @@
57795778
"category": "GitLens",
57805779
"icon": "$(rocket)"
57815780
},
5782-
{
5783-
"command": "gitlens.showFocusPage",
5784-
"title": "Open Launchpad in Editor",
5785-
"category": "GitLens",
5786-
"icon": "$(rocket)"
5787-
},
5788-
{
5789-
"command": "gitlens.launchpad.split",
5790-
"title": "Split Launchpad in Editor",
5791-
"category": "GitLens",
5792-
"icon": "$(split-horizontal)"
5793-
},
57945781
{
57955782
"command": "gitlens.launchpad.indicator.toggle",
57965783
"title": "Toggle Launchpad Indicator",
@@ -8797,12 +8784,6 @@
87978784
"title": "Disable Debug Logging",
87988785
"category": "GitLens"
87998786
},
8800-
{
8801-
"command": "gitlens.launchpad.refresh",
8802-
"title": "Refresh",
8803-
"category": "GitLens",
8804-
"icon": "$(refresh)"
8805-
},
88068787
{
88078788
"command": "gitlens.graph.switchToEditorLayout",
88088789
"title": "Prefer Commit Graph in Editor",
@@ -9895,14 +9876,6 @@
98959876
"command": "gitlens.showLaunchpadView",
98969877
"when": "gitlens:enabled"
98979878
},
9898-
{
9899-
"command": "gitlens.showFocusPage",
9900-
"when": "false && gitlens:enabled"
9901-
},
9902-
{
9903-
"command": "gitlens.launchpad.split",
9904-
"when": "false && gitlens:enabled && config.gitlens.launchpad.allowMultiple"
9905-
},
99069879
{
99079880
"command": "gitlens.launchpad.indicator.toggle",
99089881
"when": "gitlens:enabled"
@@ -12035,10 +12008,6 @@
1203512008
"command": "gitlens.graph.copyDeepLinkToTag",
1203612009
"when": "false"
1203712010
},
12038-
{
12039-
"command": "gitlens.launchpad.refresh",
12040-
"when": "false"
12041-
},
1204212011
{
1204312012
"command": "gitlens.graph.copyRemoteBranchUrl",
1204412013
"when": "false"
@@ -12653,16 +12622,6 @@
1265312622
"when": "activeWebviewPanelId === gitlens.graph",
1265412623
"group": "navigation@-98"
1265512624
},
12656-
{
12657-
"command": "gitlens.launchpad.refresh",
12658-
"when": "activeWebviewPanelId === gitlens.focus",
12659-
"group": "navigation@-98"
12660-
},
12661-
{
12662-
"command": "gitlens.launchpad.split",
12663-
"when": "resourceScheme == webview-panel && activeWebviewPanelId === gitlens.focus && config.gitlens.launchpad.allowMultiple",
12664-
"group": "navigation@-97"
12665-
},
1266612625
{
1266712626
"command": "gitlens.graph.split",
1266812627
"when": "resourceScheme == webview-panel && activeWebviewPanelId === gitlens.graph && config.gitlens.graph.allowMultiple",
@@ -12705,11 +12664,6 @@
1270512664
"when": "gitlens:enabled && config.gitlens.menus.editorTab.history && resourceScheme in gitlens:schemes:trackable",
1270612665
"group": "2_a_gitlens_open_file@1"
1270712666
},
12708-
{
12709-
"command": "gitlens.launchpad.split",
12710-
"when": "resourceScheme == webview-panel && activeWebviewPanelId === gitlens.focus && config.gitlens.launchpad.allowMultiple",
12711-
"group": "6_split_in_group_gitlens@2"
12712-
},
1271312667
{
1271412668
"command": "gitlens.graph.split",
1271512669
"when": "resourceScheme == webview-panel && activeWebviewPanelId === gitlens.graph && config.gitlens.graph.allowMultiple",

src/constants.commands.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@ export const enum Commands {
170170
ShowContributorsView = 'gitlens.showContributorsView',
171171
ShowDraftsView = 'gitlens.showDraftsView',
172172
ShowFileHistoryView = 'gitlens.showFileHistoryView',
173-
ShowFocusPage = 'gitlens.showFocusPage',
174173
ShowGraph = 'gitlens.showGraph',
175174
ShowGraphPage = 'gitlens.showGraphPage',
176175
ShowGraphView = 'gitlens.showGraphView',

src/constants.views.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export type TreeViewTypes =
1919
| 'worktrees';
2020
export type TreeViewIds<T extends TreeViewTypes = TreeViewTypes> = `gitlens.views.${T}`;
2121

22-
export type WebviewTypes = 'focus' | 'graph' | 'patchDetails' | 'settings' | 'timeline' | 'welcome';
22+
export type WebviewTypes = 'graph' | 'patchDetails' | 'settings' | 'timeline' | 'welcome';
2323
export type WebviewIds = `gitlens.${WebviewTypes}`;
2424

2525
export type WebviewViewTypes = 'commitDetails' | 'graph' | 'graphDetails' | 'home' | 'patchDetails' | 'timeline';

src/container.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -250,11 +250,6 @@ export class Container {
250250
this._disposables.push((this._graphView = registerGraphWebviewView(this._webviews)));
251251
this._disposables.push(new GraphStatusBarController(this));
252252

253-
// NOTE: Commenting out for now as we are deprecating this
254-
// const focusPanels = registerFocusWebviewPanel(this._webviews);
255-
// this._disposables.push(focusPanels);
256-
// this._disposables.push(registerFocusWebviewCommands(focusPanels));
257-
258253
const timelinePanels = registerTimelineWebviewPanel(this._webviews);
259254
this._disposables.push(timelinePanels);
260255
this._disposables.push(registerTimelineWebviewCommands(timelinePanels));

0 commit comments

Comments
 (0)