Commit graph

6 commits

Author SHA1 Message Date
fef
b7a6243272
display external custom emoji reactions properly
Using an emoji map was completely unnecessary in
the first place, because the reaction list from
the API response includes URLs for every custom
emoji anyway.  The reaction list now also contains
a boolean field indicating whether it is an
external custom emoji, which is required because
people should only be able to react with Unicode
emojis and local custom ones, not with custom
emojis from other servers.
2022-12-03 11:57:00 +00:00
fef
8ca3b6525d
cleanup JS imports and other minor stuff 2022-12-01 22:30:39 +00:00
fef
87850197b6
remove outdated comments 2022-12-01 03:33:16 +01:00
fef
cf5659a254
make number of displayed reactions a setting
This adds an extra item to the local settings for
specifying the number of reactions shown in toots.
The detailed status view always shows all
reactions.
2022-11-30 14:21:43 +01:00
fef
7653e59355
limit number of reactions displayed
Too many reactions on a single post quickly get
spammy, so they are now sorted by count and only
the first MAX_REACTIONS number of different
emojis are actually displayed.
2022-11-30 10:10:26 +01:00
fef
8cbaf188fc
cleanup frontend emoji reaction code 2022-11-29 10:19:26 +01:00
Renamed from app/javascript/flavours/glitch/components/status_reactions_bar.js (Browse further)