microsoft / BotFramework-WebChat

A highly-customizable web-based client for Azure Bot Services.
https://www.botframework.com/
MIT License
1.59k stars 1.54k forks source link

[Fluent UI] Should we disable send button when text box is empty? #5149

Open compulim opened 5 months ago

compulim commented 5 months ago

Is your feature request related to a problem?

The send button is enabled and clickable even text box is empty.

Describe the suggestion or request in detail

There are 2 routes we could go and need to discuss with designer.

Disable send box

Disable send box when there are nothing to send, no text, no attachments, nothing from input modality.

Show a message when send button is pressed

When there are nothing to send, pressing on the send button will show a warning message to customer.

Describe alternatives you have considered

No response

Additional context

Copilot will disable the send button.

Teams will not disable the send button but show a message.

OEvgeny commented 5 months ago

My two cents: by not disabling the button we are making our UI more welcoming, more open to interactions. I think this is one of crucial aspects to consider.