Add Slack support for PublishPress Revisions with interactive messages #1287
Replies: 7 comments
-
@andergmartins 100% agreement here. If we allow Revisionary to use PublishPress notifications, it becomes much more powerful |
Beta Was this translation helpful? Give feedback.
-
Nice. We could use interactive messages: |
Beta Was this translation helpful? Give feedback.
-
Just another idea, for adding more interaction we can use the Block Kit on Slack: https://api.slack.com/block-kit And have different fields right in the message: |
Beta Was this translation helpful? Give feedback.
-
@andergmartins I agree with this direction. Toward actual implementation, here are some factors to consider. Currently, PublishPress Revisions supports the following notification behavior:
That's the email recipient logic for notification of a Pending Revision submission. There is one other notification which supports an equivalent PressPermit Pro user group (Scheduled Revision publication) and one which does not (Pending Revision Approval). We should probably add notifications for revision scheduling and, looking ahead, Rejection or Needs Work. How do we foresee an integration with PublishPress Notifications supporting this behavior? Would you prefer to let PPR continue to handle the recipient customization UI in the post editor, or make PPN handle that too? If the latter, we would need to synchronize UI to avoid a jarring visual change when someone moves from standalone notifications to PPN integration. |
Beta Was this translation helpful? Give feedback.
-
@agapetry IMHO, we'd take PressPermit out of this, and perhaps even Revisions ... we'd just use PublishPress Notifications |
Beta Was this translation helpful? Give feedback.
-
I guess @andergmartins and I will just need to discuss the logistics of doing that without losing the current functionality. Let me boil down what I said in that last comment. In the current implementation for Pending Revision submission:
|
Beta Was this translation helpful? Give feedback.
-
@andergmartins @agapetry This sounds like a 2020 issue to me :) |
Beta Was this translation helpful? Give feedback.
-
I would like to suggest adding support to Slack's message actions, which displays buttons after a notification. The notifications module could support Revisionary's events, and trigger Slack notifications with buttons to approve, decline, schedule, etc... right inside Slack.
Related to https://github.com/publishpress/Revisionary-Pro/issues/2
Beta Was this translation helpful? Give feedback.
All reactions