Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not let ai chat submit empty messages #14771

Merged
merged 1 commit into from
Jan 25, 2025
Merged

Do not let ai chat submit empty messages #14771

merged 1 commit into from
Jan 25, 2025

Conversation

JonasHelming
Copy link
Contributor

@JonasHelming JonasHelming commented Jan 24, 2025

fixed #14755

What it does
Do not submit empty message in the chat view.

How to test
Leave the message box empty, click submit or press enter. It should not submit, i.e. the submit button does not transform to "cancel" icon. the submit button is disabled when no text is in the box.

Follow-ups

Breaking changes

  • This PR introduces breaking changes and requires careful review. If yes, the breaking changes section in the changelog has been updated.

Attribution

Review checklist

Reminder for reviewers

@JonasHelming JonasHelming requested a review from planger January 24, 2025 22:20
Copy link
Contributor

@planger planger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks! Looks good to me! 👍

@JonasHelming JonasHelming merged commit 42e1556 into master Jan 25, 2025
11 checks passed
@github-actions github-actions bot added this to the 1.58.0 milestone Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

[Theia AI] - In the chat panel, disable the send/enter action if the text input is empty
2 participants