How best to do emoji rendering?
Currently, there is an MR open regarding frontend bundles that includes making MastoFE optional. However, other frontends like Soapbox's emoji SVGs come directly from MastoFE. This may cause a problem if and when MastoFE is removed from the backend /priv/static end and made only optional to install.
This is where we may need to think about how we best do emojis for MastoFE. IMO, updating a whole ton of emojis and just leaving them in as part of the repo seems inefficient and a waste of space when we could figure out some better way to download Twemoji assets and bring them in into MastoFE. I am open to suggestions. But I have two ideas regarding this:
- We find some way to bring in emoji SVGs via a Yarn package (in other words, make MastoFE's emoji stuff independent from Soapbox's).
- We let the Pleroma backend handle updating emoji SVGs.