Skip to content

WIP: Separate Emoji Autocomplete data from the rest

This is some horrific code, but oh well. I had to replace view_context with localhost for the emoji to load in the dev environment because of #14713 (closed). ¯\_(ツ)_/¯

I hacked the emoji into a separate autocomplete method :)

The JSON for the emoji is 158KB, the JSON for everything else in a test project is less than 8KB.

Not used to CoffeeScript, so my initial attempt at getting the emoji suggestions JSON to load only when the input has been focused didn't really work, and isn't included in this commit.

See: #14319 (closed)

cc: @jschatz1 @rspeicher

Merge request reports