From 3e400cc8ceefbb4440fe00f1d58002feea20c333 Mon Sep 17 00:00:00 2001 From: Joao Moreno Date: Mon, 6 Feb 2017 15:07:47 +0100 Subject: [PATCH] Revert "Add openRecentFolder telemetry (fixes #19865)" This reverts commit d316526013a0d4b55ca53686dfd92d232b12a3d4. --- .../parts/welcomePage/electron-browser/welcomePage.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/vs/workbench/parts/welcomePage/electron-browser/welcomePage.ts b/src/vs/workbench/parts/welcomePage/electron-browser/welcomePage.ts index cb583a2d92b2f..0230b454fb9dc 100644 --- a/src/vs/workbench/parts/welcomePage/electron-browser/welcomePage.ts +++ b/src/vs/workbench/parts/welcomePage/electron-browser/welcomePage.ts @@ -30,7 +30,6 @@ import { Schemas } from 'vs/base/common/network'; import { IBackupFileService } from 'vs/workbench/services/backup/common/backup'; const enabledKey = 'workbench.welcome.enabled'; -const telemetryFrom = 'welcomePage'; export class WelcomePageContribution implements IWorkbenchContribution { @@ -100,7 +99,7 @@ class WelcomePage { const recentlyOpened = this.windowService.getRecentlyOpen(); const uri = URI.parse(require.toUrl('./vs_code_welcome_page.html')) .with({ scheme: Schemas.walkThrough }); - const input = this.instantiationService.createInstance(WalkThroughInput, localize('welcome.title', "Welcome"), '', uri, telemetryFrom, container => this.onReady(container, recentlyOpened)); + const input = this.instantiationService.createInstance(WalkThroughInput, localize('welcome.title', "Welcome"), '', uri, 'welcomePage', container => this.onReady(container, recentlyOpened)); this.editorService.openEditor(input, { pinned: true }, Position.ONE) .then(null, onUnexpectedError); } @@ -136,10 +135,6 @@ class WelcomePage { a.title = folder; a.href = 'javascript:void(0)'; a.addEventListener('click', e => { - this.telemetryService.publicLog('workbenchActionExecuted', { - id: 'openRecentFolder', - from: telemetryFrom - }); this.windowsService.openWindow([folder]); e.preventDefault(); e.stopPropagation();