slack icon indicating copy to clipboard operation
slack copied to clipboard

Disable rich previews for channels

Open tonglil opened this issue 8 years ago • 78 comments

It can become really annoying in Slack when all GitHub links are automatically previewed.

For example, sharing links with coworkers in a private message and the chat is cluttered by previews instead of a list of links.

This should be a setting that can be turned on or off for specific channels and DMs.

tonglil avatar Mar 22 '18 17:03 tonglil

@tonglil Just to get some additional context on this: Do you think the previews take up too much space, or would you prefer not to see them at all?

Before this integration took over previews for GitHub links, Slack would show the default previews which didn't show much relevant information. Were those previews less annoying?

wilhelmklopp avatar Mar 25 '18 22:03 wilhelmklopp

I upvoted this because there's some people I DM where neither of us want to see unfurls for anything. Any time a preview comes up we just delete it. In other channels I want the unfurls, but being able to disable this on a per channel basis would be great.

xt0rted avatar Mar 26 '18 06:03 xt0rted

@wilhelmklopp they take up too much space and I just want links most of the time. The context it provides isn't that useful.

Before I (and others) would by use the Slack setting to hide all links from unfurling by default, and expand them using /expand.

tonglil avatar Mar 26 '18 07:03 tonglil

The new ones are better, but I often (not always) delete the default previews too.

The old webhook system still works, but sadly only for Enterprise accounts: https://slack.com/apps/A0F7YS2SX-github

13rac1 avatar Apr 26 '18 04:04 13rac1

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 Jun 25 '18 04:06 stale[bot]

IMHO still relevant. I always click the X to remove any GH preview as any preview takes up too much space. I would like an option to disable them per-user, per-channel, however it's supported in Slack. Thank you!

lukebakken avatar Jun 25 '18 13:06 lukebakken

Started seeing these more often lately and they are incredibly annoying.

They should have a setting similar to the image setting where the content is hidden by default and can be expanded.

YSavir avatar Jul 13 '18 15:07 YSavir

+1 would prefer to at least have the option to turn this off

Flaque avatar Jul 31 '18 20:07 Flaque

I turned on the integration and it triggered several team members as they believed it's too noisy. I have to say, on second inspection, I agree.

I think it would be nice to either allow people to customize the message or just add an option to post a single line notification of a new issue or PR.

I believe the old plugin support this feature, not sure why the new one doesn't?

pmyjavec avatar Aug 06 '18 05:08 pmyjavec

The constant preview is very annoying. And it is made even more annoying by the fact that if all members don't have access to the repo, it posts:

The link you shared is from a private repository. Not everyone in this workspace may have access to the associated GitHub content.

asking for permission EVERY TIME.

Obviously hiding unfurls is a feature that a lot of us like. You need to allow that for every integration by channel or for every user by setting.

Carsair avatar Aug 20 '18 20:08 Carsair

Partial solution: /github settings will allow you to turn the github rich preview prompt off. Still doesn't work for all of slack previews by channel, but it helped me.

Carsair avatar Aug 22 '18 22:08 Carsair

Partial solution: /github settings will allow you to turn the github rich preview prompt off

But only if you have the permissions to do so.

lukebakken avatar Aug 22 '18 22:08 lukebakken

I enabled rich previews in certain channels and now I would like to disable it... though I am unable to find the view where I can do that.

tyronjung-quizlet avatar Nov 21 '18 01:11 tyronjung-quizlet

Partial solution: /github settings will allow you to turn the github rich preview prompt off. Still doesn't work for all of slack previews by channel, but it helped me.

/github settings with which parameters ? I get as answer to the command "you do not have any settings configured." No help provided.

mhow2 avatar Dec 07 '18 10:12 mhow2

One thing I found confusing is that when I turned on github previews, I thought this enabled them on my view of message containing a link, not that the links that I sent would have previews for everyone else in the channel.

andrewjesaitis avatar Feb 25 '19 20:02 andrewjesaitis

Any chance we can turn these off? If not, oh well, I guess I can live with it.

revolvy avatar May 31 '19 21:05 revolvy

The ability to customize how this integration shows up in my channel would make the integration a whole lot more useful to me

ebb-tide avatar Dec 18 '19 19:12 ebb-tide

Probably showing just small preview with issue title and open/closed/assigned status is fine, but showing contents of issue description is too annoying.

powerman avatar Jan 14 '20 09:01 powerman

Hi. Any chance i can get some insight on how to use the /github settings command to disable rich previews? I've seen #595 where the OP seems to have successfully disabled previews with that command but every time I use it I get the message

You do not have any settings configured.

ricky-scopely avatar Feb 10 '20 09:02 ricky-scopely

Here's how to mute it:

  • trigger the prompt 5 times
  • dismiss 5 times
  • you'll get a prompt
  • click mute indefinitely
  • now /github settings shows a dialog to enable it: image

The prompts are very annoying. Any space used is space wasted when I don't want to use this feature. In certain workspaces both dismiss and show buttons just show a spinner so I have to explicitly delete them to remove clutter from the discussion. Because of this I also can't mute in these workspaces (I also don't wish to just send 5 random links).

The setting is super inconvenient and not at all clear. At least give us explicit control over this setting please.

thisismydesign avatar Mar 12 '20 15:03 thisismydesign

Just to add one more voice: please add the ability to disable link previews for a channel.

boris-kolpackov avatar May 20 '20 05:05 boris-kolpackov

Think this would go really well w/ #1025 bulk enable/disable

jakesylvestre avatar May 20 '20 18:05 jakesylvestre

I've tried to trigger the prompt more than 5 times as per the steps here: https://github.com/integrations/slack/issues/487#issuecomment-598238044

The mute indefinitely message did not come up. I'm a workspace admin and have set up the GH Slack App in the channel I triggered the messages/previews on.

I used issues from this repo, which is public. Not sure why it's not coming up.

pthieu avatar Jun 11 '20 21:06 pthieu

I'm not sure if this is the same issue, but I find the github app messages to be waaay too big

Screen Shot 2020-08-05 at 4 48 34 PM

This is a huge amount of space for what I want, and it causes my coworkers to say (understandably): "I don't want us to use a bot like that, it's too much clutter. I'd like something along the lines of:

Sequoia opened a new PR: #1075 Sequoia/add prep time to place cards

What I'd like is a oneline setting. I have tried /github settings but I get "You do not have any settings configured." so I don't know if there's any way to change this.

Sequoia avatar Aug 05 '20 20:08 Sequoia

Upvote for me too. I understand this thread is specific to github integration/unfurls, but a feature per channel in general would be super userful. I know I can turn them off for just me, but that's not what we need. Our android engineering channels use an rss to stay on top of android releases, but because I can't turn off auto-unfurling for the CHANNEL (those don't listen to my settings when posted by a plugin/bot, either), we end up with HUGE posts (e.g., Jetpack libraries updates). In order to reduce the intrusion of these posts, it would be lovely if I could control link unfurling and previews at a per-channel level. There are channels where I love this feature, but this one is not one of them.

I will add that I use the accessibility functions, zoom at 150% to protect my eyes long-term, so these are massive for me, but still size-able even at 100%. That said, these previews don't serve a purpose, and it's the same one over and over. That's not necessary, either.

https://ibb.co/y0pcp8C - 150% zoom https://ibb.co/x6GDWyJ - 100% zoom *NOTE: These images will auto-delete in 1 month.

abeward avatar Oct 01 '20 17:10 abeward

I can't believe that you guys are forcing us to see all of these details .. please implement a control over this as soon as possible .. it's killing me :(

MagdyYoussef avatar Oct 07 '20 20:10 MagdyYoussef

+1 for this feature. The previews quickly clutter the channel, and to globally deactivate them, per user, is nor really practical.

diego-a-ardila avatar Jan 07 '21 15:01 diego-a-ardila

What I'd like is a oneline setting. I have tried /github settings but I get "You do not have any settings configured." so I don't know if there's any way to change this.

+1. I've hated this deeply for very long, it's way too expansive. Having a one-liner setting like you described would be perfect!

parreirat avatar Feb 01 '21 11:02 parreirat

Is there some way to unfurl just the title of the PR in the preview?

jaingaurav1990 avatar Apr 24 '21 17:04 jaingaurav1990

/github settings worked for me – it's a per-user setting. Relief! It's crazy this integration doesn't respect the Show text previews of linked websites and Show images and files from linked websites Slack options.

image

andfinally avatar May 19 '21 12:05 andfinally