diff --git a/src/dashboardWebView/index.tsx b/src/dashboardWebView/index.tsx index 34498a3b..766ba00e 100644 --- a/src/dashboardWebView/index.tsx +++ b/src/dashboardWebView/index.tsx @@ -119,6 +119,11 @@ if (elm) { environment: environment || '', ignoreErrors: SentryIgnore }); + + Sentry.setTag("type", "dashboard"); + if (document.body.getAttribute(`data-vscode-theme-id`)) { + Sentry.setTag("theme", document.body.getAttribute(`data-vscode-theme-id`)); + } } elm.setAttribute("class", `${experimental ? "experimental" : ""} bg-[var(--vscode-editor-background)] text-[var(--vscode-editor-foreground)]`); diff --git a/src/panelWebView/index.tsx b/src/panelWebView/index.tsx index e8aae4bc..4875209c 100644 --- a/src/panelWebView/index.tsx +++ b/src/panelWebView/index.tsx @@ -42,6 +42,11 @@ if (elm) { environment: environment || '', ignoreErrors: SentryIgnore }); + + Sentry.setTag("type", "panel"); + if (document.body.getAttribute(`data-vscode-theme-id`)) { + Sentry.setTag("theme", document.body.getAttribute(`data-vscode-theme-id`)); + } } render(