1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 22:58:07 +02:00

[Editor] Fix the telemetry for the signature stuff

This commit is contained in:
Calixte Denizet 2025-02-27 09:34:31 +01:00
parent aa70b28365
commit bbf9bfc3c2

View file

@ -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,