Commit Graph

369 Commits (39c2c9d6ee1f08c8f3c81692e398601ccee85d24)

Author SHA1 Message Date
Nolan Lawson 0bd369144b chore: upgrade to babel v7 2019-12-29 13:39:57 -08:00
Nolan Lawson 99eae3605d test: add test for emoji-index.js 2019-12-29 11:52:24 -08:00
Nolan Lawson 6bb1932db8 fix: remove core-js dependency 2019-12-29 11:52:13 -08:00
Nolan Lawson 61c0bd4e4e fix: remove _JSON 2019-12-21 11:18:30 -08:00
Nolan Lawson 7a025243b4 test: add docs and test for customCategory 2019-12-21 10:24:49 -08:00
Eugen Rochko 1a9d5f97b6 Add support for more than one custom category
Fix #224
2019-12-21 10:24:49 -08:00
Nolan Lawson 8cff39f6fd fix: dark mode CSS tweaks, add storybook/matchMedia/docs 2019-12-21 09:49:29 -08:00
Mohan Raj 848fc76396 feat: Add Dark Mode 2019-12-21 09:49:29 -08:00
Carl Tessier f3387cdce2 fix: gracefully ignore bad JSON in localstorage (#385)
Don't crash (catch the exception) if the localstorage value does not contain valid JSON.
2019-12-21 09:17:41 -08:00
Hiro-Aki Hotta 208099c2dc fix: Use getDerivedStateFromProps instead of componentWillReceiveProps (#372)
* use getDerivedStateFromProps instead of componentWillReceiveProps

* code formatting
2019-12-21 08:43:35 -08:00
Ryan McCue f10510b262 fix: Ensure emoji backgrounds do not tile (#362) 2019-12-21 08:41:24 -08:00
Alex Brioux 76ac008169 Fix: Allowing emoji selection on enter (#386) 2019-12-21 08:38:25 -08:00
Nolan Lawson 3576091fc0
fix: ensure unique keys for React list (#352)
fixes #327
2019-07-03 08:00:02 -07:00
Xavier Shay 956aaa91f3 fix: Deterministic sorting of search results. (#343)
* Deterministic sorting of search results.

This is important for reliable tests, e.g. if you are snapshotting views
and comparing to reference images.

* fix prettier
2019-06-29 07:53:46 -07:00
Nolan Lawson cdd3229de6
test: add basic skins test (#315) 2019-06-29 07:48:50 -07:00
The-Code-Monkey af37a7a20f
attempt 2 to fix prettier error 2019-05-01 15:41:07 +01:00
The-Code-Monkey 14c5d4f2b4
attempting to fix the prettier issue 2019-05-01 15:36:59 +01:00
The-Code-Monkey 0cfb0787ab
Added `type={"button"}` to anchors.js 2019-05-01 15:32:02 +01:00
Etienne Lemay 7f05e22d12
Fix test 2019-03-28 09:16:43 -04:00
Etienne Lemay 32282a6dc7
Fix prettier 2019-03-28 09:14:25 -04:00
Etienne Lemay 4fda4dcc01 fix: use span for non-clickable emojis 2019-03-28 08:59:19 -04:00
Etienne Lemay abc2cdaf02 Revert "💄"
This reverts commit 1bcc52e587.
2019-03-28 08:56:50 -04:00
Etienne Lemay 1bcc52e587
💄 2019-03-28 08:22:30 -04:00
Etienne Lemay cbad12426c
Merge pull request #317 from nolanlawson/nolan/308-addendum
fix: consistently return short_names from sanitize
2019-03-28 07:37:39 -04:00
Nolan Lawson 7a94080f5f
Merge pull request #323 from missive/nolan/hinaloe-test
test: add test for short_names in custom emoji
2019-03-23 15:06:35 -07:00
Nolan Lawson 7039517939 remove code comment 2019-03-23 15:06:13 -07:00
Peder Johnsen ab2f6004ac Add tests 2019-03-23 21:31:11 +00:00
Peder Johnsen 5570a7ce1a Run prettier 2019-03-23 21:15:47 +00:00
Peder Johnsen 5c64cc6908 Use for loop and refactor lookup code 2019-03-23 21:14:52 +00:00
Peder Johnsen 90b36d829f Get skinToneIndex from forEach function 2019-03-23 21:13:02 +00:00
Peder Johnsen 0ab34e20a3 Remove empty strings from skinTones and skinCodes. 2019-03-23 21:12:40 +00:00
Peder Johnsen a8c491273c Merge remote-tracking branch 'emojimart/master' into get_emoji_data_from_native 2019-03-23 20:35:16 +00:00
Peder Johnsen dce30b3f09 Fix typo 2019-03-23 16:39:40 +00:00
Hinaloe 39fc02bfe3 test: add test for short_names in custom emoji 2019-03-23 09:25:51 -07:00
Nolan Lawson 3c0c0caffc fix: fix prettier 2019-03-23 09:18:50 -07:00
Peder Johnsen ed241d1d42 Revert skin tone emoji on search code 2019-03-23 15:34:46 +00:00
Peder Johnsen 88310345d8 Revert 2019-03-23 15:24:22 +00:00
Peder Johnsen e00371c86e Keep new line 2019-03-23 15:20:21 +00:00
Peder Johnsen b76be74e96 Add test 2019-03-23 15:18:26 +00:00
Peder Johnsen 51a0879ec1 Return emojis with skin tone from store on nimble search 2019-03-23 15:17:37 +00:00
Nolan Lawson fa7141653d fix: consistently return short_names from sanitize 2019-03-22 15:59:55 -07:00
Nolan Lawson 8bea0331ff
Merge pull request #306 from nolanlawson/nolan/ci-tests
chore: add Travis CI tests
2019-03-22 07:42:45 -07:00
Peder Johnsen 51d59341c8
Remove duplicate `set` 2019-03-20 11:32:26 +00:00
Peder Johnsen f760c55440 Return skin emojis in search. Refactor getEmojiDataFromNative 2019-03-20 11:25:48 +00:00
Peder Johnsen 22a5ca587f Merge branch 'emojimart' into get_emoji_data_from_native 2019-03-20 09:08:32 +00:00
hina a1a12abcd5 keep short_names on sanitize 2019-03-19 05:10:40 +09:00
Nolan Lawson 8cf6515298 chore: add Travis CI tests 2019-03-16 10:26:09 -07:00
Etienne Lemay dce1244b8a
Don’t set custom emojis `imageUrl` required
+ add missing prop types since #251
2019-03-14 20:47:38 -04:00
Nolan Lawson ca66d6c9af chore: fix prettier linting 2019-03-14 08:35:33 -07:00
Nolan Lawson 9b6676a25d
Merge pull request #302 from nolanlawson/nolan/jest-tests
test: replace karma with jest
2019-03-14 08:34:03 -07:00