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

Passwords: Update save pixel with backfilled value #3903

Merged
merged 4 commits into from
Jan 31, 2025

Conversation

graeme
Copy link
Contributor

@graeme graeme commented Jan 31, 2025

Task/Issue URL: https://app.asana.com/0/1208273769335188/1209241071149720/f
Tech Design URL:
CC:

Description:

We're appending the backfilled parameter to the update pixels, but not the save pixels. So, for example, the case we're fixing for deviantart is not being captured if you're coming in fresh. Meaning, if you don't have credentials saved, we do backfill, but the pixel doesn't have backfilled=true, so we can't count it.

I think at some point we started discussing only about the update pixel and that was misinterpreted as don't change anything for save, but that was not the intention.

The goal is to update the pixel firing logic both on macOS and iOS to match the above requirements

Steps to test this PR:

  1. Go to https://www.deviantart.com/users/login
  2. Type in a username and hit Next
  3. Type in a password and hit submit
  4. You will see the Save password prompt with username and password
  5. Check that you see backfilled=true in the save pixel on presentation, confirmation and dismissal
  6. Save the password
  7. Repeat steps 1 & 2
  8. Type in a new password
  9. You will see the Update password prompt with username and password
  10. Check that you see backfilled=true in the update pixel on presentation, confirmation and dismissal

Definition of Done (Internal Only):

Copy Testing:

  • Use of correct apostrophes in new copy, ie rather than '

Orientation Testing:

  • Portrait
  • Landscape

Device Testing:

  • iPhone SE (1st Gen)
  • iPhone 8
  • iPhone X
  • iPhone 14 Pro
  • iPad

OS Testing:

  • iOS 15
  • iOS 16
  • iOS 17

Theme Testing:

  • Light theme
  • Dark theme

Internal references:

Software Engineering Expectations
Technical Design Template

@graeme graeme self-assigned this Jan 31, 2025
@graeme graeme marked this pull request as ready for review January 31, 2025 10:15
@graeme graeme requested a review from amddg44 January 31, 2025 10:15
graeme added a commit to duckduckgo/BrowserServicesKit that referenced this pull request Jan 31, 2025
<!--
Note: This checklist is a reminder of our shared engineering
expectations.
-->

Please review the release process for BrowserServicesKit
[here](https://app.asana.com/0/1200194497630846/1200837094583426).

**Required**:

Task/Issue URL:
https://app.asana.com/0/1208273769335188/1209241071149720/f
iOS PR: duckduckgo/iOS#3903
macOS PR: duckduckgo/macos-browser#3807
What kind of version bump will this require?: Major

**Optional**:

Tech Design URL:
CC:

**Description**:

We're appending the backfilled parameter to the _update_ pixels, but not
the _save_ pixels. So, for example, the case we're fixing for deviantart
is not being captured if you're coming in fresh. Meaning, if you don't
have credentials saved, we do backfill, but the pixel doesn't have
backfilled=true, so we can't count it.

I think at some point we started discussing only about the _update_
pixel and that was misinterpreted as don't change anything for _save_,
but that was not the intention.

The goal is to update the pixel firing logic both on macOS and iOS to
match the above requirements

**Steps to test this PR**:

On both platforms...

1. Go to https://www.deviantart.com/users/login
2. Type in a username and hit Next
3. Type in a password and hit submit
4. You will see the Save password prompt with username and password
5. Check that you see `backfilled=true` in the save pixel on
presentation, confirmation and dismissal
6. Save the password
7. Repeat steps 1 & 2
8. Type in a new password
9. You will see the Update password prompt with username and password
10. Check that you see `backfilled=true` in the update pixel on
presentation, confirmation and dismissal

<!--
Before submitting a PR, please ensure you have tested the combinations
you expect the reviewer to test, then delete configurations you *know*
do not need explicit testing.

Using a simulator where a physical device is unavailable is acceptable.
-->

**OS Testing**:

* [ ] iOS 14
* [ ] iOS 15
* [ ] iOS 16
* [ ] macOS 10.15
* [ ] macOS 11
* [ ] macOS 12

---
###### Internal references:
[Software Engineering
Expectations](https://app.asana.com/0/59792373528535/199064865822552)
[Technical Design
Template](https://app.asana.com/0/59792373528535/184709971311943)
@graeme graeme merged commit 20d3075 into main Jan 31, 2025
28 checks passed
@graeme graeme deleted the graeme/fix-backfill-pixels branch January 31, 2025 16:47
@graeme graeme mentioned this pull request Jan 31, 2025
14 tasks
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