Open nikclayton opened 1 year ago
In this example:
Proposed change:
Or... if the URL is the last text in the status, as it is here, on a line on its own (i.e,. it's not part of a sentence), remove the URL from the status text, and show the preview card. Don't include the full URL in the preview card, but do include the domain.
Although doing that would make it harder for people to copy/paste the URL from the status. Maybe only do that in the normal status view, not the detailed status view (copy/paste isn't possible from normal status view, so this wouldn't remove existing functionality).
In this example:
It doesn't help that the preview image URL is not the same as the URL in the link because of a consent click through. I'm not sure there's much we can do about that. Although maybe... don't show the preview if the link in the preview and the link in the status are not the same?
Proposed change:
card_image_placeholder
drawableThe behavior/design was pretty much taken over from Mastodon web. They improved it quite a bit since then though, we should as well.
I'd do it probably like this
provider_name
, provider_url
, url
https://docs.joinmastodon.org/entities/PreviewCard/card_image_placeholder
and border. I think they are very important to communicate that this is a link preview card.Is there a way to expand (untruncate) the Title and Description text without actually going to the link in a web browser? A lot of news headlines have the lede at the end of the sentence.
Maybe a long press to expand?
Second this. I came here to create exactly this issue.
With most links, titles overflow the preview card. Unless the poster has included a copy of the title, or there's enough information in the URL, it's impossible to determine whether this is a relevant link to follow... without following it in the first place.
Here's an example of a post where the URL in the message (and the text from the poster) is more informative than the preview.
A longer description would also be useful, within reason.
Maybe the number of lines to use for both should be parametrable?
I think there's scope to improve the presentation of information in preview cards. I'll show a couple of examples in comments.
Tusky Version: 21
[x] I searched or browsed the repo’s other issues to ensure this is not a duplicate.