How can we add a button to the review post and topic queue modal and implement an action for that button in a Discourse plugin?

Screen Shot 2024-01-09 at 6.56.57 PM
Hi!,
How can we add a button to the review post and topic queue modal and reviewable actions in for that button in a Discourse plugin?I would appreciate some help with adding a button to the review post and topic queue modal and implementing its action in the plugin.

1 Like

There’s an API to add actions and modals to reviewable items here:

These are used in the category experts plugin, if you’re looking for an example:

3 Likes

So, which one of these functions is used to add a button to the review queue approval modal: addPluginReviewableParam or registerReviewableActionModal ? Please guide me through it.