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

feat(editor): Add sections to autocomplete dropdown #8720

Merged
merged 29 commits into from
Mar 7, 2024

Conversation

elsmr
Copy link
Member

@elsmr elsmr commented Feb 22, 2024

Summary

  • Added (sticky) sections and custom ordering
  • Context aware sections & ordering
  • Overhauled autocomplete styling
  • Made <object>.keys() and <object>.values() actually work
  • Cursor position when autocompleting a method is now set inside the method .values(<cursor>) instead of .values()<cursor>
  • Show all available object methods (only keys/values was shown before)
image image

Related tickets and issues

https://linear.app/n8n/issue/NODE-1147/introduce-autocomplete-inner-sections

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 core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team ui Enhancement in /editor-ui or /design-system labels Feb 22, 2024
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.

Beautiful 😍 Left a really minor comment but otherwise good to go

Copy link
Contributor

github-actions bot commented Mar 6, 2024

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

Copy link

cypress bot commented Mar 6, 2024

2 flaky tests on run #4318 ↗︎

0 343 12 0 Flakiness 2

Details:

🌳 🖥️ browsers:node18.12.0-chrome107 🤖 elsmr 🗃️ e2e/*
Project: n8n Commit: 546d88efd9
Status: Passed Duration: 03:54 💡
Started: Mar 7, 2024 3:39 PM Ended: Mar 7, 2024 3:42 PM
Flakiness  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
Flakiness  19-execution.cy.ts • 1 flaky test

View Output Video

Test Artifacts
Execution > should test manual workflow stop Test Replay Screenshots Video

Review all test suite changes for PR #8720 ↗︎

Copy link
Contributor

github-actions bot commented Mar 6, 2024

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

@MiloradFilipovic MiloradFilipovic self-requested a review March 7, 2024 15:32
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.

Thanks for addressing 🙌

Copy link
Contributor

github-actions bot commented Mar 7, 2024

✅ All Cypress E2E specs passed

@elsmr elsmr merged commit 9b4618d into master Mar 7, 2024
28 checks passed
@elsmr elsmr deleted the node-1147-introduce-autocomplete-inner-sections branch March 7, 2024 16:01
@github-actions github-actions bot mentioned this pull request Mar 13, 2024
@janober
Copy link
Member

janober commented Mar 13, 2024

Got released with n8n@1.33.0

despairblue pushed a commit that referenced this pull request Mar 14, 2024
Co-authored-by: Giulio Andreini <andreini@netseven.it>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Enhancement outside /nodes-base and /editor-ui 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

4 participants