зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1849239
- Instrument urlbar shopping icon clicked r=TravisLong,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D186670
This commit is contained in:
Родитель
2ef73c2265
Коммит
e24d79c73f
|
@ -50,8 +50,13 @@ export class ShoppingSidebarParent extends JSWindowActorParent {
|
|||
ShoppingSidebarParent.SHOPPING_ACTIVE_PREF,
|
||||
!activeState
|
||||
);
|
||||
if (source == "urlBar" && activeState) {
|
||||
Glean.shopping.surfaceClosed.record({ source: "addressBarIcon" });
|
||||
if (source == "urlBar") {
|
||||
if (activeState) {
|
||||
Glean.shopping.surfaceClosed.record({ source: "addressBarIcon" });
|
||||
Glean.shopping.addressBarIconClicked.record({ action: "closed" });
|
||||
} else {
|
||||
Glean.shopping.addressBarIconClicked.record({ action: "opened" });
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -90,8 +90,6 @@ shopping:
|
|||
notification_emails:
|
||||
- betling@mozilla.com
|
||||
- fx-desktop-shopping-eng@mozilla.com
|
||||
no_lint:
|
||||
- COMMON_PREFIX
|
||||
|
||||
surface_show_quality_explainer_clicked:
|
||||
type: event
|
||||
|
@ -117,8 +115,6 @@ shopping:
|
|||
explainer card.
|
||||
Possible values are `expanded` and `collapsed`.
|
||||
type: string
|
||||
no_lint:
|
||||
- COMMON_PREFIX
|
||||
|
||||
surface_settings_expand_clicked:
|
||||
type: event
|
||||
|
@ -142,8 +138,6 @@ shopping:
|
|||
Whether the button was used to expand or collapse the settings card.
|
||||
Possible values are `expanded` and `collapsed`.
|
||||
type: string
|
||||
no_lint:
|
||||
- COMMON_PREFIX
|
||||
|
||||
surface_closed:
|
||||
type: event
|
||||
|
@ -168,5 +162,25 @@ shopping:
|
|||
sidebar was closed with the close button or the icon in the
|
||||
address bar.
|
||||
type: string
|
||||
no_lint:
|
||||
- COMMON_PREFIX
|
||||
|
||||
address_bar_icon_clicked:
|
||||
type: event
|
||||
description: |
|
||||
The Shopping product Address Bar Icon was clicked by the user.
|
||||
bugs:
|
||||
- https://bugzilla.mozilla.org/show_bug.cgi?id=1849239
|
||||
data_reviews:
|
||||
- https://bugzilla.mozilla.org/show_bug.cgi?id=1841892
|
||||
data_sensitivity:
|
||||
- interaction
|
||||
expires: 122
|
||||
notification_emails:
|
||||
- betling@mozilla.com
|
||||
- fx-desktop-shopping-eng@mozilla.com
|
||||
send_in_pings:
|
||||
- events
|
||||
extra_keys:
|
||||
action:
|
||||
description: >
|
||||
Whether the icon was used to open or close the Shopping sidebar.
|
||||
type: string
|
||||
|
|
Загрузка…
Ссылка в новой задаче