ronilaukkarinen / mastodon-bird-ui

🐘🐦 Mastodon web UI, but strongly inspired by Twitter.
MIT License
473 stars 50 forks source link

Add patch to display quote-posts on status cards #125

Open richarvey opened 5 months ago

richarvey commented 5 months ago

Many mastodon clients are now allowing users to quote post and include the original post in the new post within a status card. This doesn't display on the web ui but would be a nice added feature. The change is ~6 lines of code which means the web ui and all the other clients will pick up the URL from a quoted post and make it a status card.

It's a nice feature to add and it's been tested out on awscommunity.social implemented via the CSS method.

ronilaukkarinen commented 5 months ago

Okay I have reviewed the PR.

Some notes:

  1. Build fails, please edit the pull according to the stylelint ruleset
  2. Styles should be added to both single and multiple column layout and use the .layout-single-column class in single side and .layout-multiple-columns in multiple column layout
  3. What if we have an image with a long test like in this example? This does not look right:

image

ronilaukkarinen commented 2 months ago

Tangerine UI has this enabled with image on the right side with border radius. I could experiment with that in some point. Another PR welcome if you want to try it out.