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): Indent on tabs in expression fields #9659

Merged
merged 3 commits into from
Jun 7, 2024

Conversation

MiloradFilipovic
Copy link
Contributor

Summary

  • Adding tab indentation to inline expression fields
  • Renaming keymap parameter from singleLine -> blurOnTab to match the new purpose

Related tickets and issues

Fixes ADO-1920

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.

* master:
  feat(core): Add batching and other options to declarative nodes (#8885)
  fix: Reset pagination when output size changes (#9652)
@MiloradFilipovic MiloradFilipovic self-assigned this Jun 7, 2024
@n8n-assistant n8n-assistant bot added n8n team Authored by the n8n team ui Enhancement in /editor-ui or /design-system labels Jun 7, 2024
Copy link
Member

@elsmr elsmr left a comment

Choose a reason for hiding this comment

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

Code looks good, and it works as expected.

I'm not sure about the UX of this change. Before you could navigate through the node form with Tab. After this change you get trapped in the first expression input because Tab now controls indentation.

Copy link

cypress bot commented Jun 7, 2024

2 flaky tests on run #5364 ↗︎

0 362 0 0 Flakiness 2

Details:

🌳 🖥️ browsers:node18.12.0-chrome107 🤖 MiloradFilipovic 🗃️ e2e/*
Project: n8n Commit: 1acdeae2b0
Status: Passed Duration: 05:15 💡
Started: Jun 7, 2024 1:24 PM Ended: Jun 7, 2024 1:29 PM
Flakiness  cypress/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 #9659 ↗︎

Copy link
Contributor

github-actions bot commented Jun 7, 2024

✅ All Cypress E2E specs passed

@MiloradFilipovic MiloradFilipovic merged commit bb7227d into master Jun 7, 2024
30 checks passed
@MiloradFilipovic MiloradFilipovic deleted the ADO-1920-tab-indent-in-expression-fields branch June 7, 2024 13:30
MiloradFilipovic added a commit that referenced this pull request Jun 7, 2024
* master:
  fix: Fix typo with submitted (no-changelog) (#9662)
  refactor(core): Revamp crash recovery mechanism for main mode (#9613)
  fix(editor): Improve dragndrop of input pills with spaces (#9656)
  fix(editor): Indent on tabs in expression fields (#9659)
  fix(editor): Color node connections correctly in execution preview for nodes that have pinned data (#9669)
  fix(core): Fix optional chaining in continue on fail check (#9667)
  feat(OpenAI Node): Allow to select Image analyze model & improve types (#9660)
MiloradFilipovic added a commit that referenced this pull request Jun 10, 2024
* master:
  feat(editor): Harmonize rendering of new-lines in RunData (#9614)
  refactor(editor): Fix remaining FE type check errors (no-changelog) (#9607)
  fix(editor): Remove template creds setup from workflow when copied (no-changelog) (#9673)
  refactor(editor): Stop expecting `null` execution status (no-changelog) (#9672)
  fix: Fix typo with submitted (no-changelog) (#9662)
  refactor(core): Revamp crash recovery mechanism for main mode (#9613)
  fix(editor): Improve dragndrop of input pills with spaces (#9656)
  fix(editor): Indent on tabs in expression fields (#9659)
  fix(editor): Color node connections correctly in execution preview for nodes that have pinned data (#9669)
  fix(core): Fix optional chaining in continue on fail check (#9667)
  feat(OpenAI Node): Allow to select Image analyze model & improve types (#9660)
@github-actions github-actions bot mentioned this pull request Jun 12, 2024
@janober
Copy link
Member

janober commented Jun 12, 2024

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