console
console copied to clipboard
🐛 Bug Report: Don't Allow Empty Title & Message Body for Messaging
👟 Reproduction steps
Currently it seems possible to use only white space to compose an empty Subject/Title & Message Body. This causes one to send a completely empty message which may not be right (atleast for Push Notifs).
👍 Expected behavior
Don't allow sending empty messages.
👎 Actual Behavior
We can send empty messages.
🎲 Appwrite version
Version 1.5.x
💻 Operating system
MacOS
🧱 Your Environment
No response
👀 Have you spent some time to check if this issue has been raised before?
- [X] I checked and didn't find similar issue
🏢 Have you read the Code of Conduct?
- [X] I have read the Code of Conduct
Can reproduce this. And it seems to also be the case for email and sms.
See recording below:
https://github.com/appwrite/console/assets/67555014/915e571d-cf44-44df-9a18-c16273340c4a
I'd like to look into this