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

Fix Dialog change assistant scope not working #9834

Merged
merged 2 commits into from
Jan 8, 2025

Conversation

PopDaph
Copy link
Contributor

@PopDaph PopDaph commented Jan 8, 2025

Description

Runner card: https://github.com/dust-tt/tasks/issues/1921

Migrating the Dialog displayed when we try to change the scope of an assistant, since it's open from a modal and the modal has been migrated to Radix, we need to use NewDialog that is also based on radix.

Note: there's a glitch if we try to re-render the Dialog if we've already done it and there's a notification rendered. When the notification disappear, it closes the Dialog. Most likely because Notification also need to be moved to Radix.

Risk

Break the dialog? But was already broken.
Can be rolled back.

Deploy Plan

Deploy front.

Copy link
Contributor

@JulesBelveze JulesBelveze 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 6ab8339 into main Jan 8, 2025
3 checks passed
@PopDaph PopDaph deleted the fix-change-assistant-scope branch January 8, 2025 15:20
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