Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emoji improvements #125

Open
plexus opened this issue Dec 4, 2020 · 0 comments
Open

Emoji improvements #125

plexus opened this issue Dec 4, 2020 · 0 comments

Comments

@plexus
Copy link
Member

plexus commented Dec 4, 2020

Thanks to @dawranliou and @oxalorg we already have some pretty solid emoji support, but there is always room for improvement :)

As authorative source I would like to eventually switch to https://github.com/iamcal/emoji-data

As per Emojipedia:

Slack permits a set of :shortcodes: to enter emojis on the platform. Typing an emoji short code such as ✨ inserts the ✨ Sparkles emoji.

This is stored in plain text, so copying-and-pasting a block of text which includes emojis added via shortcode will display the :shortcode: instead of the emoji character. Emoji shortcodes on Slack are derived from this repository, and do not necessarily match the same codes used on platforms such as Github.

This will make sure we have the exact some shortcodes that slack uses, and that we correctly handle multi-codepoint emoji that use ZWJ or skin tone selectors.

The main fields we care about are unified and short_names, unified can be rendered with HTML entities, e.g.

1F645-200D-2642-FE0F -> 🙅‍♂️

The second potential improvement is to render emojis as images. It pains me as a unicode fan to even suggest this, but this is what all major platforms do, since it's the only way to get consistent rendering (and thus consistent communication).

Except that Slack is not consistent themselves, they used to use the Apple emoji set, but that one is copyrighted, so now they use the Apple emoji set only when accessed from Apple devices. Otherwise they use Google's emojis.

https://blog.emojipedia.org/slack-overhauls-emoji-support/

I don't think we necessarily need to go that far, I'd be fine with rendering Google's emojis on all platforms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant