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

Update Sync error pixels #3046

Merged
merged 2 commits into from
Jul 5, 2024
Merged

Update Sync error pixels #3046

merged 2 commits into from
Jul 5, 2024

Conversation

ayoy
Copy link
Contributor

@ayoy ayoy commented Jul 5, 2024

Task/Issue URL: https://app.asana.com/0/1201621708115095/1207559244852258/f

Description:
Rename count limit exceeded as object limit exceeded and add "Too Many Requests" pixels.

Steps to test this PR:
Since this change doesn't modify any logic related to processing errors, it's enough that you verify that pixel names are correct. The simplest is to add this snippet of code at the bottom of AppDelegate's applicationDidFinishLaunching:

Pixel.fire(pixel: .syncBookmarksObjectLimitExceededDaily)
Pixel.fire(pixel: .syncCredentialsObjectLimitExceededDaily)
Pixel.fire(pixel: .syncBookmarksRequestSizeLimitExceededDaily)
Pixel.fire(pixel: .syncCredentialsRequestSizeLimitExceededDaily)
Pixel.fire(pixel: .syncBookmarksTooManyRequestsDaily)
Pixel.fire(pixel: .syncCredentialsTooManyRequestsDaily)
Pixel.fire(pixel: .syncSettingsTooManyRequestsDaily)

Then run the app and check the log. Compare output with what's expected in the Asana task.

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

Copy link
Contributor

@SabrinaTardio SabrinaTardio left a comment

Choose a reason for hiding this comment

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

LGTM!

@ayoy ayoy merged commit 950d8ba into main Jul 5, 2024
14 checks passed
@ayoy ayoy deleted the dominik/sync-pixels-update branch July 5, 2024 09:36
samsymons added a commit that referenced this pull request Jul 7, 2024
# By Christopher Brind (3) and others
# Via Anh Do (1) and GitHub (1)
* main:
  Add connection tester failure pixels (#3049)
  Release 7.127.0-1 (#3051)
  fix bug not clearing ui properly on autoclear (#3050)
  widget UI tests (#3042)
  fix autofill widget failure (#3040)
  macOS BSK change: De-duplicate passwords on import (#3048)
  Privacy Dashboard refactor (#3038)
  Make Maestro tests fail on flow cancellation (#3036)
  Improve VPN logging logic (#3032)
  Subscription refactoring #5 (#3023)
  Update Sync error pixels (#3046)
  Fixes App Data Clearing State Status In Settings (#3041)
  update sync error copy (#2870)
  Fixes for Xcode 16 (BSK -> 164.3.0) (#3035)
  Update the Privacy Pro status attribute matcher (#3033)

# Conflicts:
#	DuckDuckGo.xcodeproj/project.pbxproj
#	DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
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.

None yet

2 participants