From bbf9bfc3c20c62491731d929a5d3131a5633bec3 Mon Sep 17 00:00:00 2001 From: Calixte Denizet Date: Thu, 27 Feb 2025 09:34:31 +0100 Subject: [PATCH] [Editor] Fix the telemetry for the signature stuff --- web/signature_manager.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/signature_manager.js b/web/signature_manager.js index 6012482b59ef7..84429df843e69 100644 --- a/web/signature_manager.js +++ b/web/signature_manager.js @@ -177,6 +177,7 @@ class SignatureManager { "click", () => { this.#reportTelemetry({ + type: "signature", action: "pdfjs.signature.clear", data: { type: this.#currentTab, @@ -738,6 +739,7 @@ class SignatureManager { if (await this.#signatureStorage.delete(uuid)) { div.remove(); this.#reportTelemetry({ + type: "signature", action: "pdfjs.signature.delete_saved", data: { savedCount: await this.#signatureStorage.size(), @@ -924,6 +926,7 @@ class SignatureManager { const altText = this.#tabsToAltText.get(type); this.#reportTelemetry({ + type: "signature", action: "pdfjs.signature.created", data: { type,