Skip to content

Tanuki Emoji: switch fallback emoji to Noto Emoji

Gabriel Mazetto requested to merge brodock/upgrade-emoji-version-2 into master

What does this MR do and why?

This is the rollout MR to enable Tanuki Emoji use the Noto Emoji assets in a zero downtime upgrade. Previously in %14.5 we've shipped the new Gem which is already handling all the backend related code, with the assets necessary for the new version.

In this MR we switch the version flags from 1 to 2, which makes the codebase start using the new assets when a fallback is required.

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

To force emoji fallback, edit internal storage: gl-emoji-unicode-support-map to:

{"personZwj":false,"horseRacing":false,"flag":false,"rainbowFlag":false,"skinToneModifier":false,"9.0":false,"8.0":false,"7.0":false,"6.1":false,"6.0":false,"5.2":false,"5.1":false,"4.1":false,"4.0":false,"3.2":false,"3.0":false,"1.1":false,"meta":{"isChrome":null,"chromeVersion":null}}

In the Javascript console:

// force fallback
localStorage.setItem("gl-emoji-unicode-support-map", `{"personZwj":false,"horseRacing":false,"flag":false,"rainbowFlag":false,"skinToneModifier":false,"9.0":false,"8.0":false,"7.0":false,"6.1":false,"6.0":false,"5.2":false,"5.1":false,"4.1":false,"4.0":false,"3.2":false,"3.0":false,"1.1":false,"meta":{"isChrome":null,"chromeVersion":null}}`);

// restore it back
localStorage.removeItem("gl-emoji-unicode-support-map");

See !68787 (merged) for additional context

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Gabriel Mazetto

Merge request reports

Loading