TheEssem / mastodon

Chuckya, a glitch-soc fork used on wetdry.world
https://wetdry.world/@chuckya
GNU Affero General Public License v3.0
77 stars 10 forks source link

Allow user to choose which link to use for the preview card #20

Open crisukbot opened 5 months ago

crisukbot commented 5 months ago

Steps to reproduce the problem

Create a post with two links, one that gives out nothing, and the other that, for example, should make a preview card of a video from YouTube.

Expected behaviour

The second link (for example, the YouTube preview card is not shown, only the first one, which has nothing in it)

Actual behaviour

Either you can choose for which link to make a preview card in the post, or Mastodon can check for the possibility of making a preview card, and if there is nothing in the first link, make a preview card from the second or third link in the post.

Detailed description

Here's an example of a problem, people posted two links, the first one is a torrent tracker that doesn't generate a preview card, and the second link is a YouTube video, and I would like Mastodon to display the second link and make a preview card for it. (Or at least to have a choice for which link to generate a preview card)

https://social.noleron.com/@melvoice/112650326481702141

Mastodon instance

social.noleron.com

Mastodon version

v4.3.0-alpha.4+chuckya

Browser name and version

Firefox 127.0

Operating system

Windows 11 and MacOS 15

Technical details

No response

TheEssem commented 5 months ago

It looks like this is an issue with vanilla Mastodon (tested by viewing that post on mastodon.social). I'd suggest reporting the issue over there as well.