noahl
(Noah Lovell)
November 25, 2024, 5:46pm
1
We’re in the process of designing our own (branded) set of reactions for our forum posts/topics (the bottom 7 in the screenshot)
2 main questions:
What happens if we remove a reaction option? Do exisiting topics that have this reaction lose it, or retain it?
The reactions we’re looking to remove have been used <15 times in the past 12 months compared to our most used with 3K+
Is it possible to replace a reaction’s icon?
e.g. the heart is our most used reaction, and we want to continue using it, but update it’s design
2 Likes
they’ll retain it as long as you don’t delete the emoji itself (if it’s custom, the default emoji can’t be deleted)
if you upload a custom emoji using the same name as a default emoji, the custom emoji will be used
the heart is a little trickier, because in this form under the post controls it’s not an emoji, but an icon
so if you wanted to replace that as well, you’d have to use this process: Replace Discourse's default SVG icons with custom icons in a theme
for completeness you’d have to replace various default icons: heart
, d-liked
, d-unliked
, notification.liked
, notification.liked_2
, notification.liked_many
, notification.liked_consolidated
we have a theme component that changes likes to thumbs up that can be referenced for this: Change the Like Icon to 👍
2 Likes
noahl
(Noah Lovell)
November 25, 2024, 7:12pm
3
Amazing!
I did not know this - the more you know
2 Likes
noahl
(Noah Lovell)
December 2, 2024, 3:46pm
4
@awesomerobot - this was going so well, until the +1
emoji. Which when uploaded is changed to :_1:
.
Any ideas? Is this a potential bug?
2 Likes
hmm good question… this will also impact situations like -1
and :?:
this happens because we sanitize the names of custom emoji by replacing anything that’s not 0-9 or a-z with underscores, I’ll have to check with the team to see about adjusting this
2 Likes
We’re going to relax the sanitizing on custom emoji names, so once this is merged +
and -
will work!
discourse:main
← discourse:relax-emoji-sanitization
opened 10:41PM - 02 Dec 24 UTC
**Description**
Recent problems with custom emojis having `+` and `-` symbols… in their names have surfaced, this addresses the issue.
3 Likes