-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Emails: add email-verification-reminder
and missed-reveal
templates
#160
Conversation
email-verification-reminder
and missed-reveal
templates
This service is provided by Aragon One AG [2]. You are receiving this | ||
email because you are subscribed to Aragon Court Email Notifications. You | ||
can contact us at [email protected] if you not longer wish to receive | ||
these. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess we could add some helper functions for these parts to avoid repetition in every template
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes... maybe. The [2]
part is a bit annoying here to extract this as a helper.
* moved emails from court-dashboard repo * Emails: add `email-verification-reminder` and `missed-reveal` templates (#160) * Emails: add missed-reveal template * Emails: update email verification template to be have more template parameters * Emails: update missed-vote to missed-action with additional templating * Revert "Emails: update missed-vote to missed-action with additional templating" This reverts commit 64f84f1. * Revert "Emails: update email verification template to be have more template parameters" This reverts commit ce13ea2. * Emails: add email-verification-reminder template * email-verification typo * text changes to verification reminder * changed wording to emailPreferencesUrl * Added subject line required for email sync #161 Co-authored-by: Martynas Prokopas <[email protected]> * Emails: automatic sync (#161) * added sync:templates and sync:assets * added ci/cd * updated README * Apply suggestions from code review Co-authored-by: Brett Sun <[email protected]> * updated readme * minor fixes * Update emails/package.json Co-authored-by: Brett Sun <[email protected]> * changed to only sync on mainnet * Apply suggestions from code review Co-authored-by: Facu Spagnuolo <[email protected]> * added staging postmark server for development * ci/cd test * test2 * reverted after test Co-authored-by: Brett Sun <[email protected]> Co-authored-by: Facu Spagnuolo <[email protected]> Co-authored-by: Brett Sun <[email protected]> Co-authored-by: Facu Spagnuolo <[email protected]>
* moved emails from court-dashboard repo * Emails: add `email-verification-reminder` and `missed-reveal` templates (#160) * Emails: add missed-reveal template * Emails: update email verification template to be have more template parameters * Emails: update missed-vote to missed-action with additional templating * Revert "Emails: update missed-vote to missed-action with additional templating" This reverts commit 64f84f1. * Revert "Emails: update email verification template to be have more template parameters" This reverts commit ce13ea2. * Emails: add email-verification-reminder template * email-verification typo * text changes to verification reminder * changed wording to emailPreferencesUrl * Added subject line required for email sync #161 Co-authored-by: Martynas Prokopas <[email protected]> * Emails: automatic sync (#161) * added sync:templates and sync:assets * added ci/cd * updated README * Apply suggestions from code review Co-authored-by: Brett Sun <[email protected]> * updated readme * minor fixes * Update emails/package.json Co-authored-by: Brett Sun <[email protected]> * changed to only sync on mainnet * Apply suggestions from code review Co-authored-by: Facu Spagnuolo <[email protected]> * added staging postmark server for development * ci/cd test * test2 * reverted after test Co-authored-by: Brett Sun <[email protected]> Co-authored-by: Facu Spagnuolo <[email protected]> Co-authored-by: Brett Sun <[email protected]> Co-authored-by: Facu Spagnuolo <[email protected]>
* notifications scaffolding * typo * added not nullabel * added last notification date check * added notification types table * split into notification scanner and sender * notification service prototype * renamed test-server to test since we are testing services as well * changed test folder * added email template for subscription reminder * Emails: moved emails from court-dashboard repo (#159) * moved emails from court-dashboard repo * Emails: add `email-verification-reminder` and `missed-reveal` templates (#160) * Emails: add missed-reveal template * Emails: update email verification template to be have more template parameters * Emails: update missed-vote to missed-action with additional templating * Revert "Emails: update missed-vote to missed-action with additional templating" This reverts commit 64f84f1. * Revert "Emails: update email verification template to be have more template parameters" This reverts commit ce13ea2. * Emails: add email-verification-reminder template * email-verification typo * text changes to verification reminder * changed wording to emailPreferencesUrl * Added subject line required for email sync #161 Co-authored-by: Martynas Prokopas <[email protected]> * Emails: automatic sync (#161) * added sync:templates and sync:assets * added ci/cd * updated README * Apply suggestions from code review Co-authored-by: Brett Sun <[email protected]> * updated readme * minor fixes * Update emails/package.json Co-authored-by: Brett Sun <[email protected]> * changed to only sync on mainnet * Apply suggestions from code review Co-authored-by: Facu Spagnuolo <[email protected]> * added staging postmark server for development * ci/cd test * test2 * reverted after test Co-authored-by: Brett Sun <[email protected]> Co-authored-by: Facu Spagnuolo <[email protected]> Co-authored-by: Brett Sun <[email protected]> Co-authored-by: Facu Spagnuolo <[email protected]> * Emails: missing template subject fix * Apply suggestions from code review Co-authored-by: Facu Spagnuolo <[email protected]> * minor suggested fixes * added scan check * abstracted scanner check * renamed scanner checkUser to shouldNotifyUser * added some user abstractions * typo typo typo * added more reliable test script * improved test errors * minor test fixes * switched to logger error instead of throw * removed $ from objection methods * removed query() from some base methods * moved logs before cors * added JurorDrafted * tidying up test file * removed subscription reminder for anj registrations * send verification token for anj registrations * added reminder email instructions * Services: notifications service - subscription reminder (#155) * notifications scaffolding * typo * added not nullabel * added last notification date check * added notification types table * split into notification scanner and sender * notification service prototype * renamed test-server to test since we are testing services as well * changed test folder * added email template for subscription reminder * Apply suggestions from code review Co-authored-by: Facu Spagnuolo <[email protected]> * minor suggested fixes * added scan check * abstracted scanner check * renamed scanner checkUser to shouldNotifyUser * added some user abstractions * typo typo typo * added more reliable test script * improved test errors * minor test fixes * switched to logger error instead of throw * removed $ from objection methods * removed query() from some base methods * moved logs before cors * tidying up test file * removed subscription reminder for anj registrations * send verification token for anj registrations * added reminder email instructions Co-authored-by: Facu Spagnuolo <[email protected]> * fixed dispute URL * renamed mock-utils to helpers * Notifications service: remaining first batch (#169) * added DueTasks * added AppealsOpened * added DisputeRuled * added MissedVote MissedReveal * edited missed vote/reveal email links * parameterized lockedAnjBalanceUrl * added final ruling word * simplified outcomes word * updated due tasks mock time format * lowercased am/pm * minor fix missed vote/reveal * minor fix missed vote * Shared: Add court wrapper config getter (#170) * shared: add court wrapper config getter * Shared: Rename court config getter * cli: fix config setter command * updated DisputeRuled with ruledAt field * changed adjudiationRound time checks to termId * shared: add court start time getter * removed logger padding for longer worker names * fixed due date with data from the blockchain * added bn casting * Notifications service: Notify unverified anj registrations (#171) * added notify-new-anj-registrations * minor template fixes * added ethereum instruction * added notifications setings link in the footer * removed trim * typo * changed anj function name * minor script fixes and comments Co-authored-by: Facu Spagnuolo <[email protected]> Co-authored-by: Facu Spagnuolo <[email protected]> Co-authored-by: Brett Sun <[email protected]> Co-authored-by: Facu Spagnuolo <[email protected]> Co-authored-by: Facu Spagnuolo <[email protected]>
Adds
email-verification-reminder
andmissed-reveal
templates as slight text variations ofemail-verification
andmissed-vote
.