Skip to content

Put link preview text below small images instead of beside them - #6391

Draft
nandorojo wants to merge 2 commits into
signalapp:mainfrom
nandorojo:link-preview-full-width-description
Draft

nandorojo wants to merge 2 commits into
signalapp:mainfrom
nandorojo:link-preview-full-width-description

Conversation

@nandorojo

@nandorojo nandorojo commented Nov 7, 2026 •

Copy link
Copy Markdown

Contributor checklist

Administrative:

Testing:

  • I have verified that the issue reproduces on latest main.
    • I have included a screen recording documenting the issue reproducing.
  • I have verified that the issue no longer reproduces on my branch.
    • I have included a screen recording documenting the issue no longer reproducing.
  • I have thoroughly tested this change, and I am not aware of any regressions to existing features or behaviors.
  • I have tested my contribution on these devices:
    • iPhone 18 Pro Simulator, iOS 27.2

Commits:

  • My commits are rebased on latest main.
  • My commits are well-structured for review.

Description

Depends on #6389. Merge that one first.

When a link preview has a small image, like the profile photo on a post from X, the text is squeezed into a narrow column next to the photo. This moves the text below the photo so it uses the full width of the message. The photo and title stay side by side on top. Android already lays out link previews this way.

Previews with a large image don't change.

The screenshot sends this post from each build:

Before and after

The text moves from beside the photo to below it, using the full width of the message.

Testing

I ran the app with #6389 and with this branch, signed in on staging, and sent the three posts above to Note to Self from each build. The link preview tests pass (HTMLMetadataTests, LinkPreviewFetchStateTest, OWSLinkPreviewTest, ConversationViewTest).

🤖 Generated with Claude Code

nandorojo and others added 2 commits November 7, 2026 11:07
Large-image previews, and previews without an image, give the
description the full width of the bubble but still cut it off at three
lines. Allow up to 15 there. Descriptions beside a thumbnail keep the
three-line limit.

Descriptions were also normalized to their first three lines when
fetched and again when received; use the same 15-line limit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Previews with a small image (most notably posts on X, whose og:image is
the author's 400x400 avatar) squeezed the title, description, and domain
into the column beside the 64pt thumbnail, and cut the description off at
three lines. A post was usually truncated mid-sentence.

When a preview has a thumbnail, a title, and a description, put the
thumbnail and title side by side and give the description the full width
underneath. This matches the link preview layout on Android. Previews
without a description and sticker packs keep the existing layout.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@nandorojo nandorojo changed the title Show link preview descriptions at full width below the thumbnail Put link preview text below small images instead of beside them Nov 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant