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

Add 'locale' to report broken site params #3661

Merged

Conversation

miasma13
Copy link
Contributor

Task/Issue URL: https://app.asana.com/0/414709148257752/1208827075841585/f

Description:
Add the "locale" param ID to the list of properties submitted in the Privacy Dashboard site breakage form.

Steps to test this PR:
To force report broken site form to be shown every time you can change https://github.com/duckduckgo/BrowserServicesKit/blob/b7f7ba99f7c77b576679eee426ddd80320dc74d8/Sources/PrivacyDashboard/ToggleReportingManager.swift#L104 to always return true

  1. Open some website.
  2. Wait until it completes loading.
  3. Open Privacy Dashboard
  4. Disable the protections
  5. When the report broken site prompt is shown select "See what's sent"
  6. Ensure the "Primary language and country of your device" string is shown

Definition of Done:


Internal references:

Pull Request Review Checklist
Software Engineering Expectations
Technical Design Template
Pull Request Documentation

Copy link
Collaborator

@ayoy ayoy left a comment

Choose a reason for hiding this comment

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

LGTM!

miasma13 added a commit to duckduckgo/BrowserServicesKit that referenced this pull request Dec 12, 2024
**Required**:

Task/Issue URL:
https://app.asana.com/0/414709148257752/1208827075841585/f
iOS PR: duckduckgo/iOS#3717
macOS PR: duckduckgo/macos-browser#3661
What kind of version bump will this require?: Major

**Description**:
Add the "locale" param ID to the list of properties submitted in the
Privacy Dashboard site breakage form.

**Steps to test this PR**:
See respective platform PRs.


**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)

---------

Co-authored-by: Alexey Martemyanov <[email protected]>
@miasma13 miasma13 changed the base branch from main to release/1.118.0 December 12, 2024 12:57
@miasma13 miasma13 force-pushed the michal/add-locale-to-report-broken-site-params branch from 10d6c47 to b6ce770 Compare December 12, 2024 12:58
@miasma13 miasma13 merged commit 2c39b16 into release/1.118.0 Dec 12, 2024
25 checks passed
@miasma13 miasma13 deleted the michal/add-locale-to-report-broken-site-params branch December 12, 2024 13:14
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