RocketChat / RocketChat/Rocket.Chat

Need a way to suppress url preview for individual URLs

Open
#30,620 12 comments 8 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

We want to have URL Previews generally enabled, as they are cool.

In certain cases, e.g. when posting a collection of URLs e.g. something like

Preview URL: https://demo....
Download URL: https://download...
Ticket URL: https://isuses...
Documentation URL: https://docs...

It looks very messy to have all those previews underneath.
Is there a syntax to intentionally suppress preview generation?

I currently workaround by ommitting the https:// part of the URLs, most browsers behave well, and promote to https, but people copy-pasting URLs into other tools, often end up with insecure connections then. -- so this workaround is not a good idea.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue does not name any files, tests, or entry points. Start by tracing the existing URL Preview handling and determine how individual URLs could opt out while previews remain enabled generally; done means the documented syntax suppresses selected previews without removing URL schemes or affecting other URLs.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
full-stack
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.