Merge pull request #19565 from calixteman/signature_fix_telemetry
[Editor] Fix the telemetry for the signature stuff
This commit is contained in:
commit
a4fea2dafd
@ -177,6 +177,7 @@ class SignatureManager {
|
|||||||
"click",
|
"click",
|
||||||
() => {
|
() => {
|
||||||
this.#reportTelemetry({
|
this.#reportTelemetry({
|
||||||
|
type: "signature",
|
||||||
action: "pdfjs.signature.clear",
|
action: "pdfjs.signature.clear",
|
||||||
data: {
|
data: {
|
||||||
type: this.#currentTab,
|
type: this.#currentTab,
|
||||||
@ -738,6 +739,7 @@ class SignatureManager {
|
|||||||
if (await this.#signatureStorage.delete(uuid)) {
|
if (await this.#signatureStorage.delete(uuid)) {
|
||||||
div.remove();
|
div.remove();
|
||||||
this.#reportTelemetry({
|
this.#reportTelemetry({
|
||||||
|
type: "signature",
|
||||||
action: "pdfjs.signature.delete_saved",
|
action: "pdfjs.signature.delete_saved",
|
||||||
data: {
|
data: {
|
||||||
savedCount: await this.#signatureStorage.size(),
|
savedCount: await this.#signatureStorage.size(),
|
||||||
@ -924,6 +926,7 @@ class SignatureManager {
|
|||||||
|
|
||||||
const altText = this.#tabsToAltText.get(type);
|
const altText = this.#tabsToAltText.get(type);
|
||||||
this.#reportTelemetry({
|
this.#reportTelemetry({
|
||||||
|
type: "signature",
|
||||||
action: "pdfjs.signature.created",
|
action: "pdfjs.signature.created",
|
||||||
data: {
|
data: {
|
||||||
type,
|
type,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user