Closed alexbrazier closed 2 years ago
Would be nice to configure this globally, this kind of feature is kinda annoying, because you don't expect some URLs or code-snippets to have EMOJIS inside them. (I really got annoyed by this with Skype)
I am willing to take this on. Any clue where to start, because I am having a hard time to find where the :) :( translation to emoji is made
@happy-dev it looks to be imported from here, as said in this file:
var emojiList = JSON.parse(fs.readFileSync('emoji.json', 'utf-8'));
/**
* update emojiList variable with the most recent emojione release then
* run: node generateEmojiIndex.js
* grab the results and put into emojiPicker.js file
*/
Maybe the emojione project has to provide a support for custom aliases, while I was researching for it, I found this issue.
Quite busy this week but I have a look ASAP
I wonder if we can't manually change that in the emojilist (while the official package doesn't implement)?
var emojiList = JSON.parse(fs.readFileSync('emoji.json', 'utf-8'));
then
emojiList['thumbsup'].aliases.push('(Y)')
or something like that.
Yes, sure! It would perfectly insert the (Y) to the emojiList['thumbsup']['aliases'] key. But I was afraid about hardcoding it right after reading the emoji.json. I dunno but I assumed that it would not be desirable.
I also tried to build and run the app with this fix, following this issue comment and while running it here the (Y) doesn't work. So maybe need to change something else.
It is already possible to have custom emojis, why not creating a default-conversion-map which is configurable via global admin-mask? And making it enabled/disabled per user-basis ;) don't be annoying
@FibreFoX @marceloschmidt I am willing to solve this issue. I have gone through the packages of emoji, emoji-custom, emoji-emojione. till now i have deciphered that what emoji-custom , emoji-emojione does. But Does the emoji package was created to build to provide the user to choose an emoticon ??
Don't know about the package itself, but it I have an area for custom emojis inside the administration ;) so I guess it was might not be created in that fashion, but the RocketChat interfaces say so.
I would like to be assigned on this one.
If I understand @FibreFoX here I think this should kind of be a won't implement
because an admin can easily add this already to the list of emojis?
I feel like this should be something that the admin toggles, and while we're at it, I think that should be the case for the B)
translation to 😎 and those kinds of things. I've only ever see them annoy users.
@simonv3 Yes, my idea was that this is already possible, at least for some "quick-win" solution. Maybe this can be some setting, which is delivered "out-of-the-box" with a normal installation, but it's a design-decision whom to annoy most. Some users (like me too) are often "confronted" with non-changable decisions. If the administrator chooses to enable this translation, some users might not be honored in their usage of the chat, so this might even turn out to be not a complete solution in case of adding these to the custom emojis.
These are the options as far as I can see:
This can even be expanded to "permission-level" for using emojis :D a lot of crazy ideas here possible.
I am really interested to contribute to Rocket.Chat. Can you help me in getting started?
I would like to be assigned on this issue. Can someone guide me on getting started here?
@gdelavald @marceloschmidt Hello, I have just submitted a PR #10064 for this issue. Please take a look and review.
Thanks.
Is this issue fixed ??
I would like to solve this issue and I am a beginner to open source. Can someone helps me or guides me in solving it.
I would like to solve this Issue, in fact I am working on it:)
Very much willing to contribute to this issue but seeing that already couple of approaches (PR #16559 and PR #10064) have been closed for solving this. Are we looking at some other solution to fix this issue?
I would like to be assigned on this one.
Is it fixed or not?
I would like to assign for this issue.
As commented in this PR, the (y)
is supported and its already working, closing it. Thanks 👍
https://github.com/RocketChat/Rocket.Chat/pull/16559#pullrequestreview-369771131
Your Rocket.Chat version: 0.48.2
As (Y) is quite popular for a thumbs up 👍 , it would be good to get it to automatically in the same way that :) and :( works