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 missing input panel in node details view #9043

Merged
merged 2 commits into from Apr 4, 2024

Conversation

tomi
Copy link
Contributor

@tomi tomi commented Apr 3, 2024

Summary

I couldn't actually reproduce the missing input panel, but there was unhandled exception when trying to open the NDV. I fixed that and the Input panel was visible for every node.

  • fix: Fix input panel missing if node has no input data
    Make sure getInputData always returns an array.
  • fix: Fix typing issues in useNodeHelpers

Before:

Kapture.2024-04-03.at.15.29.07.mp4

After:

Kapture.2024-04-03.at.15.28.34.mp4

Related tickets and issues

https://linear.app/n8n/issue/ADO-1338/missing-input-panel-in-ndv

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.

@n8n-assistant n8n-assistant bot added n8n team Authored by the n8n team ui Enhancement in /editor-ui or /design-system labels Apr 3, 2024
@MiloradFilipovic MiloradFilipovic self-requested a review April 4, 2024 07:59
Copy link
Contributor

@MiloradFilipovic MiloradFilipovic left a comment

Choose a reason for hiding this comment

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

I also couldn't reproduce the original issue but NDV was breaking for this workflow in the same way @tomi described and these changes fixed it

Copy link

cypress bot commented Apr 4, 2024

1 flaky test on run #4551 ↗︎

0 348 12 0 Flakiness 1

Details:

🌳 🖥️ browsers:node18.12.0-chrome107 🤖 tomi 🗃️ e2e/*
Project: n8n Commit: 0268af39fe
Status: Passed Duration: 04:02 💡
Started: Apr 4, 2024 8:08 AM Ended: Apr 4, 2024 8:12 AM
Flakiness  cypress/e2e/5-ndv.cy.ts • 1 flaky test

View Output Video

Test Artifacts
NDV > Stop listening for trigger event from NDV Test Replay Screenshots Video

Review all test suite changes for PR #9043 ↗︎

Copy link
Contributor

github-actions bot commented Apr 4, 2024

✅ All Cypress E2E specs passed

@tomi tomi merged commit 71c54cb into master Apr 4, 2024
28 checks passed
@tomi tomi deleted the ado-1338-missing-input-panel-in-ndv branch April 4, 2024 08:13
MiloradFilipovic added a commit that referenced this pull request Apr 4, 2024
* master:
  fix(core): Ensure only leader handles waiting executions (#9014)
  fix(editor): Fix execution with wait node (#9051)
  fix(editor): Issue showing Auth2 callback section when all properties are overriden (#8999)
  fix(editor): Rerun failed nodes in manual executions (#9050)
  fix(editor): Canvas showing error toast when clicking outside of "import workflow by url" modal (#9001)
  fix: Workflows executed from other workflows not stopping (#9010)
  fix: Fix missing input panel in node details view (#9043)
  fix(editor): Prevent saving workflow while another save is in progress (#9048)
@github-actions github-actions bot mentioned this pull request Apr 4, 2024
@netroy netroy changed the title fix: Fix missing input panel in node details view fix(editor): Fix missing input panel in node details view Apr 4, 2024
@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

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