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): Show run workflow button when chat trigger has pinned data #12616

Conversation

jeanpaul
Copy link
Contributor

Summary

This change modifies the visibility condition for the Run Workflow button in the NodeView component. Previously, the button was hidden when the Chat Trigger node was the only active trigger. The change now allows the button to be visible in two scenarios:

  1. When there are active nodes other than the Chat Trigger node.
  2. When the Chat Trigger node has pinned data.

This adjustment improves the user experience by providing the option to run the workflow even when a Chat Trigger node with pinned data is the only active node in the workflow.

Related Linear tickets, Github issues, and Community forum posts

https://linear.app/n8n/issue/AI-590/bug-execute-workflow-button-missing-when-chat-is-pinned

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)

@jeanpaul jeanpaul changed the title fix(editor) Show run workflow button when chat trigger has pinned data fix(editor): Show run workflow button when chat trigger has pinned data Jan 15, 2025
@n8n-assistant n8n-assistant bot added n8n team Authored by the n8n team ui Enhancement in /editor-ui or /design-system labels Jan 15, 2025
Copy link

codecov bot commented Jan 15, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

Copy link
Contributor

⚠️ Some Cypress E2E specs are failing, please fix them before merging

Copy link

cypress bot commented Jan 15, 2025

n8n    Run #8767

Run Properties:  status check passed Passed #8767  •  git commit da8aafc0e3: 🌳 master 🖥️ browsers:node18.12.0-chrome107 🤖 PR User 🗃️ e2e/*
Project n8n
Branch Review master
Run status status check passed Passed #8767
Run duration 04m 49s
Commit git commit da8aafc0e3: 🌳 master 🖥️ browsers:node18.12.0-chrome107 🤖 PR User 🗃️ e2e/*
Committer jeanpaul
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 489
View all changes introduced in this branch ↗︎

Copy link
Contributor

✅ All Cypress E2E specs passed

@jeanpaul jeanpaul merged commit da8aafc into master Jan 15, 2025
37 of 38 checks passed
@jeanpaul jeanpaul deleted the ai-590-bug-execute-workflow-button-missing-when-chat-is-pinned branch January 15, 2025 16:08
adrian-martinez-onestic pushed a commit to onesdata/n8n-fork that referenced this pull request Jan 17, 2025
adrian-martinez-onestic pushed a commit to onesdata/n8n-fork that referenced this pull request Jan 17, 2025
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 ui Enhancement in /editor-ui or /design-system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants