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-2207 - Enable bundle announcement #422

Closed codemist closed 2 years ago

codemist commented 2 years ago

This enables the bundle announcement that was omitted from the last release, as well as introduces some state management to check which of the two primary promos (or both) phone masking and bundle to surface depending on the user's profile data.

Preview in this ticket.

Test cases:

Note that for free/premium users, behaviour should be the same.

Phone announcement requirements: US/CAN user, phone flag on, phone plan not yet purchased Bundle announcement requirements: US/CAN user, bundle flag on, bundle plan not purchased

Show both phone + bundle announcements:

Only phone announcement visible:

Only bundle announcement visible:

Hide both phone + bundle announcements, revert to original view: