n8n/packages/workflow/src
Iván Ovejero a1259898c0
feat(editor): Inline expression editor (#4814)
* WIP

* 🔥 Remove unneeded watch

*  Further setup

*  Fix import

*  Minor tweaks

* 🔥 Remove logging

* 🎨 Add some styling

* 🎨 More styling changes

* 🐛 Fix wrong marking of stale data

* 🎨 Prevent fx on dragging

* 🔥 Remove logging

*  Refine draggable target offsets

* refactor(editor): Consolidate expression management logic (#4836)

*  Extract `ExpressionFunctionIcon`

*  Simplify syntax

*  Move to mixin

* 🎨 Format

* 📘 Unify types

*  Dedup double brace handler

*  Consolidate resolvable highlighter

* 🎨 Format

*  Consolidate language pack

* ✏️ Add comment

*  Move completions to plugins

*  Partially deduplicate themes

* refactor(editor): Apply styling feedback to inline expression editor (#4846)

* 🎨 Adjust styling for expression parameter input

* 🎨 Style outputs differently

*  Set single line for RLC

* 🎨 Style both openers identically

* 🐛 Prevent defocus on resize

*  Adjust line height

* 🎨 Adjust border with for expression input

*  Fix font family for inline output

*  Set up telemetry

*  Complete telemetry

*  Simplify event source

*  Set monospaced font for inline output

* 🎨 Hide cursor on schema pill drop

* 🧪 Update snapshots

*  Consolidate editor styles

* ✏️ Add tech debt comments

*  Improve naming

*  Improve inside resolvable detection

*  Improve var naming

* 🔥 Remove outdated comment

* 🚚 Move constant to data

* ✏️ Clarify comments

* 🔥 Remove outdated comments

* 🔥 Remove unneeded try-catch

* 🔥 Remove unneeded method

* 🔥 Remove unneeded check

* 🔥 Remove `openExpression` check

* 🔥 Remove unused timeout

* 🔥 Remove commented out sections

*  Use Pinia naming convention

*  Re-evaluate on change of `ndvInputData`

* 🐛 Fix handling of `0` in number-type input

* 🐛 Surface focus and blur for mapping hints

* 🔥 Remove logging

* ✏️ Reword error

*  Change kebab-case to PascalCase

*  Refactor state fields for clarity

*  Support double bracing on selection

* 🎨 More styling

*  Miscellaneous cleanup

*  Disregard error on drop

* 🎨 Fix schema pill styling

* 🎨 More `background` to `background-color` fixes

* 🧪 Update snapshots

* 🎨 Replace non-existing var with white

* 🧪 Update snapshot

* 📦 Integrate `codemirror-lang-n8n-expression`

* 🎨 Fix formatting

* 🧪 Re-update test snapshots

* 🧪 Update selectors for inline editor

* 🔥 Remove unused test ID

* 📘 Add type for `currentNodePaneType`

*  Refactor mixin to util

*  Use `:global`

* 🔥 Remove comment

*  Add watch

*  Change import style

* 👕 Fix lint

*  Refactor preventing blur on resize

* 🔥 Remove comment

* 🧪 Re-update snapshots

* 🎨 Prettify

* 👕 Fix lint

* 🔥 Remove comment

Co-authored-by: Mutasem <mutdmour@gmail.com>
2022-12-14 14:43:02 +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): Inline expression editor (#4814) 2022-12-14 14:43:02 +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 fix(Move Binary Data Node): Stringify objects before encoding them in MoveBinaryData (#4882) 2022-12-11 14:10:54 +01:00
Interfaces.ts fix(Move Binary Data Node): Stringify objects before encoding them in MoveBinaryData (#4882) 2022-12-11 14:10:54 +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(Move Binary Data Node): Stringify objects before encoding them in MoveBinaryData (#4882) 2022-12-11 14:10:54 +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 fix(core): Remove nodeGetter checks (#4883) 2022-12-12 09:46:53 +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