Skip to content

Conversation

@parasmottan
Copy link

πŸ› οΈ Description

Resolved an issue in the existing chatbot system (InvestIQ) where users could submit empty messages. Now, empty or whitespace-only input is blocked from being processed, improving the overall input handling and user experience.

πŸ”— Related Issues

πŸ”„ Type of PR

  • Bug fix
  • Feature enhancement
  • Documentation update
  • Other (specify): ___________

πŸ“Έ Screenshots / Videos

Recording.2025-07-07.160941.mp4

βœ… Checklist

  • I have gone through the contributing guide
  • I have updated my branch and synced it with the project main branch before making this PR
  • I have performed a self-review of my code
  • I have tested the changes thoroughly before submitting this pull request
  • I have provided relevant issue numbers, screenshots, and videos after making the changes
  • I have commented my code, particularly in hard-to-understand areas

🧠 Additional Context

  • Empty string inputs are now ignored and not sent to the chatbot.
  • No UI changes were made to the button itself.
  • Small fix, but crucial for preventing meaningless interactions.

@netlify
Copy link

netlify bot commented Jul 7, 2025

βœ… Deploy Preview for startconnect-hub ready!

Name Link
πŸ”¨ Latest commit d8967b1
πŸ” Latest deploy log https://app.netlify.com/projects/startconnect-hub/deploys/686bb3ce9f634b0008071e08
😎 Deploy Preview https://deploy-preview-728--startconnect-hub.netlify.app
πŸ“± Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@parasmottan
Copy link
Author

the problem had been solved just with the single line of code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Chatbot Accepting "No message"

1 participant