matrix-react-sdk icon indicating copy to clipboard operation
matrix-react-sdk copied to clipboard

Hide URL preview if it will be empty

Open turt2live opened this issue 2 years ago • 0 comments

Before: image

After: image


A question with this is whether it's reasonable to not render the preview (implying the server might be slow/failing to the user), or if we want to put in some placeholder values instead.

Tests for this are difficult because URL previews. Ideally we'd use an integration test for this, but testing localhost/reliability of the preview is questionable.


Here's what your changelog entry will look like:

✨ Features

  • Hide URL preview if it will be empty (#9029).

turt2live avatar Jul 08 '22 22:07 turt2live