From 08abaf9eb2121590e64d75b28ca6a44fdfa193f1 Mon Sep 17 00:00:00 2001 From: Shireen Missi <94372015+ShireenMissi@users.noreply.github.com> Date: Fri, 6 Sep 2024 09:24:48 +0100 Subject: [PATCH] fix: Tweak the copy for Add more warnings to nodes (no-changelog) (#10697) --- packages/editor-ui/src/utils/__tests__/nodeViewUtils.spec.ts | 2 +- packages/editor-ui/src/utils/nodeViewUtils.ts | 2 +- packages/nodes-base/nodes/HttpRequest/V3/HttpRequestV3.node.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/editor-ui/src/utils/__tests__/nodeViewUtils.spec.ts b/packages/editor-ui/src/utils/__tests__/nodeViewUtils.spec.ts index 28edfed615..b886df06cb 100644 --- a/packages/editor-ui/src/utils/__tests__/nodeViewUtils.spec.ts +++ b/packages/editor-ui/src/utils/__tests__/nodeViewUtils.spec.ts @@ -69,7 +69,7 @@ describe('getGenericHints', () => { expect(hints).toEqual([ { message: - "The operation is performed for each input item. Use the 'Execute Once' setting to execute it only once for the first input item.", + 'This node runs multiple times, once for each input item. Use ‘Execute Once’ in the node settings if you want to run it only once.', location: 'outputPane', }, ]); diff --git a/packages/editor-ui/src/utils/nodeViewUtils.ts b/packages/editor-ui/src/utils/nodeViewUtils.ts index 4b37001b32..21be904303 100644 --- a/packages/editor-ui/src/utils/nodeViewUtils.ts +++ b/packages/editor-ui/src/utils/nodeViewUtils.ts @@ -1223,7 +1223,7 @@ export function getGenericHints({ if (!executeOnce) { nodeHints.push({ message: - "The operation is performed for each input item. Use the 'Execute Once' setting to execute it only once for the first input item.", + 'This node runs multiple times, once for each input item. Use ‘Execute Once’ in the node settings if you want to run it only once.', location: 'outputPane', }); } diff --git a/packages/nodes-base/nodes/HttpRequest/V3/HttpRequestV3.node.ts b/packages/nodes-base/nodes/HttpRequest/V3/HttpRequestV3.node.ts index ce18976d50..6d01c25502 100644 --- a/packages/nodes-base/nodes/HttpRequest/V3/HttpRequestV3.node.ts +++ b/packages/nodes-base/nodes/HttpRequest/V3/HttpRequestV3.node.ts @@ -2149,7 +2149,7 @@ export class HttpRequestV3 implements INodeType { [ { message: - "The result has a 'data' property which contains an array of items, you can split this array into separate items by using the 'Split Out' node", + 'To split the contents of ‘data’ into separate items for easier processing, add a ‘Spilt Out’ node after this one', location: 'outputPane', }, ],