singodiyashubham87 / Draw-it-out

An online Whiteboard application built using ReactJS & TailwindCSS utilising the HTML5 Canvas & the JavaScript Canvas API.
https://draw-it-out.vercel.app
MIT License
82 stars 162 forks source link

[Bug]: User sends an empty message to the chatbot #464

Open HarshadaGirase opened 2 months ago

HarshadaGirase commented 2 months ago

Is there an existing issue for this?

Describe the bug

Description : When a user sends a message to the chatbot without entering any text, the chatbot should respond appropriately. This issue is to ensure that the chatbot can handle such scenarios gracefully.

Steps to Reproduce:

  1. Open the chatbot interface.
  2. Attempt to send a message without typing any text.
  3. Observe the chatbot's response.

Possible Solution: Implement a check in the chatbot's message handler to detect empty messages and respond with a predefined prompt.

Expected behavior

The chatbot should detect the empty message and respond with a prompt, such as "It seems like you haven't entered any text. How can I assist you today?"

Add ScreenShots

drawbot

On which device are you experiencing this bug?

Chrome, Windows

Record

HarshadaGirase commented 2 months ago

Kindly assign to me asap

github-actions[bot] commented 2 months ago

Hi there! Thanks for opening this issue. We appreciate your contribution to this open-source project. We aim to respond or assign your issue as soon as possible. In the meantime you can star the repo and read the contributing.md

singodiyashubham87 commented 2 months ago

@HarshadaGirase Choose one from GSSOC & SSOC.