mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-11 13:11:01 +00:00
For #26089 - Record metrics for save credit card prompt shown
This commit is contained in:
parent
b4cf80a86d
commit
2345eb22a8
@ -7484,6 +7484,22 @@ credit_cards:
|
|||||||
metadata:
|
metadata:
|
||||||
tags:
|
tags:
|
||||||
- Autofill
|
- Autofill
|
||||||
|
save_prompt_shown:
|
||||||
|
type: event
|
||||||
|
description: |
|
||||||
|
The autofill save prompt is shown.
|
||||||
|
bugs:
|
||||||
|
- https://github.com/mozilla-mobile/fenix/issues/26089
|
||||||
|
data_reviews:
|
||||||
|
- https://github.com/mozilla-mobile/fenix/pull/26095
|
||||||
|
data_sensitivity:
|
||||||
|
- interaction
|
||||||
|
notification_emails:
|
||||||
|
- android-probes@mozilla.com
|
||||||
|
expires: 118
|
||||||
|
metadata:
|
||||||
|
tags:
|
||||||
|
- Autofill
|
||||||
|
|
||||||
addresses:
|
addresses:
|
||||||
saved:
|
saved:
|
||||||
|
@ -172,6 +172,8 @@ internal class ReleaseMetricController(
|
|||||||
CreditCards.savePromptCreate.record(NoExtras())
|
CreditCards.savePromptCreate.record(NoExtras())
|
||||||
Component.FEATURE_PROMPTS to CreditCardAutofillDialogFacts.Items.AUTOFILL_CREDIT_CARD_UPDATED ->
|
Component.FEATURE_PROMPTS to CreditCardAutofillDialogFacts.Items.AUTOFILL_CREDIT_CARD_UPDATED ->
|
||||||
CreditCards.savePromptUpdate.record(NoExtras())
|
CreditCards.savePromptUpdate.record(NoExtras())
|
||||||
|
Component.FEATURE_PROMPTS to CreditCardAutofillDialogFacts.Items.AUTOFILL_CREDIT_CARD_SAVE_PROMPT_SHOWN ->
|
||||||
|
CreditCards.savePromptShown.record(NoExtras())
|
||||||
|
|
||||||
Component.FEATURE_PROMPTS to AddressAutofillDialogFacts.Items.AUTOFILL_ADDRESS_FORM_DETECTED ->
|
Component.FEATURE_PROMPTS to AddressAutofillDialogFacts.Items.AUTOFILL_ADDRESS_FORM_DETECTED ->
|
||||||
Addresses.formDetected.record(NoExtras())
|
Addresses.formDetected.record(NoExtras())
|
||||||
|
@ -584,6 +584,7 @@ class MetricControllerTest {
|
|||||||
CreditCardAutofillDialogFacts.Items.AUTOFILL_CREDIT_CARD_PROMPT_DISMISSED to CreditCards.autofillPromptDismissed,
|
CreditCardAutofillDialogFacts.Items.AUTOFILL_CREDIT_CARD_PROMPT_DISMISSED to CreditCards.autofillPromptDismissed,
|
||||||
CreditCardAutofillDialogFacts.Items.AUTOFILL_CREDIT_CARD_CREATED to CreditCards.savePromptCreate,
|
CreditCardAutofillDialogFacts.Items.AUTOFILL_CREDIT_CARD_CREATED to CreditCards.savePromptCreate,
|
||||||
CreditCardAutofillDialogFacts.Items.AUTOFILL_CREDIT_CARD_UPDATED to CreditCards.savePromptUpdate,
|
CreditCardAutofillDialogFacts.Items.AUTOFILL_CREDIT_CARD_UPDATED to CreditCards.savePromptUpdate,
|
||||||
|
CreditCardAutofillDialogFacts.Items.AUTOFILL_CREDIT_CARD_SAVE_PROMPT_SHOWN to CreditCards.savePromptShown,
|
||||||
)
|
)
|
||||||
|
|
||||||
itemsToEvents.forEach { (item, event) ->
|
itemsToEvents.forEach { (item, event) ->
|
||||||
|
Loading…
Reference in New Issue
Block a user