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 error state correctly in options parameter with remote options #9836

Conversation

elsmr
Copy link
Member

@elsmr elsmr commented Jun 21, 2024

Summary

Show error state correctly in options parameter with remote options

image

Related Linear tickets, Github issues, and Community forum posts

https://linear.app/n8n/issue/NODE-1434/bug-loadoptions-continues-to-show-loading-placeholder-after-fetch

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)

@n8n-assistant n8n-assistant bot added n8n team Authored by the n8n team ui Enhancement in /editor-ui or /design-system labels Jun 21, 2024
alexgrozav
alexgrozav previously approved these changes Jun 24, 2024
Copy link
Contributor

@alexgrozav alexgrozav left a comment

Choose a reason for hiding this comment

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

Looking good, working as expected. Wrote two small remarks.

packages/editor-ui/src/components/ParameterInput.vue Outdated Show resolved Hide resolved
packages/editor-ui/src/components/ParameterInput.vue Outdated Show resolved Hide resolved
Copy link
Contributor

✅ All Cypress E2E specs passed

Copy link

cypress bot commented Jun 24, 2024

3 flaky tests on run #5674 ↗︎

0 396 0 0 Flakiness 3

Details:

🌳 🖥️ browsers:node18.12.0-chrome107 🤖 elsmr 🗃️ e2e/*
Project: n8n Commit: 256611b5bb
Status: Passed Duration: 05:03 💡
Started: Jun 26, 2024 8:19 AM Ended: Jun 26, 2024 8:24 AM
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  24-ndv-paired-item.cy.ts • 1 flaky test

View Output Video

Test Artifacts
NDV > resolves expression with default item when input node is not parent, while still pairing items Test Replay Screenshots Video

Review all test suite changes for PR #9836 ↗︎

alexgrozav
alexgrozav previously approved these changes Jun 24, 2024
Copy link
Contributor

@alexgrozav alexgrozav left a comment

Choose a reason for hiding this comment

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

Thanks for addressing the feedback!

Copy link
Contributor

✅ All Cypress E2E specs passed

Copy link
Contributor

✅ All Cypress E2E specs passed

@elsmr elsmr merged commit 5bc58ef into master Jun 26, 2024
26 checks passed
@elsmr elsmr deleted the node-1434-bug-loadoptions-continues-to-show-loading-placeholder-after branch June 26, 2024 10:35
@github-actions github-actions bot mentioned this pull request Jun 27, 2024
@janober
Copy link
Member

janober commented Jun 27, 2024

Got released with n8n@1.48.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