-
Notifications
You must be signed in to change notification settings - Fork 52.9k
fix(editor): Preserve AI Builder chat state when switching routes during streaming #23442
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(editor): Preserve AI Builder chat state when switching routes during streaming #23442
Conversation
…g streaming When switching from Editor to Executions tab and back during workflow generation, the chat panel would close, messages would be lost, and the streaming state was not preserved. Changes: - open(): Skip fetching credits/sessions if streaming or messages exist - close(): Skip resetBuilderChat if streaming is in progress - Route watcher: Auto-reopen panel with correct grid width when returning to builder view during streaming - AskAssistantBuild: Skip onNewWorkflow() reset if streaming
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
BundleMonFiles added (2)
Total files change +255.73KB Groups added (2)
Final result: ✅ View report in BundleMon website ➡️ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No issues found across 3 files
|
E2E Tests: n8n tests passed after 7m 57.1s Run Details
Groups
This message was posted automatically by
currents.dev | Integration Settings
|
mike12345567
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
|
Got released with |
Summary
When switching from Editor to Executions tab and back during AI workflow generation, the chat panel would close, messages would be lost, and streaming state was not preserved. This fix ensures the chat panel auto-reopens and retains accumulated messages when returning to the Editor during active streaming.
Changes
chatPanel.store.ts: Skip fetching credits/sessions inopen()if streaming or messages exist; skipresetBuilderChat()inclose()if streaming; auto-reopen panel via route watcher when returning to builder view during streamingAskAssistantBuild.vue: SkiponNewWorkflow()on route change if streamingCleanShot.2025-12-19.at.08.54.16.mp4
Related Linear tickets, Github issues, and Community forum posts
Review / Merge checklist
release/backport(if the PR is an urgent fix that needs to be backported)