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.
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.
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:
For a user in US/CAN, with the phone + bundle flag on, without a phone or bundle plan purchased, show both phone masking + bundle announcement
Only phone announcement visible:
For a user with phone announcement requirements met
For a user who doesn't meet at least one of the criteria for bundle excluding US/CAN, so bundle flag off / bundle plan purchased
Only bundle announcement visible:
For a user with bundle announcement requirements met
For a user who doesn't meet at least one of the criteria for phone excluding US/CAN, so phone flag off / phone plan purchased
Hide both phone + bundle announcements, revert to original view:
For a user who doesn't meet at least one of the criteria for both phone and bundle announcement requirements. Eg. phone and bundle plans both purchased / non-US/CAN user.
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: