Create new tabs in Emoji selector

emoji

#1

Hello everyone,

I’dl like to know if it’s possible to add a category for the emojis. Like you did with smiley face, dog, house, #.

For my forum, I’d like to add some flags but they’re mixed with other uploaded emojis in the poop category, and it’s not great for my OCD :stuck_out_tongue:

It would be a flag category between the # and the poop category for example.

I know how to ssh the app, and how to create a plugin with github, so if i have a lead, i won’t bother you a lot.

Thanks !


(Jeff Atwood) #2

There is no way to do this at the current time.


#3

Ok, thanks for the reply !


(Sam Saffron) #4

It’s actually exported (albeit not using ES6 which we should move it to)


#5

Thanks, I’ll look into it !


(Bart) #7

@Steven did you ever figure out how to add a new tab to the emoji browser? I have a case for that as well.


#8

I didn’t really know how to do this at the time and I went another direction with this plugin : GitHub - discourse/discourse-emoji: Boilerplate plugin to add custom emojis

You can add custom emojis and choose in what order they will appear. It was good enough for my needs


(Bart) #9

Thanks Steven! I’d rather use the existing dialog, so I’ll dig a little further.


(Bart) #10

For future reference (and after my first visit to the Discourse source code ;-): after adding custom emojis in the admin, just rebuild the app. A custom tab will then be added to the emoji picker and the first custom emoji you created will be used as the tab icon: