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

Add twitter emoji #2149

Merged
merged 6 commits into from
Apr 18, 2022
Merged

Add twitter emoji #2149

merged 6 commits into from
Apr 18, 2022

Conversation

goto-bus-stop
Copy link
Member

So far we've had emoji support determined entirely by the server host, so you would have to bring your own files and shortcodes. Part of the idea was to let different servers pick different styles (it was common in user-made plug.dj extensions to support different emoji themes). But the API for it is kinda bad and it's annoying to have to do this for a basic feature. There also just aren't that many emoji themes that you can legally use AND that are relatively complete.

Twitter emoji fit in pretty okay with the üWave theme, include recent additions to the emoji spec, and are free to use with attribution.

This PR adds twitter emoji by default. For a start it uses the EmojiOne shortcodes (which is the set I think every server so far has ended up using). I'll deploy this on wlk.yt and see how it goes, if we're happy this will be the actual initial implementation, otherwise I will work on the todo comments in the PR. Namely separating the implementation for custom and builtin emoji and supporting the unicode for builtin emoji.

Fixes #1172

@lgtm-com
Copy link

lgtm-com bot commented Nov 13, 2021

This pull request introduces 1 alert when merging ed59b6d into e4e7996 - view on LGTM.com

new alerts:

  • 1 for Unused variable, import, function or class

@goto-bus-stop goto-bus-stop mentioned this pull request Nov 15, 2021
9 tasks
@lgtm-com
Copy link

lgtm-com bot commented Apr 18, 2022

This pull request introduces 1 alert when merging 2f08c8a into 16fc158 - view on LGTM.com

new alerts:

  • 1 for Unused variable, import, function or class

@goto-bus-stop goto-bus-stop changed the title WIP: support emoji by default support emoji by default Apr 18, 2022
@goto-bus-stop goto-bus-stop changed the title support emoji by default Add twitter emoji Apr 18, 2022
@goto-bus-stop goto-bus-stop enabled auto-merge (squash) April 18, 2022 14:48
@goto-bus-stop goto-bus-stop merged commit 39875ab into default Apr 18, 2022
@goto-bus-stop goto-bus-stop deleted the twemoji branch April 18, 2022 17:32
ariedro added a commit to el-ultimo-labs/web that referenced this pull request May 16, 2022
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

Successfully merging this pull request may close these issues.

Integrate u-wave-web-emojione
1 participant