URL previews are often useless and take up too much space. It would be nice to have an option to turn them off or customize them.
Something like Slack has:
This would be a very nice addition.
implemented as part of #2763
@engelgabriel I wouldn't close this issue just yet, you cannot close/disable URL previews yet, only images/embedded media.
The OP wanted to disable this:
A feature with slack that I find quite valuable is the ability for the message author to be able to delete the preview. This lets the author of the message make a judgement call as to whether the link preview is useful or not, rather than having every user have to make a global decision on the matter.
i think it would be ok/good to have a "enable emded preview for given urls" -> "regex, comma seperated"
something like you do in "AutoLinker URL Regular Expression"
so we can enable the preview only for youtube, as example
Is it possible to send http and https links that DONT get preview?
(yes I checked an open issue with /colapse /expand request for slack).
Just note that checking URL for TITLE actually OPENS that url.
Aka, you CANT send "delete links" or any other "perform action" links at rocket chat.
You can just make something like hp or hps:// links. Its kinda .. awkward.
Idea:
http://secret.api/?delete_id=123
vs
or
|http://secret.api/?delete_id=123
h**p://secret.api/?delete_id=123
(sure works, but its not clickable)
Just closed #10606 that also wants to this option implemented. The motivation there is privacy, yet the outcome would be the same.
Cheers
Thomas
Please reopen that issue, @TwizzyDizzy. You misunderstood the suggested feature.
I would like to work on this issue.
@engelgabriel Please review #19360 . I have added the option to toggle URLs along with media.
Most helpful comment
Is it possible to send http and https links that DONT get preview?
(yes I checked an open issue with /colapse /expand request for slack).
Just note that checking URL for TITLE actually OPENS that url.
Aka, you CANT send "delete links" or any other "perform action" links at rocket chat.
You can just make something like hp or hps:// links. Its kinda .. awkward.
Idea:
http://secret.api/?delete_id=123
vs
http://secret.api/?delete_id=123
or
|http://secret.api/?delete_id=123
h**p://secret.api/?delete_id=123
(sure works, but its not clickable)