From 8d42eddfc2d6686912300969d7356bf2340d620c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Ovejero?= Date: Sun, 19 Sep 2021 16:13:48 +0200 Subject: [PATCH] :zap: Add infobox to Split In Batches node (#2217) --- packages/editor-ui/src/components/ParameterInputList.vue | 1 + packages/nodes-base/nodes/SplitInBatches.node.ts | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/editor-ui/src/components/ParameterInputList.vue b/packages/editor-ui/src/components/ParameterInputList.vue index e49a09bc92..0db342f6ab 100644 --- a/packages/editor-ui/src/components/ParameterInputList.vue +++ b/packages/editor-ui/src/components/ParameterInputList.vue @@ -313,6 +313,7 @@ export default mixins( margin: 0.3em 0; padding: 0.8em; line-height: 1.5; + word-break: normal; a { font-weight: var(--font-weight-bold); diff --git a/packages/nodes-base/nodes/SplitInBatches.node.ts b/packages/nodes-base/nodes/SplitInBatches.node.ts index ed7fd01d73..7ab0a33fd7 100644 --- a/packages/nodes-base/nodes/SplitInBatches.node.ts +++ b/packages/nodes-base/nodes/SplitInBatches.node.ts @@ -22,6 +22,12 @@ export class SplitInBatches implements INodeType { inputs: ['main'], outputs: ['main'], properties: [ + { + displayName: 'You may not need this node — n8n nodes automatically run once for each input item. More info', + name: 'splitInBatchesNotice', + type: 'notice', + default: '', + }, { displayName: 'Batch Size', name: 'batchSize', @@ -32,7 +38,6 @@ export class SplitInBatches implements INodeType { default: 10, description: 'The number of items to return with each call.', }, - { displayName: 'Options', name: 'options',