Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/webviews/apps/shared/appBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,12 @@ export abstract class GlWebviewApp extends GlElement {
this._ipc,
(this._promos = new PromosContext(this._ipc)),
(this._telemetry = new TelemetryContext(this._ipc)),
// Forward `emitTelemetrySentEvent` DOM events to the host over IPC. Without this bridge
// (present in the legacy `App` base below, but previously missing here) every
// `gl-telemetry-fired` event from a `GlWebviewApp`-based webview was silently dropped.
DOM.on(window, telemetryEventName, e => {
this._telemetry.sendEvent(e.detail);
}),
);

// Focus tracking (sends debounced focus state to host for context keys)
Expand Down
Loading