n8n/cypress/e2e
Elias Meire 071e6d6b6e
feat(editor): Add fullscreen view to code editor (#8084)
## Summary

<img width="1240" alt="image"
src="https://github.com/n8n-io/n8n/assets/8850410/2819f4ce-c343-431a-8a88-a1bc9c4b572a">
<img width="2649" alt="image"
src="https://github.com/n8n-io/n8n/assets/8850410/36862aaf-cc4c-4668-bdc8-cf5a6f00babe">

1. Add code node and open it
3. Click the fullscreen button in the bottom right
4. A fullscreen dialog should appear and allow editing the code
5. Changes made in the fullscreen dialog should be applied to the
original code editor when closed

It should work the same way for HTML/SQL/JSON editors

⚠️ Modal layout was updated so that modals/dialogs are centered, try to
test some modals

## Related tickets and issues
https://linear.app/n8n/issue/NODE-1009/add-fullscreen-view-to-code-node



## Review / Merge checklist
- [ ] 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.
- [ ] 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.

---------

Co-authored-by: Giulio Andreini <andreini@netseven.it>
2024-01-04 17:23:24 +01:00
..
1-workflows.cy.ts ci: Refactor e2e tests to delete boilerplate code (no-changelog) (#6524) 2023-06-23 00:38:12 +02:00
2-credentials.cy.ts ci: Skip the regularly failing tests in 2-credentials.cy.ts (no-changelog) (#7736) 2023-11-16 17:42:58 +01:00
4-node-creator.cy.ts feat(core): Improvements/overhaul for nodes working with binary data (#7651) 2024-01-03 13:08:16 +02:00
5-ndv.cy.ts feat(editor): Add fullscreen view to code editor (#8084) 2024-01-04 17:23:24 +01:00
6-code-node.cy.ts ci: Fix prettier auto-formatting (no-changelog) (#7063) 2023-09-01 13:29:31 +02:00
7-workflow-actions.cy.ts fix(editor): Only show push to git menu item to owners (#7766) 2023-11-21 15:20:15 +01:00
8-http-request-node.cy.ts feat(editor): Add HTTP request nodes for credentials without a node (#7157) 2023-11-13 12:11:16 +01:00
9-expression-editor-modal.cy.ts feat: Data transformation nodes and actions in Nodes Panel (#7760) 2023-12-08 11:40:05 +01:00
10-settings-log-streaming.cy.ts feat(editor): Migrate Design System and Editor UI to Vue 3 (#6476) 2023-07-28 09:51:07 +02:00
10-undo-redo.cy.ts fix(editor): Prevent canvas undo/redo when NDV is open (#8118) 2023-12-22 08:42:53 +01:00
11-inline-expression-editor.cy.ts feat: Data transformation nodes and actions in Nodes Panel (#7760) 2023-12-08 11:40:05 +01:00
12-canvas-actions.cy.ts feat(editor): Add node context menu (#7620) 2023-11-20 14:37:12 +01:00
12-canvas.cy.ts feat(editor): Add node context menu (#7620) 2023-11-20 14:37:12 +01:00
13-pinning.cy.ts fix(core): Fix issue that pinnedData is not used with Test-Webhooks (#8123) 2023-12-27 10:51:53 +01:00
14-data-transformation-expressions.cy.ts feat(Set Node): Overhaul (#6348) 2023-09-19 13:16:35 +03:00
14-mapping.cy.ts feat: Data transformation nodes and actions in Nodes Panel (#7760) 2023-12-08 11:40:05 +01:00
15-scheduler-node.cy.ts feat(editor): Migrate Design System and Editor UI to Vue 3 (#6476) 2023-07-28 09:51:07 +02:00
16-form-trigger-node.cy.ts feat(n8n Form Trigger Node): Improvements (#7571) 2023-12-13 17:00:51 +02:00
16-webhook-node.cy.ts feat(core): Improvements/overhaul for nodes working with binary data (#7651) 2024-01-03 13:08:16 +02:00
17-sharing.cy.ts fix(editor): Add back credential use permission (#8023) 2023-12-14 13:36:36 +01:00
17-workflow-tags.cy.ts fix(editor): Close tags dropdown when modal is opened (#6766) 2023-07-28 10:45:46 +02:00
18-user-management.cy.ts feat: Introduce advanced permissions (#7844) 2023-12-08 12:52:25 +01:00
19-execution.cy.ts fix(editor): Fix deletion of last execution at execution preview (#7883) 2023-11-30 12:12:26 +01:00
20-workflow-executions.cy.ts fix(editor): Turn off executions list auto-refresh after leaving the page (#8005) 2023-12-14 11:50:00 +01:00
21-community-nodes.cy.ts feat(editor): Migrate Design System and Editor UI to Vue 3 (#6476) 2023-07-28 09:51:07 +02:00
23-variables.cy.ts ci: Refactor e2e tests to delete boilerplate code (no-changelog) (#6524) 2023-06-23 00:38:12 +02:00
24-ndv-paired-item.cy.ts feat: Data transformation nodes and actions in Nodes Panel (#7760) 2023-12-08 11:40:05 +01:00
25-stickies.cy.ts fix(editor): Make keyboard shortcuts more strict; don't accept extra Ctrl/Alt/Shift keys (#8024) 2023-12-20 12:06:49 +01:00
26-resource-locator.cy.ts feat(editor): Add fullscreen view to code editor (#8084) 2024-01-04 17:23:24 +01:00
27-cloud.cy.ts fix: Show public API upgrade CTA when feature is not enabled (#8109) 2023-12-21 09:06:54 -05:00
27-two-factor-authentication.cy.ts test: Add user type of admin to E2E tests (#7935) 2023-12-06 14:31:06 +01:00
28-debug.cy.ts perf(editor): Improve performance when opening large workflows with node issues (#7901) 2023-12-04 10:57:03 +01:00
28-resource-mapper.cy.ts fix(editor): Fix remote options fetching on every keystroke (#7320) 2023-10-12 14:18:35 +02:00
29-sql-editor.cy.ts feat(Loop Over Items (Split in Batches) Node): Automatically add a loop + rename (#7228) 2023-10-06 15:31:18 +02:00
29-templates.cy.ts feat(editor): Add template Id to workflow metadata (#8088) 2023-12-22 15:07:05 +01:00
30-editor-after-route-changes.cy.ts refactor(core): Move active workflows endpoints to a decorated controller class (no-changelog) (#8101) 2023-12-22 11:28:42 +01:00
30-if-node.cy.ts feat(editor): Filter component + implement in If node (#7490) 2023-12-13 14:45:22 +01:00
30-langchain.cy.ts feat: Add AI tool building capabilities (#7336) 2023-11-29 12:13:55 +01:00
30-workflow-filters.cy.ts ci: Disable Workflow filters e2e tests to unblock the CI (no-changelog) (#7668) 2023-11-09 13:30:17 +01:00
31-demo.cy.ts fix(editor): Allow overriding theme from query params (#7591) 2023-11-02 16:06:33 +01:00
32-node-io-filter.cy.ts feat(editor): Node IO filter (#7503) 2023-11-15 16:19:48 +01:00
32-worker-view.cy.ts feat(editor): Finalize workers view (#8052) 2023-12-20 17:49:14 +01:00
33-settings-personal.cy.ts fix(editor): Validate user info before submiting (#7608) 2023-11-22 12:14:44 +01:00
34-template-credentials-setup.cy.ts fix: Fix template credential setup for nodes that dont have credentials (#8208) 2024-01-04 10:21:36 +02:00
35-admin-user-smoke-test.cy.ts feat: Introduce advanced permissions (#7844) 2023-12-08 12:52:25 +01:00
36-suggested-templates.cy.ts feat(editor): Add lead enrichment suggestions to workflow list (#8042) 2023-12-19 09:10:03 -05:00
36-versions.cy.ts fix(editor): Move versions check to init function and refactor store (no-changelog) (#8067) 2023-12-20 12:49:40 +02:00