slack icon indicating copy to clipboard operation
slack copied to clipboard

Allow configuration of PR comments vs code comments

Open richardowen opened this issue 6 years ago • 14 comments

In the previous Slack integration, it was possible to subscribe to comments on issues & pull requests but this wouldn't include comments on lines of code.

When comments are enabled in the new Slack integration, it sends every comment to Slack. Even comments on individual lines of code and even if reviews are not enabled in the integration. This makes the integration far too spammy to have comments enabled.

Ideally it would be nice for comments on code to be a separate configuration setting.

richardowen avatar Mar 05 '18 13:03 richardowen

This would be super helpful, our use case:

We have a slack channel “#issues” that’s subscribed to all issues on each repository and nothing else. Ideally this would also include issue comments, but since that would stream in PR comments and friends, it’s too noisy and unnecessary for non-end teams, forcing us to turn it off entirely.

shnhrrsn avatar Mar 29 '18 21:03 shnhrrsn

Sorry to highjack this thread, but I've been frustrated that the new integration barely does anything that the previous webhook integration did. I'm surprised to see you mention comments because I can't get comments (PRs, code review on individual lines or elsewhere) to show in Slack. I've looked everywhere and can't find any way to set that. What am I missing?

lee-40square avatar May 10 '18 18:05 lee-40square

Is this still relevant? If so, just comment with any updates and we'll leave it open. Otherwise, if there is no further activity, it will be closed.

stale[bot] avatar Jul 09 '18 18:07 stale[bot]

Unless this has changed, we'll still need to use the old integration for now.

richardowen avatar Jul 09 '18 19:07 richardowen

I don't see any kind of comments with the new integration.

shanev avatar Aug 09 '18 21:08 shanev

@shanev notification of comments isn't enabled by default. You can enable for a repo with /github subscribe <owner>/<repo> comments

There's some more details about the additional notifications you can enable over here.

mikej avatar Aug 10 '18 07:08 mikej

Also it would be nice to be able to select only PR comments or only issue comments. If you look at the code this seems to already be possible, the features just seem to be linked all to one command instead of seperate commands: https://github.com/integrations/slack/blob/master/lib/models/subscription.js#L6-L16

I have never contributed to an open source proejct before but I guess I could try opening a PR to make these values spererate :D

Askir avatar Dec 08 '18 09:12 Askir

Is this still relevant? If so, just comment with any updates and we'll leave it open. Otherwise, if there is no further activity, it will be closed.

stale[bot] avatar Dec 08 '19 09:12 stale[bot]

Well since there haven't been any updates, I assume this is still an issue. I haven't tried the new integration again but can't see anything new from the docs.

richardowen avatar Dec 08 '19 13:12 richardowen

Would also like to see this +1 as the comments do get noisy when you want to partition technical details in code review from solution planning/discussion in issues

otech47 avatar Dec 04 '20 14:12 otech47

Is this still relevant? If so, just comment with any updates and we'll leave it open. Otherwise, if there is no further activity, it will be closed.

stale[bot] avatar Jan 09 '22 02:01 stale[bot]

Still hoping to see separate flags for issue/code comment feature...

markwoon avatar Feb 04 '22 19:02 markwoon

Same

Jacobsolawetz avatar Feb 17 '22 15:02 Jacobsolawetz

Still waiting

janek-j-survicate avatar Jan 04 '24 12:01 janek-j-survicate