Skip to content

AI Assistant – “Send” button without input causes error and locks the canvas #3605

@mercy-ship-it

Description

@mercy-ship-it

Describe the bug
When clicking the Send button without entering any text, the system returns “Something went wrong.” After this error occurs, the entire canvas becomes unusable — all actions are disabled and the user has to refresh the page to recover.

Version number
Lightning main branch

I have reproduced this locally on main:

  • Yes
  • No

To Reproduce
Steps to reproduce the behavior:

  1. Open the canvas and access the AI Assistant.
  2. Click the Send button without inputting any text.
  3. Observe error message “Something went wrong.”
  4. Notice that the canvas becomes fully disabled, requiring a page refresh to continue.

Expected behavior

  • If no input is provided, the Send button should either be disabled or trigger a validation error message such as “Input is required.”
  • After the error, the canvas should remain functional without requiring a refresh.

Screenshots
https://www.loom.com/share/879f3f0d1c3049899d9a1df3b43a0b7e

Additional context
This issue blocks further interaction with the canvas once triggered, which could disrupt user workflows.

Metadata

Metadata

Labels

bugNewly identified bug

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions