Skip to content

Commit

Permalink
Revert "Add openRecentFolder telemetry (fixes #19865)"
Browse files Browse the repository at this point in the history
This reverts commit d316526.
  • Loading branch information
joaomoreno committed Feb 6, 2017
1 parent 488c8a9 commit 3e400cc
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand Down Expand Up @@ -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);
}
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 3e400cc

Please sign in to comment.