1
1
mirror of https://github.com/n8n-io/n8n.git synced 2024-09-21 09:59:34 +03:00
n8n/cypress/pages
Mutasem Aldmour 4b86926752
fix(editor): Fix copy/paste issue when switch node is in workflow (#8103)
## Summary
Fix bug where copy/pasting a node breaks the view. Issue seems to be
that copied workflow does not have Switch node when workflow is
rerendering..

<img width="1942" alt="Screenshot 2023-12-19 at 18 16 23"
src="https://github.com/n8n-io/n8n/assets/4711238/ad53b8ae-3693-4733-8f6b-7bc9e7b9d216">




## Related tickets and issues
[Linear ticket
ADO-1504](https://linear.app/n8n/issue/ADO-1504/unwanted-nodes-connections-after-copypaste-of-n8n-form-trigger)


## Review / Merge checklist
- [X] PR title and summary are descriptive. **Remember, the title
automatically goes into the changelog. Use `(no-changelog)` otherwise.**
([conventions](https://github.com/n8n-io/n8n/blob/master/.github/pull_request_title_conventions.md))
- [ ] [Docs updated](https://github.com/n8n-io/n8n-docs) or follow-up
ticket created.
- [x] 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.
2023-12-20 10:13:59 +01:00
..
features feat(editor): Add HTTP request nodes for credentials without a node (#7157) 2023-11-13 12:11:16 +01:00
modals feat: Introduce advanced permissions (#7844) 2023-12-08 12:52:25 +01:00
sidebar fix(editor): Fix Admin panel icon in the sidebar for cloud deployments (no-changelog) (#7738) 2023-11-17 14:44:47 +01:00
bannerStack.ts fix(editor): Trial banner does not disappear after sign out (no-changelog) (#6930) 2023-08-17 07:57:40 -04:00
base.ts refactor: Format root-level dirs (no-changelog) (#4938) 2022-12-15 16:39:59 +01:00
credentials.ts refactor: Upgrade to Prettier 3 (no-changelog) (#6947) 2023-08-16 17:13:57 +02:00
demo.ts fix(editor): Allow overriding theme from query params (#7591) 2023-11-02 16:06:33 +01:00
index.ts feat(editor): Adds a EE view to show worker details and job status (#7600) 2023-11-10 23:48:31 +01:00
mfa-login.ts feat(core): Add MFA (#4767) 2023-08-23 22:59:16 -04:00
ndv.ts feat(editor): Filter component + implement in If node (#7490) 2023-12-13 14:45:22 +01:00
settings-log-streaming.ts feat(editor): Migrate Design System and Editor UI to Vue 3 (#6476) 2023-07-28 09:51:07 +02:00
settings-personal.ts refactor(editor): Color palette updates, introduce dark mode (#6980) 2023-11-01 13:33:36 +01:00
settings-usage.ts fix: Fix formatting/linting for CI (no-changelog) (#5264) 2023-01-27 10:18:15 +01:00
settings-users.ts feat: Introduce advanced permissions (#7844) 2023-12-08 12:52:25 +01:00
settings.ts feat: Introduce advanced permissions (#7844) 2023-12-08 12:52:25 +01:00
signin.ts feat(core): Add MFA (#4767) 2023-08-23 22:59:16 -04:00
template-collection.ts feat(editor): Open template credential setup from collection (#7882) 2023-11-30 14:09:12 +02:00
template-credential-setup.ts feat(editor): Show template credential setup based on feature flag (#7989) 2023-12-11 20:21:10 +02:00
template-workflow.ts fix(editor): Update image sizes in template description not to be full width always (#8037) 2023-12-18 17:40:00 +01:00
templates.ts test: Ado 1296 add e2e tests (#7792) 2023-11-27 17:18:10 +02:00
variables.ts feat(editor): Migrate Design System and Editor UI to Vue 3 (#6476) 2023-07-28 09:51:07 +02:00
workerView.ts fix(editor): Move workerview entry into settings menu (#7761) 2023-11-21 11:29:24 +01:00
workflow-executions-tab.ts fix(editor): Turn off executions list auto-refresh after leaving the page (#8005) 2023-12-14 11:50:00 +01:00
workflow-history.ts fix(editor): Fix route component caching, incorrect use of array reduce method and enable WF history feature (#7434) 2023-10-26 20:47:42 +02:00
workflow.ts fix(editor): Fix copy/paste issue when switch node is in workflow (#8103) 2023-12-20 10:13:59 +01:00
workflows.ts feat(editor): Add lead enrichment suggestions to workflow list (#8042) 2023-12-19 09:10:03 -05:00