n8n/cypress/pages
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
..
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 fix: Show public API upgrade CTA when feature is not enabled (#8109) 2023-12-21 09:06:54 -05:00
mfa-login.ts feat(core): Add MFA (#4767) 2023-08-23 22:59:16 -04:00
ndv.ts feat(editor): Add fullscreen view to code editor (#8084) 2024-01-04 17:23:24 +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-public-api.ts fix: Show public API upgrade CTA when feature is not enabled (#8109) 2023-12-21 09:06:54 -05: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 fix: Fix template credential setup for nodes that dont have credentials (#8208) 2024-01-04 10:21:36 +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 feat(editor): Add template Id to workflow metadata (#8088) 2023-12-22 15:07:05 +01: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 fix(editor): Fix templates view layout (#8196) 2024-01-02 14:13:09 +01:00