Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@OlegIvaniv
Copy link
Contributor

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 in open() if streaming or messages exist; skip resetBuilderChat() in close() if streaming; auto-reopen panel via route watcher when returning to builder view during streaming
  • AskAssistantBuild.vue: Skip onNewWorkflow() on route change if streaming
  • Added tests covering streaming state preservation and grid width restoration
CleanShot.2025-12-19.at.08.54.16.mp4

Related Linear tickets, Github issues, and Community forum posts

Review / Merge checklist

  • PR title and summary are descriptive. (conventions)
  • Docs updated or follow-up ticket created.
  • Tests included.
  • PR Labeled with release/backport (if the PR is an urgent fix that needs to be backported)

…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
@n8n-assistant n8n-assistant bot added the n8n team Authored by the n8n team label Dec 19, 2025
@codecov
Copy link

codecov bot commented Dec 19, 2025

Codecov Report

❌ Patch coverage is 81.81818% with 4 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...or-ui/src/features/ai/assistant/chatPanel.store.ts 90.00% 2 Missing ⚠️
...i/assistant/components/Agent/AskAssistantBuild.vue 0.00% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

@bundlemon
Copy link

bundlemon bot commented Dec 19, 2025

BundleMon

Files added (2)
Status Path Size Limits
WASM Dependencies
tree-sitter-bash.wasm
+181.26KB -
WASM Dependencies
tree-sitter.wasm
+74.47KB -

Total files change +255.73KB

Groups added (2)
Status Path Size Limits
**/*.js
+6.05MB -
**/*.css
+240.38KB -

Final result: ✅

View report in BundleMon website ➡️


Current branch size history

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a 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

@currents-bot
Copy link

currents-bot bot commented Dec 19, 2025

E2E Tests: n8n tests passed after 7m 57.1s

🟢 590 · 🔴 0 · ⚪️ 27 · 🟣 2

View Run Details

Run Details

  • Project: n8n

  • Groups: 2

  • Framework: Playwright

  • Run Status: Passed

  • Commit: ba59443

  • Spec files: 131

  • Overall tests: 617

  • Duration: 7m 57.1s

  • Parallelization: 9

Groups

GroupId Results Spec Files Progress
multi-main:e2e 🟢 533 · 🔴 0 · ⚪️ 27 · 🟣 2 122 / 122
multi-main:e2e:isolated 🟢 57 · 🔴 0 · ⚪️ 0 9 / 9


This message was posted automatically by currents.dev | Integration Settings

Copy link
Contributor

@mike12345567 mike12345567 left a comment

Choose a reason for hiding this comment

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

LGTM!

@OlegIvaniv OlegIvaniv merged commit 99f398e into master Dec 19, 2025
37 checks passed
@OlegIvaniv OlegIvaniv deleted the ai-1839-i-cannot-come-back-to-the-wf-builder-after-clicking-on branch December 19, 2025 10:29
@github-actions github-actions bot mentioned this pull request Dec 22, 2025
@n8n-assistant
Copy link

n8n-assistant bot commented Dec 22, 2025

Got released with [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

n8n team Authored by the n8n team Released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants