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.

CommentFileSizeAuthor
commenting-support.patch7.09 KBalexkb

Comments

alexkb’s picture

Issue summary: View changes

Giving credit where credit due

danizen’s picture

Issue summary: View changes

I 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?

alexkb’s picture

Status: Active » Closed (duplicate)

The workbench_moderation_notes module came out after this patch, but it does look similar, so I suggest we close this patch for now.