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): Improve expression editor performance by removing watcher #8900

Merged
merged 2 commits into from
Mar 15, 2024

Conversation

elsmr
Copy link
Member

@elsmr elsmr commented Mar 15, 2024

Summary

Improve SqlEditor performance by removing watcher

⚠️ The highlighting of expressions will now only update after changes to the editor (not after rerunning the node or hovering a table item)

Related tickets and issues

https://linear.app/n8n/issue/NODE-1227/opening-bigquery-node-hangs-fe

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 Mar 15, 2024
@elsmr elsmr changed the title fix(editor): Improve SqlEditor performance by removing watcher fix(editor): Improve expression editor performance by removing watcher Mar 15, 2024
Copy link

cypress bot commented Mar 15, 2024

1 flaky test on run #4394 ↗︎

0 343 12 0 Flakiness 1

Details:

🌳 🖥️ browsers:node18.12.0-chrome107 🤖 elsmr 🗃️ e2e/*
Project: n8n Commit: 35e48e5fda
Status: Passed Duration: 03:55 💡
Started: Mar 15, 2024 1:50 PM Ended: Mar 15, 2024 1:54 PM
Flakiness  cypress/e2e/5-ndv.cy.ts • 1 flaky test

View Output Video

Test Artifacts
NDV > should not retrieve remote options when required params throw errors Test Replay Screenshots Video

Review all test suite changes for PR #8900 ↗︎

Copy link
Contributor

✅ All Cypress E2E specs passed

@netroy netroy merged commit a5261d6 into master Mar 15, 2024
28 checks passed
@netroy netroy deleted the node-1227-opening-bigquery-node-hangs-fe-mini branch March 15, 2024 14:14
@github-actions github-actions bot mentioned this pull request Mar 15, 2024
@github-actions github-actions bot mentioned this pull request Mar 15, 2024
@janober
Copy link
Member

janober commented Mar 15, 2024

Got released with n8n@1.32.2

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