Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autofill engagement KPIs for pixel reporting (BSK update) #2885

Merged
merged 14 commits into from
May 23, 2024

Conversation

amddg44
Copy link
Contributor

@amddg44 amddg44 commented May 22, 2024

Task/Issue URL: https://app.asana.com/0/72649045549333/1207357107981852/f
Tech Design URL:
CC:

Description:
Update to use BSK for Autofill engagement KPIs for pixel reporting

Steps to test this PR:

  1. Disable Sync (if enabled). Reset Autofill data via the Autofill Settings debug screen (this deletes all logins & reset the AutofillPixelReport userDefaults). Also reset the install date to 0
    image

  2. Use autofill as a filter for XCode console logs

  3. Go to https://fill.dev/form/login-simple, enter credentials and save when prompted

  4. Confirm pixel m.autofill.onboardeduser is fired (and that the message Autofill save event fired logs)

  5. Go back to https://fill.dev/form/login-simple and fill using the saved credentials

  6. Confirm the message Autofill fill event fired is logged

  7. Perform a search

  8. Confirm these 2 pixels are fired: m.autofill.activeuser, m.autofill.logins.stacked ["count_bucket": "few"]

  9. Visit https://fill.dev/form/registration-email (sign into email if not already)

  10. Select primary duck address

  11. Confirm the message Autofill fill event fired is logged

  12. Select private duck address

  13. Confirm both Autofill fill event fired and Autofill save event fired messages are logged

  14. Choose a generated password

  15. Confirm just Autofill fill event fired is logged (since the login is already autosaved due to choosing a private duck address)

  16. Click Register and then come back to the registration form screen

  17. This time choose a generated password first and confirm both Autofill fill event fired and Autofill save event fired messages are logged

  18. Go to the Passwords screen and manually create a new entry

  19. Confirm the message Autofill save event fired is logged

  20. "Reset Autofill Data" via Debug Autofill screen

  21. Run up a macOS build and ensure you have at least 10 logins saved (can use this csv file if needed)

  22. Sync with the iOS build

  23. Confirm pixel m.autofill.onboardeduser is fired (and that the message Autofill save event fired logs)

  24. Perform a search in browser

  25. Confirm the pixel m.autofill.enableduser is fired


Internal references:

Software Engineering Expectations
Technical Design Template

@github-actions github-actions bot added the bot: not in app board Added by automation for pull requests with tasks not added to iOS App Board Asana project label May 22, 2024
@amddg44 amddg44 removed the bot: not in app board Added by automation for pull requests with tasks not added to iOS App Board Asana project label May 22, 2024
@amddg44 amddg44 requested a review from aataraxiaa May 22, 2024 18:48
Copy link
Contributor

@aataraxiaa aataraxiaa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All steps validated and LGTM 👍🏼

amddg44 added 3 commits May 23, 2024 15:43
…pis-to-bsk

# Conflicts:
#	DuckDuckGo.xcodeproj/project.pbxproj
#	DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
amddg44 added a commit to duckduckgo/BrowserServicesKit that referenced this pull request May 23, 2024
Task/Issue URL: https://app.asana.com/0/72649045549333/1207357107981852/f
iOS PR: duckduckgo/iOS#2885
macOS PR: duckduckgo/macos-browser#2806
What kind of version bump will this require?: Minor

Description:
Autofill engagement KPIs for pixel reporting
amddg44 added 2 commits May 23, 2024 21:04
…pis-to-bsk

# Conflicts:
#	DuckDuckGo.xcodeproj/project.pbxproj
#	DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
@amddg44 amddg44 merged commit 919b602 into main May 23, 2024
14 checks passed
@amddg44 amddg44 deleted the anya/pixel-autofill-kpis-to-bsk branch May 23, 2024 19:44
samsymons added a commit that referenced this pull request May 24, 2024
# By Christopher Brind (2) and others
# Via GitHub
* main:
  Autofill engagement KPIs for pixel reporting (BSK update) (#2885)
  keep strong reference to omnibar while we use it and add a ui test (#2884)
  Bump BSK (#2887)
  Recently visited sites UI update and rollout (#2838)
  Update Sync tests (#2837)
  Subscription refactoring (#2842)
  Update autoconsent to v10.8.0 (#2874)

# Conflicts:
#	DuckDuckGo.xcodeproj/project.pbxproj
#	DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
#	DuckDuckGo/RemoteMessaging.swift
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants