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
70 stars 15 forks source link

MPP-3589 - Show news item for the holiday discount promo #539

Closed lloan closed 1 year ago

lloan commented 1 year ago

This PR fixes MPP-3589

L10N: https://github.com/mozilla-l10n/fx-private-relay-add-on-l10n/pull/52

New feature description

Show news item for the holiday discount promo. This code also modifies what we pull from runtime data - we now use the FXA origin to create the proper URL for the user to land on the yearly premium plan just like the website does it in getPlan hook.

Screenshot (if applicable)

News snippet

image

Full news item

image

How to test

Make sure appropriate flag is on "holiday_promo_2023" and that premium is available in country you're testing from.

Checklist