commit | 1ab61317b4f5ef38dbe55a40c86ebe07a3c8483e | [log] [tgz] |
---|---|---|
author | Ben Rohlfs <brohlfs@google.com> | Thu Sep 17 08:35:36 2020 +0200 |
committer | Ben Rohlfs <brohlfs@google.com> | Thu Sep 17 13:42:21 2020 +0000 |
tree | 7d9a72e81cc422a0335320cac1ef1e663f8ada4f | |
parent | 025e7cdfcc67a94aa83a2a94252ac6fd334a7857 [diff] |
Add reporting for showing warning toasts Change-Id: Ie79914190c48df2fd12f92187374506144a80c1e
diff --git a/polygerrit-ui/app/elements/core/gr-error-manager/gr-error-manager.ts b/polygerrit-ui/app/elements/core/gr-error-manager/gr-error-manager.ts index 162caa4..bd3c052 100644 --- a/polygerrit-ui/app/elements/core/gr-error-manager/gr-error-manager.ts +++ b/polygerrit-ui/app/elements/core/gr-error-manager/gr-error-manager.ts
@@ -335,6 +335,7 @@ el.show(text, actionText, actionCallback); this._alertElement = el; this.fire('iron-announce', {text}, {bubbles: true}); + this.reporting.reportInteraction('show-alert', {text}); } _hideAlert() {