-
Notifications
You must be signed in to change notification settings - Fork 498
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
URL previews! #888
Comments
Display inline previews for URLs in timeline (for parity with riot-web), using the API as per https://github.com/matrix-org/synapse/blob/develop/docs/url_previews.md#api |
Is there any movement in the implementation of the URL previews to get par to Riot Web and Riot Android? |
yes url previews for IOS would make it a lot nicer |
Is there a way to see what Sprint the team is currently on and what milestones are included? |
+1, I'm waiting for that over a year, telling my users it'll come. I don't know where's the problem to just implement it ... |
Another half of a year passed ... and nothing happened |
still waiting for this feature |
My users are also waiting eagerly for this feature. |
With Signal inviting extra scrutiny, and being a centralized product, the whining I get from my fellow chatters I've asked to convert to Element centers around the lack of URL previews. This request has been around for a while and is just a parity request. So, for now, I am also eagerly awaiting this feature. |
For iOS 13 and higher we can look at using https://developer.apple.com/documentation/linkpresentation for the system to manage these previews, with a fall back to a custom implementation for anyone running 11 & 12. |
Wouldn't this break parity with the other Element clients? Not (only) in the way of presentation, but also with generation? As synapse has it's own quirks when displaying links, and the iOS method will share none of that. |
There is some customisation to how it appears and it's possible to provide it with custom data from Synapse if necessary. But if it ultimately doesn't fit, it won't have been much work and the fall back will be there anyway 🙂 |
I like the idea of using the system API from a visual standpoint but does using that API mean the preview would be fetched locally on device rather than by the server? That would be a privacy issue. |
I expect Apple to keep user privacy in mind, they'd probably do this feature by bouncing these requests through their servers, or do something alike to that (or cache the results). So I think privacy is not the issue here, if i'm not mistaken. |
@ShadowJonathan possibly on iOS 15 with iCloud Private Relay but iOS 14 definitely fetches the previews that are shown in the Messages app directly from your phone (just tested) |
How are other apps providing a preview and maintaining privacy? |
It can be done either way. We can get the data ourselves and provide it to the view, or can give the view the URL and let it handle this on device. In both instances I believe the data is taken from opengraph tags in the page.
Currently they call |
The URL previews dont work on urls that are written to a room by a bot (in my case the rss bot). I do get preloads for manually input urls. So, it doesnt work all of the time. I am on ios 15.1.1. |
@franc2s could you maybe tap such a message, "More", "View Source", and then copy that into a new issue? |
On the Element version 1.9.3 (Linux). URLs preload (same as on the latest Android client for Android 7). On IOS 15.1.1, here the urls dont preload. Thanks. |
@franc2s could you please put that in a new issue? |
Figma link: https://www.figma.com/file/tnv1s5KUVK38Byt54gs7GM/%5BTimeline%5D-URL-previews?node-id=8%3A122
The text was updated successfully, but these errors were encountered: