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): Handle disabled nodes in schema view #10052

Merged
merged 4 commits into from
Jul 17, 2024

Conversation

elsmr
Copy link
Member

@elsmr elsmr commented Jul 15, 2024

Summary

Schema view should still render a list of nodes when the previous node is disabled.
Disabled nodes should be marked Deactivated and have a description when expanded:

image

Related Linear tickets, Github issues, and Community forum posts

https://linear.app/n8n/issue/NODE-1496/schema-view-handle-disabled-nodes

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)

@elsmr elsmr changed the title Node 1496 schema view handle disabled nodes fix(editor): Handle disabled nodes in schema view Jul 15, 2024
@n8n-assistant n8n-assistant bot added n8n team Authored by the n8n team ui Enhancement in /editor-ui or /design-system labels Jul 15, 2024
ShireenMissi
ShireenMissi previously approved these changes Jul 15, 2024
Copy link
Contributor

@ShireenMissi ShireenMissi 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

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

Copy link

cypress bot commented Jul 15, 2024

2 flaky tests on run #5965 ↗︎

0 400 0 0 Flakiness 2

Details:

🌳 🖥️ browsers:node18.12.0-chrome107 🤖 elsmr 🗃️ e2e/*
Project: n8n Commit: 352fc5b453
Status: Passed Duration: 05:39 💡
Started: Jul 17, 2024 8:21 AM Ended: Jul 17, 2024 8:27 AM
Flakiness  e2e/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

Review all test suite changes for PR #10052 ↗︎

Copy link
Contributor

@ShireenMissi ShireenMissi left a comment

Choose a reason for hiding this comment

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

Left a minor comment

Co-authored-by: Shireen Missi <94372015+ShireenMissi@users.noreply.github.com>
Copy link
Contributor

@ShireenMissi ShireenMissi 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

@elsmr elsmr merged commit ab5688c into master Jul 17, 2024
27 checks passed
@elsmr elsmr deleted the node-1496-schema-view-handle-disabled-nodes branch July 17, 2024 09:18
@github-actions github-actions bot mentioned this pull request Jul 17, 2024
@janober
Copy link
Member

janober commented Jul 17, 2024

Got released with n8n@1.51.0

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.

3 participants