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
service-worker.ts
setup-tests.ts
version.json