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

[front] - fix(RequestDataSourceModal): send message condition #11537

Merged
merged 2 commits into from
Mar 21, 2025

Conversation

JulesBelveze
Copy link
Contributor

Description

This PR fixes https://github.com/dust-tt/tasks/issues/2449. We don't display the send button when there's no connected data and disabled the "Send" button when the email message is empty.

References:

Risk

Low

Deploy Plan

Deploy front

…ceModal

 - Ensure the "Send" button is only shown when there are dataSources available
 - Improve user experience by preventing empty submissions
 - Prevent sending empty messages by disabling the button unless the message has content
@JulesBelveze JulesBelveze requested a review from FlagBenett March 21, 2025 15:33
@JulesBelveze
Copy link
Contributor Author

PMRR

@JulesBelveze JulesBelveze merged commit 678f4bb into main Mar 21, 2025
6 checks passed
@JulesBelveze JulesBelveze deleted the fix/request-data branch March 21, 2025 15:36
@FlagBenett
Copy link

LGTM, thanks

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.

2 participants