-
Notifications
You must be signed in to change notification settings - Fork 224
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MNTOR-3556: Front end integration (#4995)
* feat: some example code for FE * extract data from the right table * Unsubscription from monthly report confirmation page (#4998) * fix: gurantee boolean value * fix: update should upsert too * fix: delete primary_email field * fix: remove dup primary_email from new table * fix: generate the link for the unsub page instead * feat: some example code for FE * extract data from the right table * Unsubscription from monthly report confirmation page * pass in the right function * fix unit tests * fix unit tests --------- Co-authored-by: Joey Zhou <[email protected]> * pass subscriber data * return void * add toast * correct api endpoint * remove debugging comments * add try again link * add feature flag * rename file * override css variables * wrap in try catch * add loader * fixup * add toat if catch error * remove original css override styles * move to /unsubscribe-email folder * lint * add try again styling * use plus language for header * unit test --------- Co-authored-by: Kaitlyn <[email protected]>
- Loading branch information
Showing
19 changed files
with
369 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||
|
||
# Confirm Unsubscription State | ||
|
||
unsubscribe-from-monthly-report-header = Unsubscribe from this email? | ||
unsubscribe-from-monthly-report-body = You’ll no longer receive the monthly { -brand-monitor } report, which tells you how many new exposures you’ve had each month and how many are fixed. | ||
unsubscribe-cta = Unsubscribe | ||
# Success Unsubscription State | ||
|
||
unsubscribe-success-from-monthly-report-header = You’re now unsubscribed | ||
unsubscribe-success-from-monthly-report-body = You can resubscribe or update your email preferences anytime from your { -brand-monitor } settings. | ||
# Error warning | ||
|
||
unsubscription-failed = Unsubscribe failed. <try_again_link>Try again.</try_again_link> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.