From 866523966e05395f7c65729546b8299603a015b3 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Tue, 16 Aug 2022 00:58:57 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 20 ++++++++++---------- webpack.config.js | 4 ++-- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/package.json b/package.json index a90f68b..f0c6697 100644 --- a/package.json +++ b/package.json @@ -89,6 +89,7 @@ "onCommand:gitlens.showSettingsPage#worktrees-view", "onCommand:gitlens.showWelcomePage", "onCommand:gitlens.showBranchesView", + "onCommand:gitlens.showCommitDetailsView", "onCommand:gitlens.showCommitsView", "onCommand:gitlens.showContributorsView", "onCommand:gitlens.showFileHistoryView", @@ -100,7 +101,6 @@ "onCommand:gitlens.showStashesView", "onCommand:gitlens.showTagsView", "onCommand:gitlens.showTimelineView", - "onCommand:gitlens.showCommitDetailsView", "onCommand:gitlens.showWorktreesView", "onCommand:gitlens.compareWith", "onCommand:gitlens.compareHeadWith", @@ -3886,6 +3886,11 @@ "category": "GitLens" }, { + "command": "gitlens.showCommitDetailsView", + "title": "Show Commit Details View", + "category": "GitLens" + }, + { "command": "gitlens.showCommitsView", "title": "Show Commits View", "category": "GitLens" @@ -3941,11 +3946,6 @@ "category": "GitLens" }, { - "command": "gitlens.showCommitDetailsView", - "title": "Show Commit Details View", - "category": "GitLens" - }, - { "command": "gitlens.showWorktreesView", "title": "Show Worktrees View", "category": "GitLens" @@ -6201,6 +6201,10 @@ "when": "gitlens:enabled" }, { + "command": "gitlens.showCommitDetailsView", + "when": "gitlens:enabled" + }, + { "command": "gitlens.showCommitsView", "when": "gitlens:enabled" }, @@ -6245,10 +6249,6 @@ "when": "gitlens:enabled" }, { - "command": "gitlens.showCommitDetailsView", - "when": "gitlens:enabled" - }, - { "command": "gitlens.showWorktreesView", "when": "gitlens:enabled && !gitlens:hasVirtualFolders" }, diff --git a/webpack.config.js b/webpack.config.js index 96ded78..ac068a4 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -257,12 +257,12 @@ function getWebviewsConfig(mode, env) { }, }), new MiniCssExtractPlugin({ filename: '[name].css' }), + getHtmlPlugin('commitDetails', false, mode, env), getHtmlPlugin('home', false, mode, env), getHtmlPlugin('rebase', false, mode, env), getHtmlPlugin('settings', false, mode, env), getHtmlPlugin('timeline', true, mode, env), getHtmlPlugin('welcome', false, mode, env), - getHtmlPlugin('commitDetails', false, mode, env), getCspHtmlPlugin(mode, env), new InlineChunkHtmlPlugin(HtmlPlugin, mode === 'production' ? ['\\.css$'] : []), new CopyPlugin({ @@ -301,12 +301,12 @@ function getWebviewsConfig(mode, env) { name: 'webviews', context: basePath, entry: { + commitDetails: './commitDetails/commitDetails.ts', home: './home/home.ts', rebase: './rebase/rebase.ts', settings: './settings/settings.ts', timeline: './plus/timeline/timeline.ts', welcome: './welcome/welcome.ts', - commitDetails: './commitDetails/commitDetails.ts', }, mode: mode, target: 'web',