Skip to content

Commit 3e400cc

Browse files
committed
Revert "Add openRecentFolder telemetry (fixes #19865)"
This reverts commit d316526.
1 parent 488c8a9 commit 3e400cc

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/vs/workbench/parts/welcomePage/electron-browser/welcomePage.ts

+1-6
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ import { Schemas } from 'vs/base/common/network';
3030
import { IBackupFileService } from 'vs/workbench/services/backup/common/backup';
3131

3232
const enabledKey = 'workbench.welcome.enabled';
33-
const telemetryFrom = 'welcomePage';
3433

3534
export class WelcomePageContribution implements IWorkbenchContribution {
3635

@@ -100,7 +99,7 @@ class WelcomePage {
10099
const recentlyOpened = this.windowService.getRecentlyOpen();
101100
const uri = URI.parse(require.toUrl('./vs_code_welcome_page.html'))
102101
.with({ scheme: Schemas.walkThrough });
103-
const input = this.instantiationService.createInstance(WalkThroughInput, localize('welcome.title', "Welcome"), '', uri, telemetryFrom, container => this.onReady(container, recentlyOpened));
102+
const input = this.instantiationService.createInstance(WalkThroughInput, localize('welcome.title', "Welcome"), '', uri, 'welcomePage', container => this.onReady(container, recentlyOpened));
104103
this.editorService.openEditor(input, { pinned: true }, Position.ONE)
105104
.then(null, onUnexpectedError);
106105
}
@@ -136,10 +135,6 @@ class WelcomePage {
136135
a.title = folder;
137136
a.href = 'javascript:void(0)';
138137
a.addEventListener('click', e => {
139-
this.telemetryService.publicLog('workbenchActionExecuted', {
140-
id: 'openRecentFolder',
141-
from: telemetryFrom
142-
});
143138
this.windowsService.openWindow([folder]);
144139
e.preventDefault();
145140
e.stopPropagation();

0 commit comments

Comments
 (0)