Commit graph

19 commits

Author SHA1 Message Date
ThibG
7f9431c306 Play animated custom emoji on hover ()
* Play animated custom emoji on hover in status

* Play animated custom emoji on hover in display names

* Play animated custom emoji on hover in bios/bio fields

* Add support for animation on hover on public pages emojis too

* Fix tests

* Code style cleanup
2019-08-06 21:53:21 +02:00
Eugen Rochko
8fb69f1366
Fix emoji-mart crashing web UI on search by reverting the upgrade to 2.10.0 ()
Fix 

This reverts commit db06b25376.
2019-03-30 01:41:35 +01:00
Nolan Lawson
db06b25376 fix: update to emoji-mart 2.10.0 ()
* fix: update to emoji-mart 2.10.0

* remove useless change

* fix CSS style of emoji picker, improve a11y

* fix missing newline in scss

* fix the title and input fonts
2019-03-16 20:13:15 +01:00
Eugen Rochko
2ee779dcd3
Update emoji codepoint mappings to v11.0 () 2018-12-24 19:12:00 +01: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
M Somerville
a060beee72 Skip VS15 (Emoji textual presentation). ()
Mastodon converts all Emoji to images, whether they have a VS15 after
them or not, but leaves the VS15 in the string, which is displayed as
a black box in Safari.
2018-09-01 19:42:02 +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
Yamagishi Kazutoshi
0a103c7749 Upgrade ESLint to version 4.x () 2018-01-17 16:57:15 +01:00
MIYAGI Hikaru
782224c991 Avoid emojifying on invisible text () 2017-11-07 14:48:13 +01:00
Nolan Lawson
60f962eedc Refactor initial state: auto_play_gif () 2017-11-01 06:58:07 +09:00
Nolan Lawson
2cea4592a3 Avoid modifying emoji data inline () 2017-10-30 00:23:38 +09:00
Yamagishi Kazutoshi
bf0ee1a25c Enable ESLint rules import/* ()
* Enable ESLint rules import/*

* fix
2017-10-16 11:12:09 +02:00
Yamagishi Kazutoshi
d5b767c374 Replace JavaScript Testing Framework from Mocha to Jest () 2017-10-16 09:33:08 +02:00
Nolan Lawson
057db0ecd0 Update emoji-mart to v2.1.1 () 2017-10-07 12:17:02 +02:00
Eugen Rochko
45682f876d Make auto-play GIFs preference affect custom emojis in web UI () 2017-10-07 02:38:52 +02:00
MIYAGI Hikaru
6f2d88dd28 Fix error at emoji_compressed in Firefox ESR () 2017-10-06 16:40:41 +02:00
Nolan Lawson
72d939b69f Fix thinking_face emoji autocomplete () 2017-10-06 12:03:13 +02:00
Nolan Lawson
fd7f0732fe Compress and combine emoji data () 2017-10-06 03:42:34 +02:00