slack icon indicating copy to clipboard operation
slack copied to clipboard

Disable `send send to channel` after PR is merged

Open mishastir-fulcrum opened this issue 3 years ago • 175 comments

Hello, Is it possible to disable sending to channel PR merged message when threading is enabled? image

mishastir-fulcrum avatar Dec 08 '22 19:12 mishastir-fulcrum

Hi @mishastir-fulcrum the reason for posting the pr merged and issue closed notifications to channel is because these are state changes i.e. important enough notifications that channel members might be interested to look into.

We will gather more feedback and then decide on the next set of improvements.

ashokirla avatar Dec 09 '22 05:12 ashokirla

Got it, thank you

mishastir-fulcrum avatar Dec 09 '22 11:12 mishastir-fulcrum

Also reported at https://github.com/integrations/slack/issues/1566

Agree with notification on state change - but the threading is causing additional noise. With the earlier behaviour of posting to a dedicated channel/s - folks can choose the frequency at which they would like to know of changes that were merged. However - the current behavior adds all of this data to the threads view where it is not as simple to filter out messages.

If the maintainers feel that this is a must have - would it be possible to allow users to opt out of this behavior?

shivananda-sahu avatar Dec 09 '22 12:12 shivananda-sahu

I see image

Will try this out to see if this helps

shivananda-sahu avatar Dec 09 '22 12:12 shivananda-sahu

This comment here https://github.com/integrations/slack/issues/1500#issuecomment-1281990344 says that threading was done to reduce noise in the channel. Not sure how is that true if these notifications get sent to the channel anyway.

I would love if I could disable this being sent to the channel as well. I'm fine with threading since it keeps these notifications under a certain context, but getting a notification for the thread message and sending that message to the channel as well just creates a large amount of noise in our Slack channels. We don't have a dedicated channel for all notifications, but rather notifications per project we work on since we work on multiple projects. There are multiple people included in those channels (not just devs) and this approach is spamming in multiple ways.

Not saying previous workflow before threading was ideal as well since it did mostly the same, but at least it didn't post multiple messages for one action.

Btw, thank you for your work. I really like this integration and wouldn't want other colleagues to ask me to disable it because it creates too much spam for them since I do benefit a lot from using it.

marko-hologram avatar Dec 09 '22 14:12 marko-hologram

I also ended up here trying to figure out why "Enable threading for Pull Requests and Issue notifications" wasn't working as I expected, it seems weird that it's pushing to both places. I would have expected one or the other.

I think ideally this setting is at least 4 options: A: Post updates nowhere B: Post updates to thread, C: Post updates to the channel (old functionality), D: Post updates to both thread and channel (new functionality)

I'd want B personally, but I'd actually even prefer A over C or D.

rlabrecquefsg avatar Dec 09 '22 22:12 rlabrecquefsg

Thanks for the feedback. We will look into this request.

ashokirla avatar Dec 12 '22 03:12 ashokirla

Thanks for the feedback. We will look into this request.

Thank you!

And if it can be done, would it be possible to set custom preferences as a global setting that would get applied to any new channel that gets subscribed to a repo? I don't mind updating settings for existing channels, but would love if I could set up global preferences that would be applied to any new channel subscription 😄

If that's not possible, it would be great if these settings could be set immediately when invoking subscription command /github subscribe organization/repository --some-flag or something like that.

marko-hologram avatar Dec 12 '22 09:12 marko-hologram

Hah, I'd love that too but that should probably be it's own ticket even! One thing at a time

rlabrecquefsg avatar Dec 12 '22 19:12 rlabrecquefsg

Hah, I'd love that too but that should probably be it's own ticket even! One thing at a time

Yeah true. As long as this is addressed first, I can live with manual settings update. I don't actually connect a new Slack to GitHub that often so doing it from time to time doesn't seem like such a chore.

It's way more important for me to get actual options when enabling/disabling different behavior 😄

marko-hologram avatar Dec 12 '22 20:12 marko-hologram

Would love to disable this broadcasting once the PR has been merged too ! 🙏

fradsj avatar Dec 15 '22 11:12 fradsj

Hello guys,

I would love to have this feature as we are using the bot to handle reviews on my squad and I find that it create a lot of noise making me scroll to find new PR. I prefer having all github bot message related to one PR inside the initial thread.

bfeuillet avatar Dec 15 '22 11:12 bfeuillet

Agreed! Send the message to the channel, or the thread, but not both! It (almost) completely invalidates the usefulness of threads if you spam everything to the channel too.

jayspang-pm avatar Jan 13 '23 19:01 jayspang-pm

+1 here too. Threading is such a great feature, the whole team here would love to fully thread everything! 🪡

sidonaldson avatar Jan 26 '23 10:01 sidonaldson

I can understand this option in a small based project, however if you have many devs linked to one channel, gosh. I can have sometime 5 PRs in a row spam this open, closed, merged. Keep it in the message thread and not in the channel broadcast.

kasiopec avatar Jan 30 '23 10:01 kasiopec

I can understand this option in a small based project, however if you have many devs linked to one channel, gosh. I can have sometime 5 PRs in a row spam this open, closed, merged. Keep it in the message thread and not in the channel broadcast.

Yeah totally. I work in an agency and we have this enabled for multiple projects. We actually started turning off the integration because it just spams everyone too much, especially people that are involved in multiple projects.

We kinda agreed internally that if someone wants these notifications, they should create their own private channel and enable them for themselves for any project they want to. That way they don't spam other people unnecessarily.

marko-hologram avatar Jan 31 '23 09:01 marko-hologram

+1 for being able to turn off "Also sent to the channel" for updates on a PR. It's super annoying to have to clear/check both the thread and the channel.

joelataylor avatar Feb 01 '23 15:02 joelataylor

+1 on this. Notification of an update to a thread in the main channel completely negates the benefit of updating the thread itself in the first place

rcoops avatar Feb 02 '23 12:02 rcoops

I think our team would prefer the opposite to most suggestions here which is to just post to a channel with no threading. Putting a merge notification into a thread for example would negate part of the point of this integration for us as we like to be notified once something has been merged. We’re a smaller team though so the frequency of PRs is much lower so I can completely see how having more PRs would change that viewpoint.

Seems like a flexible option for either threads or no threads is needed imo.

vaunus avatar Feb 02 '23 12:02 vaunus

I think our team would prefer the opposite to most suggestions here which is to just post to a channel with no threading. Putting a merge notification into a thread for example would negate part of the point of this integration for us as we like to be notified once something has been merged. We’re a smaller team though so the frequency of PRs is much lower so I can completely see how having more PRs would change that viewpoint.

Seems like a flexible option for either threads or no threads is needed imo.

@vaunus Admittedly I haven't tried it, but I'd have expected the option mentioned by shivananda-sahu to do what you're wanting already?

I see image

rcoops avatar Feb 03 '23 08:02 rcoops

+1 to be able to disable the 'send to channel' behaviour. It creates a lot of noise having duplicated notifications.

sp-luciano-chinke avatar Feb 03 '23 11:02 sp-luciano-chinke

It would appear there are three options

  1. Everything to be threaded - not supported at the moment
  2. Mostly threaded but some key updates posted to the channel - existing behaviour by enabling threading
  3. Do not thread anything - existing behaviour by disabling threading

It would be amazing to get Option 1 as it is quite desirable. If not maybe update the wording as the setting text implies it's Option 1 when it is actually Option 2

sidonaldson avatar Feb 03 '23 12:02 sidonaldson

I would really appreciate this functionality as well. This would allow a Slack channel to just be a nice organized collection of GitHub PRs as threads which can be important for very large projects and teams and make it much much easier to find the information you need when you need it.

Ionshard avatar Feb 09 '23 17:02 Ionshard

Would be a useful feature for our team. Especially if we can customize it per channel.

AronDavisPaylocity avatar Feb 17 '23 18:02 AronDavisPaylocity

+1 This is a really useful feature for our team as well.

scr1ble avatar Feb 27 '23 04:02 scr1ble

+1 to this feature. Came here looking how to do this. Please make it an option.

eatonjl avatar Mar 06 '23 17:03 eatonjl

With threads available, an option to remove posting in the main channel is a must-have.

pgmillon avatar Mar 07 '23 12:03 pgmillon

ashokirla commented [on Dec 11, 2022] Thanks for the feedback. We will look into this request.

Is there any update on this? When do we expect this request might be worked on?

Sweathered avatar Mar 09 '23 19:03 Sweathered

+1 This feature would really help us cut down on noise.

Large team with several repos, the point of this channel is so that we can keep track of all of these in once place - but the noise added by all threaded replies also being sent to the channel, defeats the purpose of said channel.

Bejasc avatar Mar 10 '23 00:03 Bejasc

+1 Would also love to see this feature added

johnclimer avatar Mar 16 '23 20:03 johnclimer