Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Fix new URL previews #5666

Closed

Conversation

SimonBrandner
Copy link
Contributor

@SimonBrandner SimonBrandner commented Feb 19, 2021

Description

Fixes #16479

Image

Screenshot_20210219_171415

Non-image

Screenshot_20210219_171426

Additional info

This is going to need some input from the Design team

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
@t3chguy t3chguy requested review from a team and removed request for a team February 19, 2021 10:23
@t3chguy
Copy link
Member

t3chguy commented Feb 19, 2021

/me missed the Draft label and got over-excited :D

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
@williamkray
Copy link

as the guy who introduced the thing that nobody liked, i agree this is a much more graceful way of accomplishing what i wanted to do 😄

@williamkray
Copy link

williamkray commented Feb 23, 2021

after checking this out in action using the netlify deployment, i think it could handle even more restrictive use-case... specifically if the url ends in a known image mimetype (.jpg, .jpeg, .png, .gif). i say this because the issues with blurb text wrapping that raised some complaints is still in place with the narrower div for a lot of url previews that do supply an image rather than an element. the more compact horizontal url preview should probably be used more frequently, only depending on a larger image preview if it's specifically an image link.

@SimonBrandner SimonBrandner added the T-Defect Bugs, crashes, hangs, vulnerabilities, or other reported problems label Aug 4, 2021
@SimonBrandner
Copy link
Contributor Author

Closing as this PR is probably quite outdated by now

Related issues: element-hq/element-web#7897 and element-hq/element-meta#1583

@SimonBrandner SimonBrandner deleted the fix-url-preview branch June 26, 2022 10:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T-Defect Bugs, crashes, hangs, vulnerabilities, or other reported problems
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New and larger URL preview is a regression imo
3 participants