-
Notifications
You must be signed in to change notification settings - Fork 7.7k
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): Fix an issue with connections breaking during renaming #6358
Conversation
…ive would break workflow connections
Great PR! Please pay attention to the following items before merging: Files matching
Files matching
Files matching
Files matching
Make sure to check off this list before asking for review. |
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## master #6358 +/- ##
==========================================
- Coverage 28.32% 28.32% -0.01%
==========================================
Files 2982 2982
Lines 185125 185127 +2
Branches 20297 20297
==========================================
Hits 52443 52443
- Misses 131897 131899 +2
Partials 785 785
☔ View full report in Codecov by Sentry. |
|
✅ All Cypress E2E specs passed |
* master: fix(editor): Fix an issue with connections breaking during renaming (#6358) fix(core): Upgrade @n8n_io/riot-tmpl (no-changelog) (#6357) fix: Show actual execution data for production executions even if pin data exists (#6302) fix: Improve executions list polling performance (#6355) refactor: Revert 30k stars banner (no-changelog) (#6347) refactor: Add deprecation notice for basic auth and JWT auth (#6349) fix: Prevent redirect when outside of executions home (no-changelog) (#6305)
…6358) * fix(editor): Fix an issue where dragging during when rename modal active would break workflow connections * Use enum to check for confirm state of modal
…6358) * fix(editor): Fix an issue where dragging during when rename modal active would break workflow connections * Use enum to check for confirm state of modal
Got released with |
This pull request addresses an issue related to renaming nodes on the canvas. Previously, if a user initiated the rename process but then cancelled it,
promptResponse.value
would becomeundefined
, leading to a failure in therenameNode
function.To remedy this, we've implemented a conditional check to ascertain that the user has indeed confirmed the renaming action. We will only proceed with the renaming operation if the user has clicked confirm.
Github issue / Community forum post (link here to close automatically):