Skip to content
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

Add workbench email module to GovCMS #854

Open
larowlan opened this issue Sep 15, 2023 · 9 comments
Open

Add workbench email module to GovCMS #854

larowlan opened this issue Sep 15, 2023 · 9 comments
Labels
enhancement New feature or request module under investigation Request has been added to the D9 backlog to be investigated.

Comments

@larowlan
Copy link

** What value does this module/package add to GovCMS?
It allows editors to be notified if they have content that needs review

** Is the module Drupal 10 compatible?
Yep

** Please provide a brief outline of what this module does.
It provides a series of notification templates and a number of 'recipient type' plugins.
A site builder can create notification templates using tokens for changes in moderation state.
The site builder can then associate those templates with transitions in content moderation.
The site builder can then wire up so that reviewers receive email notification if a piece of content moves from one state to another.
For example when a node moves from draft to needs review.
Recipients can be based on various things via plugins, e.g users in a role, users in a role with access, fixed email field - there's a large number of default options.

** Who does this module benefit:
[ ] end users
[x] content editors
[x] site builders
[ ] themers
[ ] developers

** How could you provide/replicate the functionality of this module using alternative methods, eg in your theme?
You cannot

** If this module styles or alters HTML or JavaScript output, can the functionality be provided via the theme? What alternatives have you considered.
No

** What is the maintenance and support status of the module. Describe the issue queue activity.
I am the maintainer, we do frequent bugfix releases and follow semver for breaking changes.
We respond to all issues inside a week, normally on a Wednesday.

** What permissions are needed to utilise the module (and are any new permissions provided by the module)?
Permissions to edit notification templates

** Does the module modify the database structure and/or store additional metadata on nodes or other entities? If so, why? What are the risks for future updates?
Standalone config entity for the notification template

** Is the module designed to capture anonymous user data?
No

** Is the output of the module typically fully cacheable? Would the inclusion of this module potentially render pages uncacheable.
No cache issues

** What is your assessment of the quality of this module, the contribution history of the module's maintainers, and the uptake of the module within the Drupal community?
I'm the maintainer, I'm fairly active, contactable and the module has a high take up.

** Additional information

@larowlan larowlan added the enhancement New feature or request label Sep 15, 2023
@thisisalistairsaccount
Copy link

Module can be found at https://www.drupal.org/project/workbench_email

Hi @larowlan we're going to take a look at this. This has been a previous Drupal 7 module which has been a long wanted piece of functionality in 8/9 and now 10. Now that we've got a 10 release, we will take a look.

Importantly, we're going to have to investigate the volume of emails, noting that there could be many users with roles. Noting you've mentioned that this could be tighter (specific users) were going to have to consider sites that may have lots of publishers and then may have lots of emails.

@larowlan
Copy link
Author

FYI you can configure the following recipients out of the box - I don't think I've seen many uses of just the role, because like you mention - that can be a lot of users

  • Author - the entity author
  • Last revision author, same but for the last revision
  • Entity reference user - you could put a field on the entity 'reviewer' and select the user from that
  • Fixed email - hard coded email address
  • Email field - any email field on the entity
  • Role - send to any user with given role
  • Roles with access - send to any user with given role who has access to edit the content - works well with Add workbench_access module to GovCMS8/9 #224 because that way you only email publishers in the given editorial section

@thisisalistairsaccount thisisalistairsaccount added under investigation Request has been added to the D9 backlog to be investigated. module labels Sep 26, 2023
@acbramley
Copy link

+1 on this, WBE is an extremely good solution for email automation on moderation transitions.

@simesy
Copy link
Contributor

simesy commented Oct 18, 2023

I add this module to every build for government.

@NickeyW
Copy link

NickeyW commented Oct 18, 2023

Australian Public Service Commission actually raised this today for setting up a new site, we would love to have the ability to have email notifications to alert users when there is an action requiring their attention, such as approving content for publication. Can we possibly be updated on any progress or options that are available to us. Thanks

@amjad1233
Copy link

+1 on this one.

@brookehindmarsh
Copy link

+1 here, would be incredibly helpful for what i'm working on at the moment, needing to send an email to a node field email address when that node is published.

@xrayfish
Copy link

+1... any updates on this?

@jamesastaylor
Copy link

jamesastaylor commented Sep 11, 2024

+1 We have been discussing this CASA, this would be very helpful and resolve a number of issues to have email notifications with the moderation workflow. We do not really use workbench at all because of this, setting up dashboards is currently the only option ATM and doesn't really work and requires users eyeballing the dashboard all the time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request module under investigation Request has been added to the D9 backlog to be investigated.
Projects
None yet
Development

No branches or pull requests

9 participants