n8n/packages/workflow/src
Iván Ovejero 59771c80ea
feat(editor): Overhaul expression editor modal (#4631)
* feat(editor): Integrate CodeMirror into expression editor modal (#4563)

*  Initial setup

* 👕 Fix lint

*  Extract segments

*  Implement var insertion

* 👕 Ignore `.d.cts`

*  Refactor to simplify

*  Add brace handler

*  Fully replace input and output

* feat(editor): Adjust resolved expression to match parameter input hint (#4600)

*  Initial adjustments

* 🐛 Prevent empty decorations

*  Adjust resolved expression to match param input hint

* ✏️ Improve comment

* 👕 Remove lint rule

* ✏️ Fix typo

* ✏️ Fix closing brace

*  Clean up `displayableSegments()`

* feat(editor): Apply styling to expression editor modal (#4607)

🎨 Apply styling

* feat(core): Improve errors in evaluated expression (#4619)

* 🐛 Fix env var access for FE

* 🔥 Remove excess closing bracket

* 🚧 Set up TODO

* ✏️ Update copy

*  Deny env vars access to FE

* 👕 Remove unneeded lint exception

* 📘 Remove unneeded typing

* feat(editor): Dynamically delay evaluation resolution (#4625)

* ✏️ Update copy

*  Dynamically delay evaluation resolution

* 🔥 Remove unneeded computed property

* refactor(editor): Pre-review cleanup (#4627)

* 🔥 Remove `ExpressionInput` component

* 🔥 Remove Quill

* ✏️ Rename i18n key

* 🎨 Place border on correct element

* 🐛 Handle syntax errors

*  Add sample autocompletions

* 🐛 Fix auto-extending behavior

* feat(editor): Improve escaping behavior (#4641)

* 🎨 Hide hint on small screen

*  Improve escaping

* refactor(editor): Apply styling feedback to expression editor modal (#4660)

* 🎨 Restyle hint

* 🎨 Restyle param input hint

* 🔥 Remove `e.g.`

*  Tweak delay

* 🎨 Restyle output

* 🎨 Tweak theme

* ✏️ Tweak copy

* refactor(editor): Apply feedback 2022.11.22 (#4697)

* 🎨 Change background color

*  Focus on mount

*  Account for preexisting braces on injection

* 🐛 Fix `$workflow` showing as not saved

* ✏️ Tweak copy

* 🐛 Fix readonly focus

*  Focus input on paste

*  Sync inputs with modal

* ✏️ Tweak copy

* refactor(editor): Apply feedback 2022.11.23 (#4705)

*  Allow newlines

*  Set cursor at end of content

*  Do not defocus on paste on Chrome

*  Fix import

* 🧪 Add e2e tests

*  Cleanup

*  Add telemetry

* 🔥 Remove log

*  Expose error properties

* 🧪 Rename test

*  Move `getCurrentWorkflow()` call

*  Revert highlighting removal per feedback

*  Add i18n keys

* 🚚 Move computed property to local state

* 🎨 Use CSS vars

*  Update `pnpm-lock.yaml`

*  Apply readonly state

*  Use prop

*  Complete fix
2022-12-01 13:26:22 +01:00
..
Cron.ts [N8N-4339] Unify all Cron-specific code. Improve typing, and add tests. (#3887) 2022-08-19 12:45:04 +02:00
DeferredPromise.ts Add Webhook response node (#2254) 2021-11-05 10:45:51 -06:00
ErrorReporterProxy.ts refactor: Improve error logging/reporting for cli (#4691) 2022-11-22 14:00:36 +01:00
Expression.ts feat(editor): Overhaul expression editor modal (#4631) 2022-12-01 13:26:22 +01:00
ExpressionError.ts refactor: Setup typescript project references across workflow, core, and cli (#4519) 2022-11-09 15:25:00 +01:00
index.ts feat(API): Report unhandled app crashes to Sentry (#4548) 2022-11-08 17:06:00 +01:00
Interfaces.ts ci: Fix linting issues on master (no-changelog) (#4768) 2022-11-30 12:16:19 +01:00
LoggerProxy.ts feat: migrate editor-ui to Vite.js and various DX improvements (N8N-2277) (#4061) 2022-09-23 17:14:28 +03:00
NodeErrors.ts fix(core): Deduplicate error handling in nodes (#4319) 2022-11-11 11:32:43 +01:00
NodeHelpers.ts ci: Fix linting issues on master (no-changelog) (#4768) 2022-11-30 12:16:19 +01:00
ObservableObject.ts feat(core): Lazy-load nodes and credentials to reduce baseline memory usage (#4577) 2022-11-23 16:20:28 +01:00
RoutingNode.ts refactor: Setup typescript project references across workflow, core, and cli (#4519) 2022-11-09 15:25:00 +01:00
TelemetryHelpers.ts fix(core): fix predefinedCredentialType in node graph item (#4379) 2022-10-25 09:07:26 +02:00
type-guards.ts fix(editor): Fix zero treated as missing value in resource locator (#4612) 2022-11-16 09:21:30 +01:00
types.d.ts fix(workflow): remove a few ts-ignore and eslint-disable (#3958) 2022-09-09 16:34:50 +02:00
utils.ts fix: Disable some error tracking (#4579) 2022-11-10 21:44:31 +01:00
VersionedNodeType.ts refactor: rename NodeVersionedType to VersionedNodeType and move it to the workflow package (#4443) 2022-10-25 21:33:12 +02:00
Workflow.ts ci: Fix linting issues on master (no-changelog) (#4768) 2022-11-30 12:16:19 +01:00
WorkflowActivationError.ts feat: use ES2022 native error chaining to improve error reporting (#4431) 2022-10-26 11:55:39 +02:00
WorkflowDataProxy.ts feat(editor): Overhaul expression editor modal (#4631) 2022-12-01 13:26:22 +01:00
WorkflowErrors.ts feat(editor, core, cli): implement new workflow experience (#4358) 2022-10-18 14:23:22 +02:00
WorkflowHooks.ts build: Upgrade some of the backend dev-tooling (no-changelog) (#4589) 2022-11-14 15:37:32 +01:00