RocketChat / RocketChat/Rocket.Chat

Message Attachments w/o Title and "Collapse Embedded Media by Default" Hides Content

Open
#9,416 4 comments 3 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

Description:

When "Collapse Embedded Media by Default" is set to true, message attachments usually have an expand/collapse widget that can be used to expand a collapsed message. If the message attachment has no title, then this widget is not rendered and there is no way to expand the message content. Instead, you get a blank message.

With "Collapse Embedded Media by Default" set to true:

download 1

With it set to false:

stockbotdebug

Server Setup Information:
  • Version of Rocket.Chat Server: 60.4
  • Operating System: Fedora and Windows
  • Deployment Method(snap/docker/tar/etc): Docker
  • Number of Running Instances: 5
  • DB Replicaset Oplog: Yes

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

No file or test entry point is identified in the issue. Reproduce the blank attachment with "Collapse Embedded Media by Default" enabled and a message attachment without a title; trace the attachment rendering and expansion control. Done means untitled attachments remain expandable and their content is visible while the setting is enabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.