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): Allow pinning of AI root nodes #9060

Merged
merged 5 commits into from Apr 5, 2024

Conversation

OlegIvaniv
Copy link
Contributor

Summary

  • Disable data pinning only for nodes without main output
  • Consolidate the canPinNode logic into usePinnedData composable and replace usage
  • Fix the linting warning for RunData.vue component

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>
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 Apr 4, 2024
michael-radency
michael-radency previously approved these changes Apr 4, 2024
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, working as expected 👍

Copy link

cypress bot commented Apr 4, 2024

3 flaky tests on run #4599 ↗︎

0 353 12 0 Flakiness 3

Details:

🌳 🖥️ browsers:node18.12.0-chrome107 🤖 OlegIvaniv 🗃️ e2e/*
Project: n8n Commit: 3b4ecfccca
Status: Passed Duration: 04:13 💡
Started: Apr 5, 2024 12:55 PM Ended: Apr 5, 2024 12:59 PM
Flakiness  5-ndv.cy.ts • 2 flaky tests

View Output Video

Test Artifacts
NDV > should not retrieve remote options when required params throw errors Screenshots Video
NDV > Stop listening for trigger event from NDV Screenshots Video
Flakiness  17-sharing.cy.ts • 1 flaky test

View Output Video

Test Artifacts
Sharing > should work for admin role on credentials created by others (also can share it with themselves) Test Replay Screenshots Video

Review all test suite changes for PR #9060 ↗︎

Copy link
Contributor

github-actions bot commented Apr 4, 2024

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

Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
@OlegIvaniv
Copy link
Contributor Author

@michael-radency Can you please re-review? 🙏

michael-radency
michael-radency previously approved these changes Apr 5, 2024
Copy link
Contributor

github-actions bot commented Apr 5, 2024

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

Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
Copy link
Contributor

github-actions bot commented Apr 5, 2024

✅ All Cypress E2E specs passed

@OlegIvaniv OlegIvaniv merged commit 32df171 into master Apr 5, 2024
50 checks passed
@OlegIvaniv OlegIvaniv deleted the ai-141-allow-pinning-of-root-nodes branch April 5, 2024 13:00
@github-actions github-actions bot mentioned this pull request Apr 10, 2024
@janober
Copy link
Member

janober commented Apr 10, 2024

Got released with n8n@1.37.0

netroy pushed a commit that referenced this pull request Apr 11, 2024
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
@github-actions github-actions bot mentioned this pull request Apr 11, 2024
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