Community Sift is implementing a moderation plugin for Discourse.
Ideally, moderators would be presented with the classification results of a post in either the “Needs Approval” or “Flagged” for moderation queues.
Would anyone be able to provide guidance as to how to surface custom HTML in Flagged Posts and/or Needs Approval Posts?
The end goal would look something like this
Hello Richard,
The component displayed here is a {{flagged-post}} if I’m not mistaken. If you open adminjs/templates/components/flagged-post.hbs you will see {{plugin-outlet name="flagged-post-controls"... and {{plugin-outlet name="flagged-post-below-controls"...
{{flagged-post}}
adminjs/templates/components/flagged-post.hbs
{{plugin-outlet name="flagged-post-controls"...
{{plugin-outlet name="flagged-post-below-controls"...
This is where you want to hook your plugin. If you don’t know about plugin-outlet yet, I recommend your read Beginner's Guide to Creating Discourse Plugins Part 2: Plugin Outlets
Hope it will be helpfull.