-
Notifications
You must be signed in to change notification settings - Fork 897
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integrate web version of the breakage reporting form (#4927)
Task/Issue URL: https://app.asana.com/0/1205648422731273/1208115613742938/f ### Description This PR adds web implementation of the site breakage reporting form. The web form needs adjustments before it's ready to ship, so it should be hidden behind a feature flag for now. ### Steps to test this PR #### Native form Privacy Dashboard flow: - [x] Navigate to a website - [x] Tap on the shield icon to open Privacy Dashboard - [x] Tap "Website not working?" to open broken site form - [x] Verify that the native form is opened - [x] Select category, enter description and submit report - [x] Verify that both `epbf` and `m_bsr` pixels are sent - [x] Verify that `reportFlow` param on the `epbf` pixel is set to `dashboard` Browser menu flow: - [x] Navigate to a website - [x] Tap on "Report Broken Site" in the options menu - [x] Verify that the native form is opened - [x] Select category, enter description and submit report - [x] Verify that `reportFlow` param on the `epbf` pixel is set to `menu` #### Web form - [x] To enable web form, override remote config url with this: https://jsonblob.com/api/1276082387480862720 Privacy Dashboard flow: - [x] Navigate to a website - [x] Tap on the shield icon to open Privacy Dashboard - [x] Tap "Website not working?" to open broken site form - [x] Verify that the web form is opened - [x] Select category, enter description and submit report - [x] Verify that both `epbf` and `m_bsr` pixels are sent - [x] Verify that `reportFlow` param on the epbf pixel is set to `dashboard` Browser menu flow: - [x] Navigate to a website - [x] Tap on "Report Broken Site" in the options menu - [x] Verify that the web form is opened - [x] Select category, enter description and submit report - [x] Verify that `reportFlow` param on the epbf pixel is set to `menu` ### UI changes There are no changes to the native form UI. Web UI remains disabled until design is finalized.
- Loading branch information
Showing
27 changed files
with
827 additions
and
320 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
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.