hometown-fork / hometown

A supported fork of Mastodon that provides local posting and a wider range of content types.
GNU Affero General Public License v3.0
736 stars 56 forks source link

Longform article not truncated on tag view #1278

Open ljwrites opened 1 year ago

ljwrites commented 1 year ago

Steps to reproduce the problem

  1. View a federated longform article, which was a Writefreely article in this case, in the tag view (such as fediblock) of the v4.0.2+hometown-1.1.0 web interface.

Expected behaviour

The long article would be truncated with a CW (as in Pinafore and Tusky) or truncated with a "Read Article" link under the title (v3.5.5+hometown-1.0.8 web interface).

Actual behaviour

The entire longform article showed in the tag view without any truncation.

Detailed description

As far as I was able to test, this issue only arises with the web interface of v4.0.2+hometown-1.1.0. Viewed from Pinafore and Tusky, the same article viewed from the same instance is truncated in CW form. The web interface of v3.5.5+hometown-1.0.8 provides a "read article" link below the article title, which is also acceptable.

I was unable to confirm whether the problem is replicated in the tag view of mainline Mastodon 4.0.2, because the same article did not appear in the tag view of a Mastodon 4.0.2 instance I have access to.

I was, however, able to confirm that when I pasted the article's url, https://writer.oliphant.social/oliphant/guidelines-for-defederation , into the search box of the Mastodon 4.0.2 instance, the article was displayed as a short status with the title of the article and a link to the article in the body, which again seems acceptable.

On the other hand, when I pasted the article url into three different Hometown servers, one of them v4.0.2+hometown-1.1.0 and the other two v3.5.5+hometown-1.0.8, the search result came up empty and I was unable to view the article from within the Hometown instances other than what appeared in the tag view. This may be a separate and possibly related bug, lmk if I should file a new issue for it.

Specifications

v4.0.2+hometown-1.1.0 web interface Chromium 105.0.5195.52 Arch Linux