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(editor): Fix opening of chat window when executing a child node #8789

Conversation

OlegIvaniv
Copy link
Contributor

Summary

Improve logic for opening the chat modal if the manually executed node is a child of the chat trigger. During manual node execution, we check if the starting node(chat trigger) has run or pin data, and if it doesn't, we open the chat modal.

Related tickets and issues

Include links to Linear ticket or Github issue or Community forum post. Important in order to close automatically and provide context to reviewers.

Review / Merge checklist

  • PR title and summary are descriptive. Remember, the title automatically goes into the changelog. Use (no-changelog) otherwise. (conventions)
  • Docs updated or follow-up ticket created.
  • Tests included.

    A bug is not considered fixed, unless a test is added to prevent it from happening again.
    A feature is not complete without tests.

Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
@n8n-assistant n8n-assistant bot added n8n team Authored by the n8n team ui Enhancement in /editor-ui or /design-system labels Mar 1, 2024
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
Copy link

cypress bot commented Mar 6, 2024

1 flaky test on run #4422 ↗︎

0 343 12 0 Flakiness 1

Details:

🌳 🖥️ browsers:node18.12.0-chrome107 🤖 OlegIvaniv 🗃️ e2e/*
Project: n8n Commit: d0e849749a
Status: Passed Duration: 03:48 💡
Started: Mar 20, 2024 9:13 AM Ended: Mar 20, 2024 9:16 AM
Flakiness  cypress/e2e/5-ndv.cy.ts • 1 flaky test

View Output Video

Test Artifacts
NDV > should not retrieve remote options when required params throw errors Test Replay Screenshots Video

Review all test suite changes for PR #8789 ↗︎

OlegIvaniv and others added 4 commits March 11, 2024 11:55
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
…g-executing-node-not-workflow-on-agent-connected-to-chat
…g-executing-node-not-workflow-on-agent-connected-to-chat
Copy link
Contributor

@michael-radency michael-radency left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

✅ All Cypress E2E specs passed

@OlegIvaniv OlegIvaniv merged commit 5f53d76 into master Mar 21, 2024
28 checks passed
@OlegIvaniv OlegIvaniv deleted the ai-125-bug-executing-node-not-workflow-on-agent-connected-to-chat branch March 21, 2024 08:23
krynble pushed a commit that referenced this pull request Mar 25, 2024
…8789)

Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
Co-authored-by: Michael Kret <michael.k@radency.com>
@github-actions github-actions bot mentioned this pull request Mar 25, 2024
@janober
Copy link
Member

janober commented Mar 25, 2024

Got released with n8n@1.34.1

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 ui Enhancement in /editor-ui or /design-system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants