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 shortcodes to emojis #446

Merged
merged 3 commits into from
Jul 11, 2020
Merged

Add shortcodes to emojis #446

merged 3 commits into from
Jul 11, 2020

Conversation

rubengees
Copy link
Collaborator

This adds a new field with the shortcode to the Emoji class. Accordingly the generator has been extended.

This does not implement any UI or herlper methods yet.

@rubengees rubengees requested review from mario and vanniktech June 1, 2020 14:57
vanniktech
vanniktech previously approved these changes Jun 1, 2020
Copy link
Owner

@vanniktech vanniktech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sick. I was under the impression they have multiple of those 'shortcodes' though?

@mario
Copy link
Collaborator

mario commented Jun 1, 2020

Isn't a shortcode supposed to be prefixed with ":" ?

@vanniktech
Copy link
Owner

vanniktech commented Jun 2, 2020

Also how does slack know that ant could also be bug when I'm typing bug?

Screenshot 2020-06-02 at 13 24 40

@mario
Copy link
Collaborator

mario commented Jun 2, 2020

Slack is wrong because an ant is not a bug xD

@rubengees
Copy link
Collaborator Author

@vanniktech You're right, there can actually be more (and our datasource has them)! I'll change it so we have a List<String> there.

@mario The ":" prefix is a markup convention which is used to detect emojis in text. It's not part of any standard I think.

@vanniktech vanniktech merged commit 0ad0a1a into master Jul 11, 2020
@vanniktech vanniktech deleted the shortcodes branch July 11, 2020 11:36
@vanniktech
Copy link
Owner

Thanks @rubengees 🙏

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.

3 participants