hedgedoc/src
Philip Molares c410a58573
Add emoji picker (#329)
* Added emoji-mart as emoji-picker
* Fixed JSON to TypeScript-object parsing
* added fork awesome to emoji-picker
added ForkAwesomeIcons enum, because it's not possible to iterate over a typescript type consisting of strings [1]. This is a bit unfortunate since we now have two lists of all the fork awesome icons, but sadly it can not be done another way.
added fork awesome as a custom category to the emoji picker.

[1]: https://stackoverflow.com/questions/40863488/how-to-iterate-over-a-custom-literal-type-in-typescript
* made picker close, when clicking away
added react-use dependency for useClickAway hook
* Fixed emoji-picker loading images from unpkg instead of using font
* fixed addEmoji function
added tests
* Extract customIcons into useMemo

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-08-07 18:54:37 +02:00
..
api Add register via username and refactor email-login to username-login (#313) 2020-08-04 23:13:12 +02:00
components Add emoji picker (#329) 2020-08-07 18:54:37 +02:00
external-types Add codemirror keybindings and addons (#311) 2020-08-06 13:43:48 +02:00
global-style Improve css in preparation for the sync scroll (#380) 2020-08-03 20:06:32 +02:00
redux Add register via username and refactor email-login to username-login (#313) 2020-08-04 23:13:12 +02:00
utils rework how the frontend is started (#361) 2020-07-29 22:58:01 +02:00
index.tsx Add register via username and refactor email-login to username-login (#313) 2020-08-04 23:13:12 +02:00
react-app-env.d.ts imported current state of the mockup into the public repo 2020-05-14 15:41:38 +02:00
service-worker.ts better linting (#72) 2020-05-27 15:43:28 +02:00
setup-tests.ts better linting (#72) 2020-05-27 15:43:28 +02:00
version.json Add version info (#80) 2020-05-29 13:08:59 +02:00