n8n/packages/editor-ui/src/components
Iván Ovejero 1db4fa2bf8
feat(Code Node): create Code node (#3965)
* Introduce node deprecation (#3930)

 Introduce node deprecation

* 🚧 Scaffold out Code node

* 👕 Fix lint

* 📘 Create types file

* 🚚 Rename theme

* 🔥 Remove unneeded prop

*  Override keybindings

*  Expand lintings

*  Create editor content getter

* 🚚 Ensure all helpers use `$`

*  Add autocompletion

*  Filter out welcome note node

*  Convey error line number

*  Highlight error line

*  Restore logging from node

*  More autocompletions

*  Streamline completions

* ✏️ Update placeholders

*  Update linter to new methods

* 🔥 Remove `$nodeItem` completions

*  Re-update placeholders

* 🎨 Fix formatting

* 📦 Update `package-lock.json`

*  Refresh with multi-line empty string

*  Account for syntax errors

* 🔥 Remove unneeded variant

*  Minor improvements

*  Add more autocompletions

* 🚚 Rename extension

* 🔥 Remove outdated comments

* 🚚 Rename field

*  More autocompletions

*  Fix up error display when empty text

* 🔥 Remove logging

*  More error validation

* 🐛 Fix `pairedItem` to `pairedItem()`

*  Add item to validation info

* 📦 Update `package-lock.json`

*  Leftover fixes

*  Set `insertNewlineAndIndent`

* 📦 Update `package-lock.json`

* 📦 Re-update `package-lock.json`

* 👕 Add lint exception

* 📘 Add type to mixin type

* Clean up comment

*  Refactor completion per new requirements

*  Adjust placeholders

*  Add `json` autocompletions for `$input`

* 🎨 Set border

*  Restore local completion source

*  Implement autocompletion for imports

*  Add `.*` to follow user typing on autocompletion

* 📘 Fix typings in autocompletions

* 👕 Add linting for use of `item()`

* 📦 Update `package-lock.json`

* 🐛 Fix for `$items(nodeName)[0]`

*  Filter down built-in modules list

*  Refactor error handling

*  Linter and validation improvements

*  Apply review feedback

* ♻️ More general refactorings

*  Add dot notation utility

* Customize input handler

*  Support `.json.` completions

*  Adjust placeholder

*  Sort imports

* 🔥 Remove blank rows addition

*  Add more error validation

* 📦 Update `package-lock.json`

*  Make date logging consistent

* 🔧 Adjust linting highlight range

*  Add line numbers to each item mode errors

*  Allow for links in error descriptions

*  More input validation

*  Expand linting to loops

*  Deprecate Function and Function Item nodes

* 🐛 Fix placeholder syntax

* 📘 Narrow down type

* 🚚 Rename using kebab-case

* 🔥 Remove `mapGetters`

* ✏️ Fix casing

*  Adjust import for type

* ✏️ Fix quotes

* 🐛 Fix `activeNode` reference

*  Use constant

* 🔥 Remove logging

* ✏️ Fix typo

*  Add missing `notice`

* ✏️ Add tags

* ✏️ Fix alias

* ✏️ Update copy

* 🔥 Remove wrong linting

* ✏️ Update copy

*  Add validation for `null`

*  Add validation for non-object and non-array

*  Add validation for non-array with json

* ✏️ Intentionally use wrong spelling

*  More validation

* ✏️ More copy updates

* ✏️ Placeholder updates

*  Restore spelling

*  Fix var name

* ✏️ More copy updates

*  Add luxon autocompletions

*  Make scrollable

*  Fix comma from merge conflict resolution

* 📦 Update `package-lock.json`

* 👕 Fix lint detail

* 🎨 Set font family

*  Bring in expressions fix

* ♻️ Address feedback

*  Exclude codemirror packages from render chunks

* 🐛 Fix placeholder not showing on first load

* feat(editor-ui): Replace `lezer` with `esprima` in client linter (#4192)

* 🔥 Remove addition from misresolved conflict

*  Replace `lezer` with `esprima` in client linter

*  Add missing key

* 📦 Update `package-lock.json`

*  Match dependencies

* 📦 Update `package-lock.json`

* 📦 Re-update `package-lock.json`

*  Match whitespace

* 🐛 Fix selection

*  Expand validation

* 🔥 Remove validation

* ✏️ Update copy

* 🚚 Move to constants

*  More `null` validation

*  Support `all()` with index to access item

*  Gloss over n8n syntax error

* 🎨 Re-style diagnostic button

* 🔥 Remove `item` as `itemAlias`

*  Add linting for `item.json` in single item mode

*  Refactor to add label info descriptions

*  More autocompletions

* 👕 Fix lint

*  Simplify typings

* feat(nodes-base): Multiline autocompletion for `code-node-editor` (#4220)

*  Simplify typings

*  Consolidate helpers in utils

*  Multiline autocompletion for standalone vars

* 🔥 Remove unneeded mixins

* ✏️ Update copy

* ✏️ Prep TODOs

*  Multiline completion for `$input.method` + `$input.item`

* 🔥 Remove unused method

* 🔥 Remove another unused method

* 🚚 Move luxon strings to helpers

*  Multiline autocompletion for methods output

*  Refactor to use optional chaining

* 👕 Fix lint

* ✏️ Update TODOs

*  Multiline autocompletion for `json` fields

* 📘 Add typings

*  De-duplicate callback to forEach

* 🐛 Fix autocompletions not working with leading whitespace

* 🌐 Apply i18n

* 👕 Fix lint

* :constructor: Second-period var usage completions

* 👕 Fix lint

* 👕 Add exception

*  Add completion telemetry

* 📘 Add typing

*  Major refactoring to organize

* 🐛 Fix multiline `.all()[index]`

* 🐛 Do not autoclose square brackets prior to `.json`

* 🐛 Fix accessor for multiline `jsonField` completions

*  Add completions for half-assignments

* 🐛 Fix `jsonField` completions for `x.json`

* ✏️ Improve comments

* 🐛 Fix `.json[field]` for multiline matches

*  Cleanup

* 📦 Update `package-lock.json`

* 👕 Fix lint

* 🐛 Rely on original value for custom matcher

*  Create `customMatcherJsonFieldCompletions` to simplify setup

* 🐛 Include selector in `customMatcherJsonField` completions

* ✏️ Make naming consistent

* ✏️ Add docline

*  Finish self-review cleanup

* 🔥 Remove outdated comment

* 📌 Pin luxon to major-minor

* ✏️ Fix typo

* 📦 Update `package-lock.json`

* 📦 Update `package-lock.json`

* 📦 Re-update `package-lock.json`

*  Add `luxon` for Gmail node

* 📦 Update `package-lock.json`

*  Replace Function with Code in suggested nodes

* 🐛 Fix `$prevNode` completions

* ✏️ Update `$execution.mode` copy

*  Separate luxon getters from methods

*  Adjusting linter to tolerate `.binary`

*  Adjust top-level item keys check

*  Anticipate user expecting `item` to pre-exist

*  Add linting for legacy item access

*  Add hint for attempted `items` access

*  Add keybinding for toggling comments

* ✏️ Update copy of `all`, `first`, `last` and `itemMatching`

* 🐛 Make `input.all()` etc act on copies

* 📦 Update `package-lock.json`

* 🐛 Fix guard in `$input.last()`

* ♻️ Address Jan's feedback

* ⬆️ Upgrade `eslint-plugin-n8n-nodes-base`

* 📦 Update `package-lock.json`

* 🔥 Remove unneeded exceptions

*  Restore placeholder logic

*  Add placeholders to client

*  Account for shadow item

* ✏️ More completion info labels

* 👕 Fix lint

* ✏️ Update copy

* ✏️ Update copy

* ✏️ More copy updates

* 📦 Update `package-lock.json`

*  Add more validation

*  Add placheolder on first load

* Replace `Cmd` with `Mod`

* 📦 Update `package-lock.json`
2022-10-13 14:28:02 +02:00
..
CodeNodeEditor feat(Code Node): create Code node (#3965) 2022-10-13 14:28:02 +02:00
CredentialEdit feat(editor): update expressions display (#4171) 2022-10-12 14:06:28 +02:00
Error feat(Code Node): create Code node (#3965) 2022-10-13 14:28:02 +02:00
ExpandableInput feat: migrate editor-ui to Vite.js and various DX improvements (N8N-2277) (#4061) 2022-09-23 17:14:28 +03:00
forms feat: migrate editor-ui to Vite.js and various DX improvements (N8N-2277) (#4061) 2022-09-23 17:14:28 +03:00
layouts feat(editor): Main navigation redesign (#4144) 2022-09-26 15:25:19 +02:00
MainHeader feat(editor): Main navigation redesign (#4144) 2022-09-26 15:25:19 +02:00
mixins feat(Code Node): create Code node (#3965) 2022-10-13 14:28:02 +02:00
Node refactor(editor): encapsulate node creation actions (#4287) 2022-10-11 10:06:33 +02:00
ResourceLocator feat(editor): update expressions display (#4171) 2022-10-12 14:06:28 +02:00
TagsManager
transitions
AboutModal.vue 💄 Added instance ID to about modal and restyled credentials docs link (#3903) 2022-08-30 11:10:17 +02:00
ActivationModal.vue
Badge.vue feat: migrate editor-ui to Vite.js and various DX improvements (N8N-2277) (#4061) 2022-09-23 17:14:28 +03:00
Banner.vue feat(cli): User Management and Credentials sharing (#3602) 2022-09-21 10:20:29 +02:00
BinaryDataDisplay.vue
BinaryDataDisplayEmbed.vue
BreakpointsObserver.vue feat: add resource locator parameter (#3932) 2022-09-21 15:44:45 +02:00
ChangePasswordModal.vue
CodeEdit.vue feat(core): Improve paired item and add additional variables (#3765) 2022-09-29 23:02:25 +02:00
CollectionCard.vue
CollectionParameter.vue feat: migrate editor-ui to Vite.js and various DX improvements (N8N-2277) (#4061) 2022-09-23 17:14:28 +03:00
CollectionsCarousel.vue fix(editor): change horizontal scrollbar rendering in various places (#4282) 2022-10-10 17:23:22 +02:00
CommunityPackageCard.vue
CommunityPackageInstallModal.vue feat(editor): Use i18n component instead od v-html for localization 2022-09-05 16:36:22 +02:00
CommunityPackageManageConfirmModal.vue feat(editor): Use i18n component instead od v-html for localization 2022-09-05 16:36:22 +02:00
ContactPromptModal.vue
CopyInput.vue feat(cli): User Management and Credentials sharing (#3602) 2022-09-21 10:20:29 +02:00
CredentialCard.vue feat: add resource locator parameter (#3932) 2022-09-21 15:44:45 +02:00
CredentialIcon.vue feat(cli): User Management and Credentials sharing (#3602) 2022-09-21 10:20:29 +02:00
CredentialsSelect.vue fix(editor-ui): Fix ParameterInput inputField ref focus (#4215) 2022-09-28 09:46:38 +02:00
CredentialsSelectModal.vue feat(editor, core): Integrate PostHog (#3865) 2022-08-19 15:35:39 +02:00
DeleteUserModal.vue
Draggable.vue feat(editor-ui): JSON mapping (#4270) 2022-10-06 15:03:55 +02:00
DraggableTarget.vue feat: add resource locator parameter (#3932) 2022-09-21 15:44:45 +02:00
DuplicateWorkflowDialog.vue
EnterpriseEdition.ee.vue feat(cli): User Management and Credentials sharing (#3602) 2022-09-21 10:20:29 +02:00
ExecutionsList.vue feat: migrate editor-ui to Vite.js and various DX improvements (N8N-2277) (#4061) 2022-09-23 17:14:28 +03:00
ExecutionTime.vue
ExpressionEdit.vue feat: migrate editor-ui to Vite.js and various DX improvements (N8N-2277) (#4061) 2022-09-23 17:14:28 +03:00
ExpressionInput.vue feat: migrate editor-ui to Vite.js and various DX improvements (N8N-2277) (#4061) 2022-09-23 17:14:28 +03:00
FeatureComingSoon.vue feat(cli): User Management and Credentials sharing (#3602) 2022-09-21 10:20:29 +02:00
FixedCollectionParameter.vue feat(editor): update expressions display (#4171) 2022-10-12 14:06:28 +02:00
GiftNotificationIcon.vue feat(editor): Main navigation redesign (#4144) 2022-09-26 15:25:19 +02:00
GoBackButton.vue
helpers.ts feat(editor-ui): JSON mapping (#4270) 2022-10-06 15:03:55 +02:00
HoverableNodeIcon.vue feat: migrate editor-ui to Vite.js and various DX improvements (N8N-2277) (#4061) 2022-09-23 17:14:28 +03:00
ImportCurlModal.vue feat(editor): update expressions display (#4171) 2022-10-12 14:06:28 +02:00
ImportParameter.vue feat(HTTP Request Node): Redesign and add the ability to import cURL commands (#3860) 2022-09-29 17:28:02 -04:00
InlineNameEdit.vue feat(cli): User Management and Credentials sharing (#3602) 2022-09-21 10:20:29 +02:00
InlineTextEdit.vue
InputPanel.vue feat(editor): update expressions display (#4171) 2022-10-12 14:06:28 +02:00
IntersectionObserved.vue
IntersectionObserver.vue
InviteUsersModal.vue
Logo.vue feat(editor): Main navigation redesign (#4144) 2022-09-26 15:25:19 +02:00
MainSidebar.vue fix(editor): fix for menu collapse lag when loading a credentials page (#4329) 2022-10-12 18:18:06 +02:00
Modal.vue
ModalDrawer.vue
ModalRoot.vue
Modals.vue feat(HTTP Request Node): Redesign and add the ability to import cURL commands (#3860) 2022-09-29 17:28:02 -04:00
MultipleParameter.vue feat(editor): update expressions display (#4171) 2022-10-12 14:06:28 +02:00
NDVDraggablePanels.vue feat(Code Node): create Code node (#3965) 2022-10-13 14:28:02 +02:00
Node.vue fix(editor): disable trigger node execution pinning toolip for schedule nodes (#4334) 2022-10-13 10:38:41 +02:00
NodeCredentials.vue feat(editor): update expressions display (#4171) 2022-10-12 14:06:28 +02:00
NodeDetailsView.vue feat(Code Node): create Code node (#3965) 2022-10-13 14:28:02 +02:00
NodeExecuteButton.vue feat(editor, core): Integrate PostHog (#3865) 2022-08-19 15:35:39 +02:00
NodeIcon.vue feat: migrate editor-ui to Vite.js and various DX improvements (N8N-2277) (#4061) 2022-09-23 17:14:28 +03:00
NodeList.vue
NodeSettings.vue feat(Code Node): create Code node (#3965) 2022-10-13 14:28:02 +02:00
NodeSettingsTabs.vue fix(nodes-base): fix and harmonize all primaryDocumentation links (#4191) 2022-09-29 13:33:16 +03:00
NodeTitle.vue feat(cli): User Management and Credentials sharing (#3602) 2022-09-21 10:20:29 +02:00
NodeWebhooks.vue feat: migrate editor-ui to Vite.js and various DX improvements (N8N-2277) (#4061) 2022-09-23 17:14:28 +03:00
OnboardingCallSignupModal.vue
OutputPanel.vue feat(editor): update expressions display (#4171) 2022-10-12 14:06:28 +02:00
PageAlert.vue feat: migrate editor-ui to Vite.js and various DX improvements (N8N-2277) (#4061) 2022-09-23 17:14:28 +03:00
PageContentWrapper.vue
PanelDragButton.vue feat(editor-ui): JSON mapping (#4270) 2022-10-06 15:03:55 +02:00
ParameterInput.vue feat(Code Node): create Code node (#3965) 2022-10-13 14:28:02 +02:00
ParameterInputExpanded.vue feat(editor): update expressions display (#4171) 2022-10-12 14:06:28 +02:00
ParameterInputFull.vue feat(editor): update expressions display (#4171) 2022-10-12 14:06:28 +02:00
ParameterInputHint.vue feat(editor): update expressions display (#4171) 2022-10-12 14:06:28 +02:00
ParameterInputList.vue feat(editor): update expressions display (#4171) 2022-10-12 14:06:28 +02:00
ParameterInputWrapper.vue feat(editor): update expressions display (#4171) 2022-10-12 14:06:28 +02:00
ParameterIssues.vue feat(editor): Use i18n component instead od v-html for localization 2022-09-05 16:36:22 +02:00
ParameterOptions.vue feat(Code Node): create Code node (#3965) 2022-10-13 14:28:02 +02:00
PersonalizationModal.vue feat(personalization): update personalizaton survey (#4154) 2022-09-21 11:49:25 +02:00
PushConnectionTracker.vue
RunData.vue fix(core, editor): prevent overlapping runData and pinData (#4323) 2022-10-12 16:13:59 +02:00
RunDataJson.vue feat(editor-ui): JSON mapping (#4270) 2022-10-06 15:03:55 +02:00
RunDataJsonActions.vue feat(editor-ui): JSON mapping (#4270) 2022-10-06 15:03:55 +02:00
RunDataTable.vue feat(editor): update expressions display (#4171) 2022-10-12 14:06:28 +02:00
RunInfo.vue
SaveButton.vue feat: migrate editor-ui to Vite.js and various DX improvements (N8N-2277) (#4061) 2022-09-23 17:14:28 +03:00
ScopesNotice.vue
SettingsSidebar.vue feat(editor): updated n8n-menu component (#4290) 2022-10-10 18:17:39 +02:00
ShortenName.vue
Sticky.vue feat: migrate editor-ui to Vite.js and various DX improvements (N8N-2277) (#4061) 2022-09-23 17:14:28 +03:00
TagsContainer.vue feat: migrate editor-ui to Vite.js and various DX improvements (N8N-2277) (#4061) 2022-09-23 17:14:28 +03:00
TagsDropdown.vue feat(editor): Main navigation redesign (#4144) 2022-09-26 15:25:19 +02:00
Telemetry.vue feat(cli): User Management and Credentials sharing (#3602) 2022-09-21 10:20:29 +02:00
TemplateCard.vue
TemplateDetails.vue fix(editor): change horizontal scrollbar rendering in various places (#4282) 2022-10-10 17:23:22 +02:00
TemplateDetailsBlock.vue
TemplateFilters.vue
TemplateList.vue feat(editor): Main navigation redesign (#4144) 2022-09-26 15:25:19 +02:00
TextEdit.vue
TimeAgo.vue feat(cli): User Management and Credentials sharing (#3602) 2022-09-21 10:20:29 +02:00
TitledList.vue feat(editor): Use i18n component instead od v-html for localization 2022-09-05 16:36:22 +02:00
TriggerIcon.vue feat: migrate editor-ui to Vite.js and various DX improvements (N8N-2277) (#4061) 2022-09-23 17:14:28 +03:00
TriggerPanel.vue feat(editor): Use i18n component instead od v-html for localization 2022-09-05 16:36:22 +02:00
UpdatesPanel.vue feat: migrate editor-ui to Vite.js and various DX improvements (N8N-2277) (#4061) 2022-09-23 17:14:28 +03:00
ValueSurvey.vue feat: migrate editor-ui to Vite.js and various DX improvements (N8N-2277) (#4061) 2022-09-23 17:14:28 +03:00
VariableSelector.vue feat(core): Improve paired item and add additional variables (#3765) 2022-09-29 23:02:25 +02:00
VariableSelectorItem.vue feat: migrate editor-ui to Vite.js and various DX improvements (N8N-2277) (#4061) 2022-09-23 17:14:28 +03:00
VersionCard.vue feat: migrate editor-ui to Vite.js and various DX improvements (N8N-2277) (#4061) 2022-09-23 17:14:28 +03:00
WarningTooltip.vue feat: migrate editor-ui to Vite.js and various DX improvements (N8N-2277) (#4061) 2022-09-23 17:14:28 +03:00
WireMeUp.vue
WorkflowActivator.vue
WorkflowCard.vue feat(cli): User Management and Credentials sharing (#3602) 2022-09-21 10:20:29 +02:00
WorkflowOpen.vue fix(editor): Updating wrong i18n string reference (#4209) 2022-09-27 11:20:25 +02:00
WorkflowPreview.vue
WorkflowSettings.vue feat: migrate editor-ui to Vite.js and various DX improvements (N8N-2277) (#4061) 2022-09-23 17:14:28 +03:00