Some random ideas & bugs found when playing with preview:
Hit enter should focus to the chat input box?
After a message is sent (via hitting enter), should we move the focus back to the scene so arrow keys work again? With "enter to focus" I think this is a good UX.
Hitting esc when focused on the chat area should close the chat dialog?
for really long text, should the bubble truncate the text and just show the first N chars (and with ellipsis)? edit: I noticed this is done on the server, but self bubble isn't truncated
when typing chinese, hitting enter once to select character will send out the text once, and second enter will send out the text again, causing duplicate messages. This is a common mistake for implementing "enter to submit'. One easy fix is instead of listening to enter keydown/keyup event, wrap the input inside a
🔮 Deploy Preview for skyoffice canceled.
🔨 Explore the source changes: 8377e760cd1f30ebd67d891ff86fb9e98a162197
🔍 Inspect the deploy log: https://app.netlify.com/sites/skyoffice/deploys/61b80a154e79d30008db7b41