-
Notifications
You must be signed in to change notification settings - Fork 937
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add simplified ("toggle") broken site reporting (#5280)
Task/Issue URL: https://app.asana.com/0/1201870266890790/1208769785329643/f ### Description We're implementing the simplified broken site reporting flow that already exists on other platforms here, prompting users to report site breakage on URLs where they toggle off protections. ### Steps to test this PR _Toggle Reports_ - [x] Set up your local environment by checking out the [privacy-dashboard branch](https://github.com/duckduckgo/privacy-dashboard/tree/pr-releases/pr-196) and editing `app/build.gradle` to point to its location ([replacing this bit](https://github.com/duckduckgo/Android/blob/4677ba3e51108db4d4f20071977c73baaaa5bb40/app/build.gradle#L44)). - [x] Navigate to any non-DuckDuckGo site and tap the privacy shield, then toggle off protections - [x] Confirm that you're shown the report prompting screen - [x] Click on "See what's sent" and confirm the data details expand into view - [x] Tap "Send report" and confirm that the `m_protection-toggled-off-breakage-report` pixel is sent with `reportFlow=on_protections_off_dashboard_main` - [x] Re-enable protections - [x] Tap the 3-dot menu and then "Disable privacy protection" - [x] Confirm that you're again shown the prompt screen - [x] Tap "Send report" and confirm that the above pixel is sent with `reportFlow=on_protections_off_menu` - [x] Re-enable protections - [x] Toggle off protections again from either entry point and confirm that you are again show the prompt - [x] Tap "Don't send" - [x] Confirm that you are no longer shown the prompt from either toggle-off point (block should last 48 hours, but that value can be overridden by the remote privacy config -- there is [an existing JSONblob](https://jsonblob.com/api/1306645031426056192) with both intervals set to 2 minutes if you'd like to test more exhaustively, as I did) --------- Co-authored-by: Aitor Viana <[email protected]>
- Loading branch information
Showing
39 changed files
with
1,635 additions
and
5,277 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.