emoji-picker-react icon indicating copy to clipboard operation
emoji-picker-react copied to clipboard

Feature request: Adding group.

Open ghost opened this issue 4 years ago • 8 comments

Creating a new group with the name we want and assign images and values ​​to group.

ghost avatar Sep 02 '20 12:09 ghost

Hey @RaknaXTR, I am assuming you want a feature for custom emojis. That's pretty easy to support, but I am wondering - how would you like to use that?

The way I imagine it, is that you pass to the picker an array of custom custom group, each with its own emojis, so it would look something like that:

const customGroups = [{
  name: 'GROUP_NAME',
  emojis: [{
    id: 'emoji_id',
    name: 'emoji_name',
    url: 'http://image.url.com',
    keywords: ['smiley face big', 'big mouth smile']
  }]
}]

Along with that, the emojiClick value would match this, maybe with an added {custom: true} so you know to use it differently.

Does that make sense to you, or would you expect it to behave differently?

ealush avatar Sep 02 '20 13:09 ealush

Yes, that makes sense to me.

ghost avatar Sep 02 '20 13:09 ghost

Hey.. First of all.. great work... both thumbs up.. I have a question... how would you change the css? I changed the main.css file inside the node modules but nothing reflected on the ui.

askubaid avatar Oct 05 '20 15:10 askubaid

@ealush Hey, again me! I may be a little impatient about this, I apologize for this, but 1 month has passed and I really need this feature. When can you add this feature?

ghost avatar Oct 08 '20 21:10 ghost

I'd be interested in adding one or multiple groups aswell! :) Great plugin!

timoziemann avatar Feb 22 '21 08:02 timoziemann

We are looking for a component to pick emojis into our game. We also want to add a bunch of ingame emojis, like resources and buildings. And because we have 50+ of each, we would really love to have own category and tab for each. More like a tab, as they can be further divided into industries.

Defining the custom emojis, together with categories, could be further done by specifying category on that emoji, instead of the approach described above.

vsobotka avatar Dec 14 '21 08:12 vsobotka

Hi, I'll be glad to handle this issue :)

tantany avatar Dec 28 '21 21:12 tantany

Awesome, @tantany. You can take it. Thanks!

ealush avatar Dec 28 '21 21:12 ealush