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
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:
epbf
andm_bsr
pixels are sentreportFlow
param on theepbf
pixel is set todashboard
Browser menu flow:
reportFlow
param on theepbf
pixel is set tomenu
Web form
Privacy Dashboard flow:
epbf
andm_bsr
pixels are sentreportFlow
param on the epbf pixel is set todashboard
Browser menu flow:
reportFlow
param on the epbf pixel is set tomenu
UI changes
There are no changes to the native form UI. Web UI remains disabled until design is finalized.