#796 - Webview logging

This commit is contained in:
Elio Struyf
2024-04-25 15:50:02 +02:00
parent a50f567fbb
commit 31e27f63c1
10 changed files with 42 additions and 11 deletions
@@ -17,7 +17,7 @@ import { Container } from './SortableContainer';
import { SortableItem } from './SortableItem';
import { ChevronRightIcon, CircleStackIcon } from '@heroicons/react/24/outline';
import { DataType } from '../../../models/DataType';
import { TelemetryEvent, WEBSITE_LINKS } from '../../../constants';
import { GeneralCommands, TelemetryEvent, WEBSITE_LINKS } from '../../../constants';
import { NavigationItem } from '../Layout';
import * as l10n from '@vscode/l10n';
import { LocalizationKey } from '../../../localization';
@@ -129,6 +129,8 @@ export const DataView: React.FunctionComponent<IDataViewProps> = (
event: TelemetryEvent.webviewDataView
});
Messenger.send(GeneralCommands.toVSCode.logging.info, "DASHBOARD: Data view loaded");
return () => {
Messenger.unlisten(messageListener);
};