Skip to content

Send notifications ahead of time #160

Description

@emteknetnz

Currently the module will only send notification emails when the current date is beyond the review by date. Add functionality to also send emails ahead of time. Allow disabling the 'past a certain time' emails.

ACs

  • Add global settings of when to send ahead of time emails (60 days, 30 days, 7 days before the review date). Can use checkboxes for this, though may choose to do something else e.g. comma separated values in a textfield. If we decide we want this more configurable, it will complicate UX, possibly we'd want to make this developer configurable only
  • Retain existing behavior of sending emails when past the due date, though also add global setting to turn this off
  • Default settings is to retain the existing behavior of only sending emails when the page has past the content review date
  • Create default template for this email (similar to ContentReviewEmail.ss)
  • Create a configurable private static to allow overriding this (similar to private static $content_review_template)
  • Create a new HTMLText field for the editing the content of the email sent when for "x days until due email is sent out" separate from the existing field. Refer to this issue.
  • Unit tests probably aren't required as module currently has none
  • Ditto module documentation

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions