From afaa844d28bf973e5839127648ee533cb0b80247 Mon Sep 17 00:00:00 2001 From: Tanuj Mittal Date: Sat, 6 Feb 2021 00:26:20 +0530 Subject: [PATCH] Telemetry updates (#429) --- .../NotebookGallery/GalleryViewerComponent.tsx | 18 +++++++++++++++++- .../NotebookViewer/NotebookViewerComponent.tsx | 8 +++++++- src/Shared/Telemetry/TelemetryConstants.ts | 4 ++++ src/Utils/GalleryUtils.ts | 15 +++++++++++---- 4 files changed, 39 insertions(+), 6 deletions(-) diff --git a/src/Explorer/Controls/NotebookGallery/GalleryViewerComponent.tsx b/src/Explorer/Controls/NotebookGallery/GalleryViewerComponent.tsx index 58715a5cc..825dedca3 100644 --- a/src/Explorer/Controls/NotebookGallery/GalleryViewerComponent.tsx +++ b/src/Explorer/Controls/NotebookGallery/GalleryViewerComponent.tsx @@ -30,7 +30,7 @@ import { CodeOfConductComponent } from "./CodeOfConductComponent"; import { InfoComponent } from "./InfoComponent/InfoComponent"; import { handleError } from "../../../Common/ErrorHandlingUtils"; import { trace } from "../../../Shared/Telemetry/TelemetryProcessor"; -import { Action } from "../../../Shared/Telemetry/TelemetryConstants"; +import { Action, ActionModifiers } from "../../../Shared/Telemetry/TelemetryConstants"; export interface GalleryViewerComponentProps { container?: Explorer; @@ -459,6 +459,10 @@ export class GalleryViewerComponent extends React.Component