Commit graph

18 commits

Author SHA1 Message Date
Tim Zallmann
c57529556c Revert "Merge branch 'tz-reorganise-digests-json' into 'master'"
Reverts the loading of emojis and its images to move forward with RC
2019-04-10 11:49:06 -07:00
Tim Zallmann
d07919de90 Moved all emojis to the public folder
Created new emojis map in public folder

Renamed folder to emojis

Loading now the emojis from Localstorage or from Server

Moved all emojis to the public folder

Loading the emojis.json file now through AJAX

Loads now the map in the web element instead when building the emoji tag

Updated the custom Element Setup to modern method

Fixed Emoji Karma Specs for async loading

Loading now the emojis from Localstorage or from Server

Loads now the map in the web element instead when building the emoji tag

Fixed problem with FIXTURE_PATH for emojis fixtures

Fixes Linting Error in gemojione.rake

Fixed Emoji Karma Specs

Fix static type check in gemojione and check if already registered

Testing if the Emoji Support Check is failing Rspec

Change of CLass Name, returning true on check to test

Fixes failing Emoji RSpec Tests

Moved Emojis into public/-/emojis/1/

Fixed Linting Errors in gl_emoji

Fix to fixtures creation for emojis

Fixed path spec for new subdirectory -/emojis

Optimized emojis.json output

Fix for Emoji Spec failure due to unicode dataset

Better catch handling for emojis
2019-03-07 09:33:03 +00:00
Tim Zallmann
8377bf7b0a Updated document-register-element and registering emojis in the new way 2019-02-05 08:33:14 +00:00
Tim Zallmann
77c473893d Optimize Emoji Sprite Handling 2018-05-02 18:23:17 +00:00
Mike Greiling
8bb2013279 dynamically import emoji helpers for gl-emoji custom tag prototype 2017-06-28 13:04:34 -05:00
Mike Greiling
9d6bbc92c9 move glEmojiTag method to emoji helper 2017-06-27 00:54:34 -05:00
Mike Greiling
27a1348f20 split emoji support methods from the async module 2017-06-27 00:10:17 -05:00
Mike Greiling
527e7edbc4 replace emojiAlias references with normalizeEmojiName helper 2017-06-26 22:50:57 -05:00
Mike Greiling
d099744dd4 centralize emoji helper methods 2017-06-23 14:23:20 -05:00
Mike Greiling
5a044dc25b refactor option defaults 2017-06-23 14:23:12 -05:00
Eric Eastwood
c88d9cf34c Fix NPE with horse racing emoji check
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/32587
2017-06-02 15:44:14 -05:00
Phil Hughes
a7a3c48bcc Double quotes around gl emoji title 2017-05-03 10:54:30 +01:00
Phil Hughes
81a37ca1ee Moved the title onto the emoji tag
This adds the description in all places emojis are used
2017-04-24 17:08:12 +01:00
Eric Eastwood
a8a52a587d Protect against unknown emojis in frequently used list
See https://gitlab.slack.com/archives/frontend/p1489690607738864
2017-03-16 17:22:21 -05:00
Eric Eastwood
ee9930145f Update emojis to use harmony modules (import/export) 2017-03-08 11:27:14 -06:00
Eric Eastwood
f602efea65 Fix wrong image src with cached gl-emoji and relative root 2017-03-06 12:54:46 -06:00
Eric Eastwood
a8140d5c01 Fix up watch alias lookup in Firefox
It was pulling
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/watch
2017-03-06 12:54:46 -06:00
Eric Eastwood
e6fc0207cb Use native unicode emojis
- gl_emoji for falling back to image/css-sprite when the browser
   doesn't support an emoji
 - Markdown rendering (Banzai filter)
 - Autocomplete
 - Award emoji menu
    - Perceived perf
    - Immediate response because we now build client-side
 - Update `digests.json` generation in gemojione rake task to be more
   useful and  include `unicodeVersion`

MR: !9437

See issues

 - #26371
 - #27250
 - #22474
2017-03-06 12:54:46 -06:00