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

Builder: Action empty description error message only if user has submitted #6278

Merged
merged 2 commits into from
Jul 17, 2024

Conversation

PopDaph
Copy link
Contributor

@PopDaph PopDaph commented Jul 17, 2024

Description

Currently when we open an action the error message "Description cannot be empty." is immediately displayed.
Task: https://github.com/dust-tt/tasks/issues/1070

This PR edits the AssistantBuilder so that we display this error only if the users tries to submit. Meaning we enable the save button but display an error if action is not valid.

Deployed to front-edge if you want to check the behavior 🙏🏻

Risk

Can be rolled back.

Deploy Plan

Deploy front.

@PopDaph PopDaph force-pushed the builder-action-empty-desc branch from 650cf5a to 1ed02ea Compare July 17, 2024 12:33
@PopDaph PopDaph force-pushed the builder-action-empty-desc branch from 1ed02ea to 76365b7 Compare July 17, 2024 12:42
@PopDaph PopDaph requested a review from fontanierh July 17, 2024 12:44
Copy link
Contributor

@fontanierh fontanierh left a comment

Choose a reason for hiding this comment

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

LGTM

@PopDaph PopDaph merged commit 0f41ff6 into main Jul 17, 2024
5 checks passed
@PopDaph PopDaph deleted the builder-action-empty-desc branch July 17, 2024 13:10
albandum pushed a commit that referenced this pull request Aug 28, 2024
…itted (#6278)

* Builder: Action empty description error message only if user has submitted

* Actually since we enable save we need to handle errors for all fields
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