Sending empty messages #15
Labels
No labels
bug
discussion
duplicate
enhancement
help wanted
invalid
question
suggestion
tracker
ui/ux
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: cadence/Carbon#15
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
If you try to press
Enter
on empty message input, Carbon will send an empty message, like this one:How do you think we should check for if a message is empty? If
body.trim().length
is0
?Yup. We want to refuse to send messages with such empty spaces without any other symbols. Also, maybe it's better to always trim message body before checking length. Just because browser anyway ignore additional spaces.
Isn't it fixed? Currently, any empty messages just not sending.
36f204624f
Looks like it's fixed, closing