element-hq / element-hq/element-web

Unrenderable link previews are still counted as expandable

Open
#34,176 0 comments 0 reactions 0 assignees View on GitHub
A-URL-Previews O-Frequent S-Minor S-Tolerable T-Defect
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

Image

Despite only one of those links resolving, we've got one valid link and 3 other links. Pasting the 3 links by themselves do not yield a preview. We're miscounting somewhere.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported case with one link that resolves and three links that do not produce previews, then trace where link previews are counted as expandable. Confirm the fix by checking that only renderable previews are counted while the existing valid link remains expandable.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.