Following on from the great patch to add Rules to the 1.x branch (#1226688: Rules Integration Support) by thekevinday, we needed to implement comments in our moderation processes, including them in the moderation page and email sent out through rules.
Rather than waiting for workbench moderation stuff to become entities, we've just hacked on a comment column to the existing workbench_moderation_node_history table, and then exposed it in the moderation form, and as a token for use in Rules (i.e. to include things in email).
Attached is a very raw patch, but if stevector or anyone else has any feedback on the idea, that would be great. We'd be happy to take it further if people think it could be useful.
Thanks.
| Comment | File | Size | Author |
|---|---|---|---|
| commenting-support.patch | 7.09 KB | alexkb |
Comments
Comment #0.0
alexkb commentedGiving credit where credit due
Comment #1
danizen commentedI would like to see the comment be required only on some state changes. I also see a need for comments without state changes, for instance, when a reviewer doesn't want to send it back to draft without asking a question for instance.
Is this small patch related other than by user need to Workbench Moderation Notes?
Comment #2
alexkb commentedThe workbench_moderation_notes module came out after this patch, but it does look similar, so I suggest we close this patch for now.