mozilla / fx-private-relay-add-on

Companion add-on for Firefox Relay. Keep your email safe from hackers and trackers. Make an email alias with one click, and keep your address to yourself.
https://addons.mozilla.org/en-US/firefox/addon/private-relay
Mozilla Public License 2.0
69 stars 15 forks source link

[MPP-1714] Popup Refactor - Report Issue Panel #457

Closed maxxcrawford closed 1 year ago

maxxcrawford commented 1 year ago

Blocked by: https://github.com/mozilla/fx-private-relay-add-on/pull/455

Summary

Add "Report Issue" panel to add-on toolbar

Links:

Tests

  1. Submit report while on valid page

    • Run add-on
    • Sign-in
    • Go to https:mozilla.org
    • Open popup > Gear icon > Report Issue
    • Expected: Panel should be open to report issue, with mozilla.org prefilled.
    • Submit form
    • Expected: Panel should change to success field
    • Click "Continue"
    • Expected: User should be back on Settings panel
  2. Submit report while on invalid page

    • Run add-on
    • Sign-in
    • Go to internal page: about:about in Firefox (or chrome://about/ in Chrome)
    • Open popup > Gear icon > Report Issue
    • Expected: Panel should be open to report issue, with nothing prefilled. The submit button should be disabled
    • Add web address to URL input field
    • Expected: Submit button should remove disabled state
    • Submit form
    • Expected: Panel should change to success field
    • Click "Continue"
    • Expected: User should be back on Settings panel

Screenshots

Valid report (before submit):

image

Invalid report (on internal/non-HTTP page):

image

Completed report:

image