Tusky icon indicating copy to clipboard operation
Tusky copied to clipboard

Harmonise viewing of hashtags at the end of posts

Open bannisdale opened this issue 1 year ago • 1 comments

Pitch

Some updates ago, Mastodon Web introduced that hashtags that are at the end of posts after two line breaks are presented differently:

Screenshot_20240815_155544_Firefox

This seems to have never made its way into Tusky, as these hashtags are still just part of the regular post body.

Would be nice if both behaved the same. :)

Motivation

I think it's needed as it is the standard (and therefore expected) behaviour. Plus, it looks nicer and cleaner. Also, you can't be sure if your post is displayed as intended without opening it via URL afterwards.

I think all users would benefit from the change that view posts with "attached" hashtags. 😉

bannisdale avatar Aug 15 '24 14:08 bannisdale

🤔 We could also display "out-of-band" hashtags here (hashtags that are attached to the post but aren't referenced via #hashtag in the post content)

Tak avatar Aug 16 '24 09:08 Tak

With Mastodon v4.3 it looks more pretty.

  1. Hashtags (which are placed at the post's end and in a single line) are below every post. It's good they are even below the images and don't disturb.
  2. Only max. 3 Hashtags are shown, the rest appear when you click on 'more'

I miss this in tusky. Especially, when they are many Hashtags.

grafik

Der-K-2000 avatar Oct 25 '24 19:10 Der-K-2000

This was implemented in https://github.com/tuskyapp/Tusky/pull/4761 and will be available in the next release (or it is now available in nightly)

Tak avatar Dec 05 '24 08:12 Tak

This was implemented in #4761 and will be available in the next release (or it is now available in nightly)

Yay, thank you! :)

bannisdale avatar Dec 05 '24 08:12 bannisdale

In the current beta version, trailing hashtags only seem to apply for posts that have attached media, i.e. not for text posts. However, the standard behaviour also supports trailing hashtags for text posts.

Should I open a new issue? Doesn't seem like I can re-open this one.

bannisdale avatar Dec 14 '24 08:12 bannisdale

Hi, it should apply the same way for text-only posts, e.g. https://tenforward.social/@AlsoPaisleyCat/113649567262447089

Note that the post needs to have a line at the end with only hashtags, or hashtags that are not contained in the post body (also in mastodon web).

If you have a specific example of a post where it isn't working correctly, please send it to us (either here, on an issue, or via matrix), and we'll take a look

Tak avatar Dec 14 '24 08:12 Tak

Seems to work when viewing a single post, but not in the timeline. At least it's not very distinguishable. 😅

Timeline:

Screenshot_20241214_100112_Tusky

Post view:

Screenshot_20241214_095557_Tusky

Standard:

Screenshot_20241214_095613_Firefox

URL: https://mas.to/@farbel/113617210579459684

bannisdale avatar Dec 14 '24 09:12 bannisdale

I believe it's being applied, there's just not such a big difference in the look as in mastodon web - you can tell on posts with a lot of hashtags, because they get ellipsized in the timeline

Tak avatar Dec 14 '24 15:12 Tak