-
Notifications
You must be signed in to change notification settings - Fork 18
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
Send email when user submits a revision log message to a page #708
Comments
Hi George, I'm conscious that not everyone will want this, so we'll need to make it optional. I also want to pick apart your requirement a bit more.
When we did it before we usually implemented it to option 3 (so state change) and then depending on the transition we notified the author (when the content was returned for amendments or was published) and reviewers only when it was marked as 'needs review'. Thanks |
Hey Stella, To answer your question:
Of course we now have the review state but I wonder what other notifications of a change to a page one could subscribe to. How I imagine something like this could work is by, having a field in the editor with a on/off switch for notifications and perhaps some specific types of notifications for actions and changes that can happen to the page. So like your questions: a tickbox for "notify logged in user when a change to page state (to draft for example)", "send revision log messages as email", "change to page title/body" etc. A simple start could be a email notification when a page has been updated with a log of date and time and the revision message that was submitted with it, which could be a good MVP? Thanks for your quick reply. Kind regards, George |
Subscribing to get notifications on content changes is something quite different to what we've done recently, although the email sending part can be reused. It would require a widget in the UI to allow users to subscribe to individual bits of content. With Drupal 7 the Flag module was often used for the subscription logic, not sure if there's a better alternative these days. Having a role that receives updates is more straightforward as it only really needs the logic to enqueue notifications and a Mailer Policy, the email notification stuff in LocalGov Workflow Notifications will handle sending emails. |
Yeah, I think it would be easier to implement it based on roles, rather than users. We've done both - we use users on our own website actually but it's a curated list. Based on roles would be much simpler and probably have a wider use case. |
Hi there,
Seeing as an email gets sent for a page's review date expiry, I'm curious to see if others would be interested in email messages being sent when a user adds a revision log to a page?
Thanks :)
The text was updated successfully, but these errors were encountered: