owncast/web/components/chat/ChatTextField
John Regan bf1ccf21d2
chat: simplify input handling (#3124)
* chat: simplify input handling

Removes the cursor save/restore functionality.

Removes most key handling.

Allows message to go over limit.

Moves the message length check into SendMessage.

Changes the chat input to change to the max style only when over the limit,
rather than at the limit. Makes it apparent that something is wrong.

Fixes #3121

* Prettified Code!

---------

Co-authored-by: jprjr <jprjr@users.noreply.github.com>
2023-06-30 12:22:01 -07:00
..
ChatTextField.module.scss chore: run stylelint on our css files 2023-06-20 20:58:00 -07:00
ChatTextField.stories.tsx fix(chat): refactor chat input to not use slatejs. Closes #3094 2023-06-20 17:06:24 -07:00
ChatTextField.tsx chat: simplify input handling (#3124) 2023-06-30 12:22:01 -07:00
EmojiPicker.tsx feat(chat): preload and cache the custom emoji. Closes #3117 2023-06-27 15:48:16 -07:00