提交 9061be4a 编写于 作者: R Ramya Achutha Rao

Log event when recommendation pop up is closed Fixes #33335

上级 64274283
......@@ -237,6 +237,8 @@ export class ExtensionTipsService implements IExtensionTipsService {
);
this.telemetryService.publicLog('extensionRecommendations:popup', { userReaction: 'neverShowAgain' });
return this.ignoreExtensionRecommendations();
case 2:
this.telemetryService.publicLog('extensionRecommendations:popup', { userReaction: 'close' });
}
}, () => {
this.telemetryService.publicLog('extensionRecommendations:popup', { userReaction: 'cancelled' });
......@@ -288,6 +290,8 @@ export class ExtensionTipsService implements IExtensionTipsService {
case 1:
this.telemetryService.publicLog('extensionWorkspaceRecommendations:popup', { userReaction: 'neverShowAgain' });
return this.storageService.store(storageKey, true, StorageScope.WORKSPACE);
case 2:
this.telemetryService.publicLog('extensionWorkspaceRecommendations:popup', { userReaction: 'close' });
}
}, () => {
this.telemetryService.publicLog('extensionWorkspaceRecommendations:popup', { userReaction: 'cancelled' });
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册