noahl
(Noah Lovell)
25.Ноябрь.2024 17:46:02
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 лайка
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 лайка
noahl
(Noah Lovell)
25.Ноябрь.2024 19:12:46
3
Amazing!
I did not know this - the more you know
2 лайка
noahl
(Noah Lovell)
02.Декабрь.2024 15:46:25
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 лайка
hmm good question… this will also impact situations like -1and :?:
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 лайка
We’re going to relax the sanitizing on custom emoji names, so once this is merged + and - will work!
main ← relax-emoji-sanitization
merged 12:27AM - 04 Dec 24 UTC
**Description**
Recent problems with custom emojis having `+` and `-` symbols… in their names have surfaced, this addresses the issue.
3 лайка
system
(system)
Закрыл(а) тему
02.Январь.2025 19:43:48
7
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.