Slack: Post chat snapshot to Discourse

What about a “pull” approach instead of “push”?

Workflow:

  1. Copy link to particular slack message
  2. Paste it into discourse
  3. Onebox has settings for authentication with private slack instances to feature message
  4. Onebox appends something like [before:0,after:0] to the end of the link, indicating that it’s going to suck in 0 messages before and after the link (maybe site settings to control those defaults?)
  5. User can edit the plaintext to add more messages before and after the post

I think this would be easier to reason about, and allow pasting slack messages as a new topic or inside any post…

I’m calling it “Onebox” above, but maybe its more of a hybrid onebox/plugin thing… not sure the implementation, just using it as a shorthand for the UX.

4 Likes