1.7 KiB
1.7 KiB
stage | group | info |
---|---|---|
none | unassigned | To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments |
Emojis
GitLab supports native Unicode emojis and falls back to image-based emojis selectively when your platform does not support it.
How to update Emojis
- Update the
gemojione
gem - Update
fixtures/emojis/index.json
from Gemojione. In the future, we could grab the file directly from the gem. We should probably make a PR on the Gemojione project to get access to all emojis after being parsed or just a raw path to thejson
file itself. - Ensure
emoji-unicode-version
is up to date with the latest version. - Run
bundle exec rake gemojione:aliases
- Run
bundle exec rake gemojione:digests
- Run
bundle exec rake gemojione:sprite
- Ensure new sprite sheets generated for 1x and 2x
app/assets/images/emoji.png
app/assets/images/emoji@2x.png
- Ensure you see new individual images copied into
app/assets/images/emoji/
- Ensure you can see the new emojis and their aliases in the GitLab Flavored Markdown (GFM) Autocomplete
- Ensure you can see the new emojis and their aliases in the award emoji menu
- You might need to add new emoji Unicode support checks and rules for platforms
that do not support a certain emoji and we need to fallback to an image.
See
app/assets/javascripts/emoji/support/is_emoji_unicode_supported.js
andapp/assets/javascripts/emoji/support/unicode_support_map.js