mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Merge pull request #18650 from calixteman/bug1914480
[Editor] Add a missing parameter in the telemetry for the new alt text flow (bug 1914480)
This commit is contained in:
commit
b58c24ab09
2 changed files with 6 additions and 3 deletions
|
@ -416,7 +416,7 @@ class NewAltTextManager {
|
|||
});
|
||||
this.#currentEditor._reportTelemetry({
|
||||
action: "pdfjs.image.image_added",
|
||||
data: { alt_text_modal: false },
|
||||
data: { alt_text_modal: true, alt_text_type: "skipped" },
|
||||
});
|
||||
this.#finish();
|
||||
}
|
||||
|
@ -464,7 +464,10 @@ class NewAltTextManager {
|
|||
}
|
||||
this.#currentEditor._reportTelemetry({
|
||||
action: "pdfjs.image.image_added",
|
||||
data: { alt_text_modal: true },
|
||||
data: {
|
||||
alt_text_modal: true,
|
||||
alt_text_type: altText ? "present" : "empty",
|
||||
},
|
||||
});
|
||||
|
||||
this.#currentEditor._reportTelemetry({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue