We could add this back in future branches/releases but Mastodon has
changed how they handle external links broadly, so we would need a
different approach (particularly around the "pill" UI element they do
for remote domains in accounts)
Work to maintain
- Permalinks (aka links outside the app instead of inside)
- Alt badges and no-alt badges and media-description-missing class for
audio/video
- Federation dropdowns and icons (local-only UI)
Main bits here are:
- retaining the "no alt text badge" and the custom class "media-missing-description" which lets admins apply custom CSS to media that doesn't have alt text
- agreeing with the upstream merge removing "noreferrer" from the
thumbnail link because that is now set by the admin in the UI: 425311e1d9
There's a button that is supposed to render when an ActivityPub article
is received and the status is collapsed for being too long. Instead of
saying "read more" it says "read article" and takes you to the rendered
Article.
Linter was complaining about a missing "href" on Permalink in the
hashtag component, but when I dug in, it's a partially merged feature
from this PR:
https://github.com/hometown-fork/hometown/issues/1249
If you look at the PR, there was never meant to be hashtag-specific
permalink functionality (this was code applied from an external patch), and
regardless I just checked and the hashtag functionality never worked
anyway (opening hashtag links in new windows).
Fixes an issue where it was trying to render FontAwesome-style icons
still. I just copied what some of the other similar dropdowns do. This
also fixes a rendering error when displaying a local-only post, thought
the layout still needs fixing.