integrations / slack

Bring your code to the conversations you care about with the GitHub and Slack integration
https://slack.github.com/
MIT License
3k stars 469 forks source link

Subscribe under a thread #1675

Open reith opened 1 year ago

reith commented 1 year ago

Is your feature request related to a problem? Please describe. GitHub integration can create threads based on selected events and keep the thread updated. In team-level channels that have several GitHub repositories, it might not make sense to create threads (#1500) for all issues. Yet, it happens to me that I want to have comments on a specific GitHub issue broadcasted under an existing Slack thread. Let's say I have a discussion with a member of the marketing team in a random channel, and we've found a bug related to our marketing reports. I just want to keep them updated on the work we're doing for that issue without asking them to join our engineering channel, which has a lot of random discussions.

Describe the solution you'd like Make GitHub integration know where subscribe command is issued and make it broadcast events accordingly. If it's a message in a channel, it will broadcast them to channel -create threads if threading is enabled- and if it's under a thread, it just creates post under that specific thread. If we don't want change the semantic of subscribe command, we can add a join command.