mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Merge pull request #19565 from calixteman/signature_fix_telemetry
[Editor] Fix the telemetry for the signature stuff
This commit is contained in:
commit
a4fea2dafd
1 changed files with 3 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue