Commit graph

6 commits

Author SHA1 Message Date
PatOnTheBack
5b20284f6f Removed extra pipes from regex. () 2019-06-26 02:16:24 +02:00
ThibG
a90b569350 When searching for an emoji with multiple separators, consider the full input ()
e.g., typing “blob_cat_p” used to search for “blob” and “cat”, but not
“blob_cat_p”, which means “blob_cat_patpat” is very unlikely to show up,
although it is likely what the user wanted to type in the first place.
2018-10-27 22:32:54 +02:00
Renato "Lond" Cerqueira
85470ec872 Fix issues with updated emoji mart ()
* Changes behavior from search light to keep custom search
The new version of emoji-mart needs the search function to constantly
receive the custom emoji array. This changes the behavior back to the
previous one in the search light method to keep the emoji autocomplete
as before

* Change test order
The order was breaking the tests

* Fix codeclimate issues

* Update to emoji mart to version without issue in picker

Fixes 
2018-06-08 13:28:04 +02:00
Renato "Lond" Cerqueira
0c3ce41031 Update to emojimart 2.6.1 ()
* Update to emojimart 2.6.1
WIP using local updated version. Sheet comes from emoji-data@4.0.4,
file sheet_twitter_32_indexed_256.png.

* Update to 2.6.1 and uncompress data if needed

* Remove changes that were not needed

* Fix yarn lock file

* Match emojiToShowFilter behavior to new version of emoji-mart

* Fix codeclimate issue

* Match custom emoji behavior to new version of emoji-mart

* Replace emoji without shortcode in tests

* Fix code climate issues
2018-06-07 19:40:23 +02:00
Nolan Lawson
057db0ecd0 Update emoji-mart to v2.1.1 () 2017-10-07 12:17:02 +02:00
Nolan Lawson
fd7f0732fe Compress and combine emoji data () 2017-10-06 03:42:34 +02:00
Renamed from app/javascript/mastodon/emoji_index_light.js (Browse further)