Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Task/Issue URL: https://app.asana.com/0/1205278999335242/1205495150811779/f
Tech Design URL:
CC:
Description:
Removes the parameter which distinguishes between the default on or off state of the autofill setting now that new installs are set to enabled by default.
Steps to test this PR:
Run through the various Autofill actions to trigger the pixels from this list and confirm that they no longer have the
default_state
parameter. https://fill.dev/ is a useful site for testingPrompt to disable setting:
To test this, start with a clean install and Autofill enabled. Visit 2 different websites that have a login option and attempt to login to each. For each Save Prompt choose "Not Now". After the 2rd "Not Now" you'll be presented with the alert that fires these pixels:
m_autofill_logins_save_disable-prompt_shown
m_autofill_logins_save_disable-prompt_autofill-kept
(tappingKeep Saving
)m_autofill_logins_save_disable-prompt_autofill-disabled
(tappingDisable
)Save login prompt:
Visit https://fill.dev/form/login-simple and enter some credentials to trigger the prompt
m_autofill_logins_save_login_inline_displayed
m_autofill_logins_save_login_inline_confirmed
(TappingSave Password
)m_autofill_logins_save_login_inline_dismissed
(TappedX
at top right or swipe down)m_autofill_logins_save_login_exclude_site_confirmed
(TappingNever Ask for This Site
)Save password prompt:
(https://news.ycombinator.com/login is a useful site to test triggering the password only save prompt - in the login form enter only a password and tap login to trigger)
m_autofill_logins_save_password_inline_displayed
m_autofill_logins_save_password_inline_confirmed
m_autofill_logins_save_password_inline_dismissed
Fill login prompt:
Visit https://fill.dev/form/login-simple and use credentials saved from
Save login prompt
stepm_autofill_logins_fill_login_inline_autoprompt_displayed
(autoprompt triggered when fill login prompt presents automatically)m_autofill_logins_fill_login_inline_autoprompt_confirmed
m_autofill_logins_fill_login_inline_manual_displayed
(manual pixels triggered when tapping the key icon)m_autofill_logins_fill_login_inline_manual_confirmed
m_autofill_logins_fill_login_inline_manual_dismissed
m_autofill_logins_autoprompt_dismissed
Opening and toggling autofill logins setting:
m_autofill_settings_opened
(Triggered by accessing Logins from Settings screen)m_nav_autofill_menu_item_pressed
(Triggered by accessing Logins from browsing menu)m_autofill_logins_settings_enabled
m_autofill_logins_settings_disabled
Password generation prompts:
Visit https://fill.dev/form/registration-email and tap the key icon in the password field
m_autofill_logins_password_generation_prompt_displayed
m_autofill_logins_password_generation_prompt_confirmed
m_autofill_logins_password_generation_prompt_dismissed
Internal references:
Software Engineering Expectations
Technical Design Template