cheeaun / cheeaun/phanpy

[Feature] Different styling for `aside`s inside posts

Open
#365 9 comments 0 reactions 0 assignees View on GitHub
design enhancement
Dominant language
JavaScript
Stars
1.5k
Forks
186
Avg merge
1d 36m
Merged PRs (30d)
11

Description

**Is your feature request related to a problem? Please describe.**

When using GoToSocial, sometimes media couldn't be federated for whatever reason, although the post itself was. Currently, in these cases, the server stores a link to the original media and presents a "fallback" text format of the media, as seen below.

A post on Phanpy with that ends with 'Note from social.filipesm.eu: 4 attachments in this status could not be downloaded. Treat the following external links with care:' and a list of links to images and their alt texts

This fallback presentation is put inside an `` tag. Right now it's rendered with the exact same CSS.

This is the code (sorry I couldn't put it inside a `` because it's code).

```html

Europe is a place where diverse cultural and religious identities are honored.

Respect and tolerance are the founding values of our societies.

Therefore, we must stand up against anti-Semitism and anti-Muslim hatred, whenever we encounter it.

We are stepping up action against hatred through additional funding and reinforcing action across a variety of policies.

This is a call for action to all Europeans → europa.eu/!N6jPyN

Note from social.filipesm.eu: 4 attachments in this status could not be downloaded. Treat the following external links with care:

  • d5ae9424da426a98.png [A visual resembling a hand-written note, entitiled 'Article 2, Treaty on European Union'. The Union is founded on the values of respect for human dignity, freedom, democracy, equality, the rule of law and respect for human rights, including the rights of persons belonging to minorities. These values are common to the Member States in a society in which pluralism, non-discrimination, tolerance, justice, solidarity and equality between women and men prevail.]
  • 036a4bef90650669.png [A visual resembling a hand-written note, quoting Nelson Mandela, Anti-apartheid activist, President on South Africa (1994-1999). “Safety and security don't just happen, they are the result of collective consensus and public investment. We owe our children, the most vulnerable citizens in our society, a life free of violence and fear”]
  • 13f682096d27ab75.png [A visual resembling a hand-written note, quoting Helen Keller, American author and political activist, Disability rights advocate. "Alone we can do so little, together we can do so much".]
  • 75a69b20814694a3.png [A visual resembling a hand-written note, quoting Elie Wiesel, Nobel laureate, Holocaust survivor: "What hurts the victim most is not the cruelty of the oppressor, but the silence of the bystander”.]


```

**Describe the solution you'd like**
Maybe we could give it a slightly less prominent look? Maybe faded color and smaller font size?

**Describe alternatives you've considered**
Just dealing with it ahah

**Additional context**
This is using GTS, but I suppose having a special more subtle style for `aside`s is good in general?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.