fix(Convert to/from binary data Node): Rename 'Move Binary Data' to 'Convert to/from binary data' (#7318)

Github issue / Community forum post (link here to close automatically):
This commit is contained in:
Elias Meire 2023-10-04 13:23:33 +02:00 committed by GitHub
parent b3fc00e045
commit 5e6c1d4f4b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 5 deletions

View file

@ -187,10 +187,10 @@ describe('Webhook Trigger node', async () => {
ndv.getters.backToCanvas().click(); ndv.getters.backToCanvas().click();
workflowPage.actions.addNodeToCanvas('Move Binary Data'); workflowPage.actions.addNodeToCanvas('Convert to/from binary data');
workflowPage.actions.zoomToFit(); workflowPage.actions.zoomToFit();
workflowPage.actions.openNode('Move Binary Data'); workflowPage.actions.openNode('Convert to/from binary data');
cy.getByTestId('parameter-input-mode').click(); cy.getByTestId('parameter-input-mode').click();
getVisibleSelect().find('.option-headline').contains('JSON to Binary').click(); getVisibleSelect().find('.option-headline').contains('JSON to Binary').click();
ndv.getters.backToCanvas().click(); ndv.getters.backToCanvas().click();

View file

@ -12,5 +12,6 @@
}, },
"subcategories": { "subcategories": {
"Core Nodes": ["Files"] "Core Nodes": ["Files"]
} },
"alias": ["Move Binary Data"]
} }

View file

@ -49,7 +49,7 @@ encodeDecodeOptions.sort((a, b) => {
export class MoveBinaryData implements INodeType { export class MoveBinaryData implements INodeType {
description: INodeTypeDescription = { description: INodeTypeDescription = {
displayName: 'Move Binary Data', displayName: 'Convert to/from binary data',
name: 'moveBinaryData', name: 'moveBinaryData',
icon: 'fa:exchange-alt', icon: 'fa:exchange-alt',
group: ['transform'], group: ['transform'],
@ -57,7 +57,7 @@ export class MoveBinaryData implements INodeType {
subtitle: '={{$parameter["mode"]==="binaryToJson" ? "Binary to JSON" : "JSON to Binary"}}', subtitle: '={{$parameter["mode"]==="binaryToJson" ? "Binary to JSON" : "JSON to Binary"}}',
description: 'Move data between binary and JSON properties', description: 'Move data between binary and JSON properties',
defaults: { defaults: {
name: 'Move Binary Data', name: 'Convert to/from binary data',
color: '#7722CC', color: '#7722CC',
}, },
inputs: ['main'], inputs: ['main'],