提交 3d731b40 编写于 作者: K kieferrm

remove problems.used event

上级 fe4c8b4f
......@@ -33,21 +33,9 @@ export class ToggleMarkersPanelAction extends TogglePanelAction {
constructor(id: string, label: string,
@IPartService partService: IPartService,
@IPanelService panelService: IPanelService,
@ITelemetryService private telemetryService: ITelemetryService
) {
super(id, label, Constants.MARKERS_PANEL_ID, panelService, partService);
}
public run(): TPromise<any> {
let promise = super.run();
if (this.isPanelFocused()) {
/* __GDPR__
"problems.used" : {}
*/
this.telemetryService.publicLog('problems.used');
}
return promise;
}
}
export class ShowProblemsPanelAction extends Action {
......@@ -56,17 +44,12 @@ export class ShowProblemsPanelAction extends Action {
public static readonly LABEL = Messages.MARKERS_PANEL_SHOW_LABEL;
constructor(id: string, label: string,
@IPanelService private panelService: IPanelService,
@ITelemetryService private telemetryService: ITelemetryService
@IPanelService private panelService: IPanelService
) {
super(id, label);
}
public run(): TPromise<any> {
/* __GDPR__
"problems.used" : {}
*/
this.telemetryService.publicLog('problems.used');
return this.panelService.openPanel(Constants.MARKERS_PANEL_ID, true);
}
}
......@@ -79,21 +62,9 @@ export class ToggleErrorsAndWarningsAction extends TogglePanelAction {
constructor(id: string, label: string,
@IPartService partService: IPartService,
@IPanelService panelService: IPanelService,
@ITelemetryService private telemetryService: ITelemetryService
) {
super(id, label, Constants.MARKERS_PANEL_ID, panelService, partService);
}
public run(): TPromise<any> {
let promise = super.run();
if (this.isPanelFocused()) {
/* __GDPR__
"problems.used" : {}
*/
this.telemetryService.publicLog('problems.used');
}
return promise;
}
}
export class CollapseAllAction extends TreeCollapseAction {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册