You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The UX logic is that a link posted on its own line should be rendered as a full embed, like so:
I don’t know whether this is something that has to happen server-side (that’s how Discourse does it) or if this sort of thing can be done completely client-side nowadays (I doubt it).
There are also some security considerations when doing this type of meta-data fetching.
Aka ‘link embed’ or ‘link card’ or ‘onebox’. The prior art I’m most familiar with is in Discourse:
The UX logic is that a link posted on its own line should be rendered as a full embed, like so:
I don’t know whether this is something that has to happen server-side (that’s how Discourse does it) or if this sort of thing can be done completely client-side nowadays (I doubt it).
There are also some security considerations when doing this type of meta-data fetching.
We could probably use this if there was a JS/wasm client for it: https://github.com/EstebanBorai/link-preview
Otherwise we just need whatever the JS/Svelte equivalent of that is. I found microlink but it seems quite heavy.
The text was updated successfully, but these errors were encountered: