mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-03 23:15:31 +00:00
Bug 1841152 - New event telemetry in credential autofill.
This commit is contained in:
parent
b0c0b57032
commit
c5d5240bc7
119
app/metrics.yaml
119
app/metrics.yaml
@ -4075,6 +4075,40 @@ settings:
|
||||
tags:
|
||||
- Sync
|
||||
- Settings
|
||||
passwords:
|
||||
type: event
|
||||
description: |
|
||||
User has tapped Passwords in settings menu.
|
||||
bugs:
|
||||
- https://bugzilla.mozilla.org/show_bug.cgi?id=1841152
|
||||
data_reviews:
|
||||
- https://github.com/mozilla-mobile/firefox-android/pull/2802
|
||||
data_sensitivity:
|
||||
- interaction
|
||||
notification_emails:
|
||||
- android-probes@mozilla.com
|
||||
- cgordon@mozilla.com
|
||||
expires: never
|
||||
metadata:
|
||||
tags:
|
||||
- Settings
|
||||
autofill:
|
||||
type: event
|
||||
description: |
|
||||
User has tapped Autofill in settings menu.
|
||||
bugs:
|
||||
- https://bugzilla.mozilla.org/show_bug.cgi?id=1841152
|
||||
data_reviews:
|
||||
- https://github.com/mozilla-mobile/firefox-android/pull/2802
|
||||
data_sensitivity:
|
||||
- interaction
|
||||
notification_emails:
|
||||
- android-probes@mozilla.com
|
||||
- cgordon@mozilla.com
|
||||
expires: never
|
||||
metadata:
|
||||
tags:
|
||||
- Settings
|
||||
history:
|
||||
opened:
|
||||
type: event
|
||||
@ -6046,6 +6080,91 @@ media_state:
|
||||
- Media
|
||||
|
||||
logins:
|
||||
autofill_prompt_shown:
|
||||
type: event
|
||||
description: |
|
||||
Password autofill prompt was shown.
|
||||
bugs:
|
||||
- https://bugzilla.mozilla.org/show_bug.cgi?id=1841152
|
||||
data_reviews:
|
||||
- https://github.com/mozilla-mobile/firefox-android/pull/2802
|
||||
data_sensitivity:
|
||||
- interaction
|
||||
notification_emails:
|
||||
- android-probes@mozilla.com
|
||||
- cgordon@mozilla.com
|
||||
expires: never
|
||||
metadata:
|
||||
tags:
|
||||
- Logins
|
||||
autofill_prompt_dismissed:
|
||||
type: event
|
||||
description: |
|
||||
Password autofill prompt was dismissed.
|
||||
bugs:
|
||||
- https://bugzilla.mozilla.org/show_bug.cgi?id=1841152
|
||||
data_reviews:
|
||||
- https://github.com/mozilla-mobile/firefox-android/pull/2802
|
||||
data_sensitivity:
|
||||
- interaction
|
||||
notification_emails:
|
||||
- android-probes@mozilla.com
|
||||
- cgordon@mozilla.com
|
||||
expires: never
|
||||
metadata:
|
||||
tags:
|
||||
- Logins
|
||||
autofilled:
|
||||
type: event
|
||||
description: |
|
||||
Password autofill performed.
|
||||
bugs:
|
||||
- https://bugzilla.mozilla.org/show_bug.cgi?id=1841152
|
||||
data_reviews:
|
||||
- https://github.com/mozilla-mobile/firefox-android/pull/2802
|
||||
data_sensitivity:
|
||||
- interaction
|
||||
notification_emails:
|
||||
- android-probes@mozilla.com
|
||||
- cgordon@mozilla.com
|
||||
expires: never
|
||||
metadata:
|
||||
tags:
|
||||
- Logins
|
||||
management_add_tapped:
|
||||
type: event
|
||||
description: |
|
||||
User has tapped the add button through password management in settings menu.
|
||||
bugs:
|
||||
- https://bugzilla.mozilla.org/show_bug.cgi?id=1841152
|
||||
data_reviews:
|
||||
- https://github.com/mozilla-mobile/firefox-android/pull/2802
|
||||
data_sensitivity:
|
||||
- interaction
|
||||
notification_emails:
|
||||
- android-probes@mozilla.com
|
||||
- cgordon@mozilla.com
|
||||
expires: never
|
||||
metadata:
|
||||
tags:
|
||||
- Logins
|
||||
management_logins_tapped:
|
||||
type: event
|
||||
description: |
|
||||
User has tapped on a saved login through password management in settings menu.
|
||||
bugs:
|
||||
- https://bugzilla.mozilla.org/show_bug.cgi?id=1841152
|
||||
data_reviews:
|
||||
- https://github.com/mozilla-mobile/firefox-android/pull/2802
|
||||
data_sensitivity:
|
||||
- interaction
|
||||
notification_emails:
|
||||
- android-probes@mozilla.com
|
||||
- cgordon@mozilla.com
|
||||
expires: never
|
||||
metadata:
|
||||
tags:
|
||||
- Logins
|
||||
open_logins:
|
||||
type: event
|
||||
description: |
|
||||
|
@ -20,6 +20,7 @@ import mozilla.components.feature.media.facts.MediaFacts
|
||||
import mozilla.components.feature.prompts.dialog.LoginDialogFacts
|
||||
import mozilla.components.feature.prompts.facts.AddressAutofillDialogFacts
|
||||
import mozilla.components.feature.prompts.facts.CreditCardAutofillDialogFacts
|
||||
import mozilla.components.feature.prompts.facts.LoginAutofillDialogFacts
|
||||
import mozilla.components.feature.pwa.ProgressiveWebAppFacts
|
||||
import mozilla.components.feature.search.telemetry.ads.AdsTelemetry
|
||||
import mozilla.components.feature.search.telemetry.incontent.InContentTelemetry
|
||||
@ -46,6 +47,7 @@ import org.mozilla.fenix.GleanMetrics.ContextualMenu
|
||||
import org.mozilla.fenix.GleanMetrics.CreditCards
|
||||
import org.mozilla.fenix.GleanMetrics.Events
|
||||
import org.mozilla.fenix.GleanMetrics.LoginDialog
|
||||
import org.mozilla.fenix.GleanMetrics.Logins
|
||||
import org.mozilla.fenix.GleanMetrics.MediaNotification
|
||||
import org.mozilla.fenix.GleanMetrics.MediaState
|
||||
import org.mozilla.fenix.GleanMetrics.PerfAwesomebar
|
||||
@ -197,6 +199,13 @@ internal class ReleaseMetricController(
|
||||
Component.FEATURE_PROMPTS to AddressAutofillDialogFacts.Items.AUTOFILL_ADDRESS_PROMPT_DISMISSED ->
|
||||
Addresses.autofillPromptDismissed.record(NoExtras())
|
||||
|
||||
Component.FEATURE_PROMPTS to LoginAutofillDialogFacts.Items.AUTOFILL_LOGIN_PERFORMED ->
|
||||
Logins.autofilled.record(NoExtras())
|
||||
Component.FEATURE_PROMPTS to LoginAutofillDialogFacts.Items.AUTOFILL_LOGIN_PROMPT_SHOWN ->
|
||||
Logins.autofillPromptShown.record(NoExtras())
|
||||
Component.FEATURE_PROMPTS to LoginAutofillDialogFacts.Items.AUTOFILL_LOGIN_PROMPT_DISMISSED ->
|
||||
Logins.autofillPromptDismissed.record(NoExtras())
|
||||
|
||||
Component.FEATURE_AUTOFILL to AutofillFacts.Items.AUTOFILL_REQUEST -> {
|
||||
val hasMatchingLogins =
|
||||
metadata?.get(AutofillFacts.Metadata.HAS_MATCHING_LOGINS) as Boolean?
|
||||
|
@ -332,9 +332,11 @@ class SettingsFragment : PreferenceFragmentCompat() {
|
||||
null
|
||||
}
|
||||
resources.getString(R.string.pref_key_passwords) -> {
|
||||
SettingsMetrics.passwords.record()
|
||||
SettingsFragmentDirections.actionSettingsFragmentToSavedLoginsAuthFragment()
|
||||
}
|
||||
resources.getString(R.string.pref_key_credit_cards) -> {
|
||||
SettingsMetrics.autofill.record()
|
||||
SettingsFragmentDirections.actionSettingsFragmentToAutofillSettingFragment()
|
||||
}
|
||||
resources.getString(R.string.pref_key_about) -> {
|
||||
|
@ -36,6 +36,7 @@ class LoginsListController(
|
||||
) {
|
||||
|
||||
fun handleItemClicked(item: SavedLogin) {
|
||||
Logins.managementLoginsTapped.record(NoExtras())
|
||||
loginsFragmentStore.dispatch(LoginsAction.LoginSelected(item))
|
||||
Logins.openIndividualLogin.record(NoExtras())
|
||||
navController.navigate(
|
||||
@ -44,6 +45,7 @@ class LoginsListController(
|
||||
}
|
||||
|
||||
fun handleAddLoginClicked() {
|
||||
Logins.managementAddTapped.record(NoExtras())
|
||||
navController.navigate(
|
||||
SavedLoginsFragmentDirections.actionSavedLoginsFragmentToAddLoginFragment(),
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user