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 selection navigation using the keyboard on new canvas #11679

Conversation

alexgrozav
Copy link
Member

@alexgrozav alexgrozav commented Nov 11, 2024

Summary

Screen.Recording.2024-11-18.at.15.45.37.mov

Related Linear tickets, Github issues, and Community forum posts

https://linear.app/n8n/issue/CAT-322/change-arrow-keys-behaviour-to-be-consistent-with-old-canvas

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)

@alexgrozav alexgrozav self-assigned this Nov 11, 2024
@alexgrozav
Copy link
Member Author

Blocked until bcakmakoglu/vue-flow#1689 is solved.

@n8n-assistant n8n-assistant bot added n8n team Authored by the n8n team ui Enhancement in /editor-ui or /design-system labels Nov 11, 2024
@alexgrozav alexgrozav marked this pull request as ready for review November 18, 2024 13:47
Copy link

codecov bot commented Nov 18, 2024

Codecov Report

Attention: Patch coverage is 65.60000% with 43 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...ackages/editor-ui/src/components/canvas/Canvas.vue 39.43% 43 Missing ⚠️

📢 Thoughts on this report? Let us know!

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.

LGTM 🎉 Compared with the old canvas and it works the same, only much faster! 🏃

@@ -0,0 +1,68 @@
import type { CanvasNode } from '@/types';
Copy link
Member

Choose a reason for hiding this comment

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

👏

x: 100,
y: 100,
z: 0,
},
Copy link
Member

Choose a reason for hiding this comment

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

is this expected?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yup, position listener got changed.

Copy link

cypress bot commented Nov 18, 2024

n8n    Run #7970

Run Properties:  status check passed Passed #7970  •  git commit 6cd9b996af: 🌳 master 🖥️ browsers:node18.12.0-chrome107 🤖 PR User 🗃️ e2e/*
Project n8n
Branch Review master
Run status status check passed Passed #7970
Run duration 04m 36s
Commit git commit 6cd9b996af: 🌳 master 🖥️ browsers:node18.12.0-chrome107 🤖 PR User 🗃️ e2e/*
Committer Alex Grozav
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 3
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 475
View all changes introduced in this branch ↗︎

Copy link
Contributor

✅ All Cypress E2E specs passed

@alexgrozav alexgrozav merged commit 6cd9b99 into master Nov 18, 2024
47 checks passed
@alexgrozav alexgrozav deleted the cat-322-change-arrow-keys-behaviour-to-be-consistent-with-old-canvas branch November 18, 2024 17:50
@github-actions github-actions bot mentioned this pull request Nov 20, 2024
@janober
Copy link
Member

janober commented Nov 20, 2024

Got released with [email protected]

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.

3 participants