tuskyapp / Tusky

An Android client for the microblogging server Mastodon
https://tusky.app
GNU General Public License v3.0
2.49k stars 390 forks source link

Improve information presentation on preview cards #3340

Open nikclayton opened 1 year ago

nikclayton commented 1 year ago

I think there's scope to improve the presentation of information in preview cards. I'll show a couple of examples in comments.


nikclayton commented 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).

nikclayton commented 1 year ago

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:

connyduck commented 1 year ago

The 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

Joeviocoe commented 11 months ago

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?

shtrom commented 10 months ago

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.

signal-2023-12-17-121532

A longer description would also be useful, within reason.

Maybe the number of lines to use for both should be parametrable?