Skip to content

Commit 3d731b4

Browse files
committed
remove problems.used event
1 parent fe4c8b4 commit 3d731b4

1 file changed

Lines changed: 1 addition & 30 deletions

File tree

src/vs/workbench/parts/markers/browser/markersPanelActions.ts

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -33,21 +33,9 @@ export class ToggleMarkersPanelAction extends TogglePanelAction {
3333
constructor(id: string, label: string,
3434
@IPartService partService: IPartService,
3535
@IPanelService panelService: IPanelService,
36-
@ITelemetryService private telemetryService: ITelemetryService
3736
) {
3837
super(id, label, Constants.MARKERS_PANEL_ID, panelService, partService);
3938
}
40-
41-
public run(): TPromise<any> {
42-
let promise = super.run();
43-
if (this.isPanelFocused()) {
44-
/* __GDPR__
45-
"problems.used" : {}
46-
*/
47-
this.telemetryService.publicLog('problems.used');
48-
}
49-
return promise;
50-
}
5139
}
5240

5341
export class ShowProblemsPanelAction extends Action {
@@ -56,17 +44,12 @@ export class ShowProblemsPanelAction extends Action {
5644
public static readonly LABEL = Messages.MARKERS_PANEL_SHOW_LABEL;
5745

5846
constructor(id: string, label: string,
59-
@IPanelService private panelService: IPanelService,
60-
@ITelemetryService private telemetryService: ITelemetryService
47+
@IPanelService private panelService: IPanelService
6148
) {
6249
super(id, label);
6350
}
6451

6552
public run(): TPromise<any> {
66-
/* __GDPR__
67-
"problems.used" : {}
68-
*/
69-
this.telemetryService.publicLog('problems.used');
7053
return this.panelService.openPanel(Constants.MARKERS_PANEL_ID, true);
7154
}
7255
}
@@ -79,21 +62,9 @@ export class ToggleErrorsAndWarningsAction extends TogglePanelAction {
7962
constructor(id: string, label: string,
8063
@IPartService partService: IPartService,
8164
@IPanelService panelService: IPanelService,
82-
@ITelemetryService private telemetryService: ITelemetryService
8365
) {
8466
super(id, label, Constants.MARKERS_PANEL_ID, panelService, partService);
8567
}
86-
87-
public run(): TPromise<any> {
88-
let promise = super.run();
89-
if (this.isPanelFocused()) {
90-
/* __GDPR__
91-
"problems.used" : {}
92-
*/
93-
this.telemetryService.publicLog('problems.used');
94-
}
95-
return promise;
96-
}
9768
}
9869

9970
export class CollapseAllAction extends TreeCollapseAction {

0 commit comments

Comments
 (0)