Skip to content

Commit 99d2df2

Browse files
committed
Remove mock variant analysis view
The mock variant analysis view would only show the loading message. This completely removes it since it does not provide value anymore.
1 parent 866b137 commit 99d2df2

File tree

2 files changed

+0
-17
lines changed

2 files changed

+0
-17
lines changed

extensions/ql-vscode/package.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -314,10 +314,6 @@
314314
"command": "codeQL.exportVariantAnalysisResults",
315315
"title": "CodeQL: Export Variant Analysis Results"
316316
},
317-
{
318-
"command": "codeQL.mockVariantAnalysisView",
319-
"title": "CodeQL: Open Variant Analysis Mock View"
320-
},
321317
{
322318
"command": "codeQL.runQueries",
323319
"title": "CodeQL: Run Queries in Selected Files"
@@ -898,10 +894,6 @@
898894
"command": "codeQL.exportVariantAnalysisResults",
899895
"when": "config.codeQL.canary"
900896
},
901-
{
902-
"command": "codeQL.mockVariantAnalysisView",
903-
"when": "config.codeQL.canary && config.codeQL.variantAnalysis.liveResults"
904-
},
905897
{
906898
"command": "codeQL.runQueries",
907899
"when": "false"

extensions/ql-vscode/src/extension.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -947,15 +947,6 @@ async function activateWithInstalledDistribution(
947947
})
948948
);
949949

950-
ctx.subscriptions.push(
951-
commandRunner('codeQL.mockVariantAnalysisView', async () => {
952-
// Generate a random variant analysis ID for testing
953-
const variantAnalysisId: number = Math.floor(Math.random() * 1000000);
954-
955-
await variantAnalysisManager.showView(variantAnalysisId);
956-
})
957-
);
958-
959950
ctx.subscriptions.push(
960951
commandRunner('codeQL.loadVariantAnalysisRepoResults', async (variantAnalysisId: number, repositoryFullName: string) => {
961952
await variantAnalysisManager.loadResults(variantAnalysisId, repositoryFullName);

0 commit comments

Comments
 (0)