From 84154843c21d0722c820e0bed43cdcf208361e80 Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Fri, 26 Jul 2019 11:27:46 +0200 Subject: [PATCH] :lipstick: Add icons to all nodes which did not have any --- packages/editor-ui/src/main.ts | 18 ++++++++++++++++-- packages/nodes-base/nodes/If.node.ts | 1 + packages/nodes-base/nodes/Merge.node.ts | 2 +- packages/nodes-base/nodes/NoOp.node.ts | 4 ++-- .../nodes-base/nodes/ReadBinaryFile.node.ts | 1 + .../nodes-base/nodes/ReadBinaryFiles.node.ts | 1 + .../nodes-base/nodes/ReadFileFromUrl.node.ts | 2 +- packages/nodes-base/nodes/ReadPdf.node.ts | 1 + packages/nodes-base/nodes/RenameKeys.node.ts | 1 + packages/nodes-base/nodes/Set.node.ts | 1 + .../nodes-base/nodes/SplitInBatches.node.ts | 1 + packages/nodes-base/nodes/Start.node.ts | 1 + .../nodes-base/nodes/WriteBinaryFile.node.ts | 2 +- 13 files changed, 29 insertions(+), 7 deletions(-) diff --git a/packages/editor-ui/src/main.ts b/packages/editor-ui/src/main.ts index 3c5b9786ec..3ca70d1dd5 100644 --- a/packages/editor-ui/src/main.ts +++ b/packages/editor-ui/src/main.ts @@ -17,24 +17,29 @@ import { faAngleDown, faAngleRight, faAngleUp, + faArrowRight, faAt, faBug, faCalendar, faCheck, faCode, + faCodeBranch, faCog, faCogs, faClone, faCloud, faCopy, faDotCircle, + faEdit, faEnvelope, faExclamationTriangle, faExternalLinkAlt, faFile, faFileDownload, + faFileExport, + faFileImport, + faFilePdf, faFolderOpen, - faGlobe, faHdd, faHourglass, faImage, @@ -42,6 +47,7 @@ import { faInfo, faInfoCircle, faKey, + faMapSigns, faNetworkWired, faPause, faPen, @@ -63,6 +69,7 @@ import { faTable, faTasks, faTerminal, + faThLarge, faTimes, faTrash, faUndo, @@ -76,24 +83,29 @@ library.add(faAngleDoubleLeft); library.add(faAngleDown); library.add(faAngleRight); library.add(faAngleUp); +library.add(faArrowRight); library.add(faAt); library.add(faBug); library.add(faCalendar); library.add(faCheck); library.add(faCode); +library.add(faCodeBranch); library.add(faCog); library.add(faCogs); library.add(faClone); library.add(faCloud); library.add(faCopy); library.add(faDotCircle); +library.add(faEdit); library.add(faEnvelope); library.add(faExclamationTriangle); library.add(faExternalLinkAlt); library.add(faFile); library.add(faFileDownload); +library.add(faFileExport); +library.add(faFileImport); +library.add(faFilePdf); library.add(faFolderOpen); -library.add(faGlobe); library.add(faHdd); library.add(faHourglass); library.add(faImage); @@ -101,6 +113,7 @@ library.add(faInbox); library.add(faInfo); library.add(faInfoCircle); library.add(faKey); +library.add(faMapSigns); library.add(faNetworkWired); library.add(faPause); library.add(faPen); @@ -122,6 +135,7 @@ library.add(faSyncAlt); library.add(faTable); library.add(faTasks); library.add(faTerminal); +library.add(faThLarge); library.add(faTimes); library.add(faTrash); library.add(faUndo); diff --git a/packages/nodes-base/nodes/If.node.ts b/packages/nodes-base/nodes/If.node.ts index 3f018cc0fb..34241a37ac 100644 --- a/packages/nodes-base/nodes/If.node.ts +++ b/packages/nodes-base/nodes/If.node.ts @@ -12,6 +12,7 @@ export class If implements INodeType { description: INodeTypeDescription = { displayName: 'IF', name: 'if', + icon: 'fa:map-signs', group: ['transform'], version: 1, description: 'Splits a stream depending on defined compare operations.', diff --git a/packages/nodes-base/nodes/Merge.node.ts b/packages/nodes-base/nodes/Merge.node.ts index a2f11d8399..5a63b5faca 100644 --- a/packages/nodes-base/nodes/Merge.node.ts +++ b/packages/nodes-base/nodes/Merge.node.ts @@ -11,7 +11,7 @@ export class Merge implements INodeType { description: INodeTypeDescription = { displayName: 'Merge', name: 'merge', - icon: 'fa:clone', + icon: 'fa:code-branch', group: ['transform'], version: 1, description: 'Merges data of multiple streams once data of both is available', diff --git a/packages/nodes-base/nodes/NoOp.node.ts b/packages/nodes-base/nodes/NoOp.node.ts index e3be41febf..3c9a97af6a 100644 --- a/packages/nodes-base/nodes/NoOp.node.ts +++ b/packages/nodes-base/nodes/NoOp.node.ts @@ -8,9 +8,9 @@ import { export class NoOp implements INodeType { description: INodeTypeDescription = { - displayName: 'No Operation', + displayName: 'No Operation, do nothing', name: 'noOp', - icon: 'fa:pen', + icon: 'fa:arrow-right', group: ['organization'], version: 1, description: 'No Operation', diff --git a/packages/nodes-base/nodes/ReadBinaryFile.node.ts b/packages/nodes-base/nodes/ReadBinaryFile.node.ts index 37e68e9e4b..6074657621 100644 --- a/packages/nodes-base/nodes/ReadBinaryFile.node.ts +++ b/packages/nodes-base/nodes/ReadBinaryFile.node.ts @@ -17,6 +17,7 @@ export class ReadBinaryFile implements INodeType { description: INodeTypeDescription = { displayName: 'Read Binary File', name: 'readBinaryFile', + icon: 'fa:file-import', group: ['input'], version: 1, description: 'Reads a binary file from disk', diff --git a/packages/nodes-base/nodes/ReadBinaryFiles.node.ts b/packages/nodes-base/nodes/ReadBinaryFiles.node.ts index cb383cdee7..b509c818d7 100644 --- a/packages/nodes-base/nodes/ReadBinaryFiles.node.ts +++ b/packages/nodes-base/nodes/ReadBinaryFiles.node.ts @@ -19,6 +19,7 @@ export class ReadBinaryFiles implements INodeType { description: INodeTypeDescription = { displayName: 'Read Binary Files', name: 'readBinaryFiles', + icon: 'fa:file-import', group: ['input'], version: 1, description: 'Reads binary files from disk', diff --git a/packages/nodes-base/nodes/ReadFileFromUrl.node.ts b/packages/nodes-base/nodes/ReadFileFromUrl.node.ts index 7b8a03c6ac..9ce771276d 100644 --- a/packages/nodes-base/nodes/ReadFileFromUrl.node.ts +++ b/packages/nodes-base/nodes/ReadFileFromUrl.node.ts @@ -11,7 +11,7 @@ export class ReadFileFromUrl implements INodeType { description: INodeTypeDescription = { displayName: 'Read File From Url', name: 'readFileFromUrl', - icon: 'fa:globe', + icon: 'fa:file-download', group: ['input'], version: 1, description: 'Reads a file from an URL', diff --git a/packages/nodes-base/nodes/ReadPdf.node.ts b/packages/nodes-base/nodes/ReadPdf.node.ts index f8bab29a79..c9ddfd6338 100644 --- a/packages/nodes-base/nodes/ReadPdf.node.ts +++ b/packages/nodes-base/nodes/ReadPdf.node.ts @@ -15,6 +15,7 @@ export class ReadPdf implements INodeType { description: INodeTypeDescription = { displayName: 'Read PDF', name: 'Read PDF', + icon: 'fa:file-pdf', group: ['input'], version: 1, description: 'Reads a PDF and extracts its content', diff --git a/packages/nodes-base/nodes/RenameKeys.node.ts b/packages/nodes-base/nodes/RenameKeys.node.ts index aa47a90e77..fa02b602e7 100644 --- a/packages/nodes-base/nodes/RenameKeys.node.ts +++ b/packages/nodes-base/nodes/RenameKeys.node.ts @@ -20,6 +20,7 @@ export class RenameKeys implements INodeType { description: INodeTypeDescription = { displayName: 'Rename Keys', name: 'renameKeys', + icon: 'fa:edit', group: ['transform'], version: 1, description: 'Renames keys.', diff --git a/packages/nodes-base/nodes/Set.node.ts b/packages/nodes-base/nodes/Set.node.ts index 31d173dc26..40f0698e7c 100644 --- a/packages/nodes-base/nodes/Set.node.ts +++ b/packages/nodes-base/nodes/Set.node.ts @@ -12,6 +12,7 @@ export class Set implements INodeType { description: INodeTypeDescription = { displayName: 'Set', name: 'set', + icon: 'fa:pen', group: ['input'], version: 1, description: 'Sets values on the items and removes if selected all other values.', diff --git a/packages/nodes-base/nodes/SplitInBatches.node.ts b/packages/nodes-base/nodes/SplitInBatches.node.ts index 4ec72a7e12..55a6f5d34a 100644 --- a/packages/nodes-base/nodes/SplitInBatches.node.ts +++ b/packages/nodes-base/nodes/SplitInBatches.node.ts @@ -10,6 +10,7 @@ export class SplitInBatches implements INodeType { description: INodeTypeDescription = { displayName: 'Split In Batches', name: 'splitInBatches', + icon: 'fa:th-large', group: ['organization'], version: 1, description: 'Saves the originally incoming data and with each itteration it returns a predefined amount of them.', diff --git a/packages/nodes-base/nodes/Start.node.ts b/packages/nodes-base/nodes/Start.node.ts index 5f4fbef031..20b0133c8a 100644 --- a/packages/nodes-base/nodes/Start.node.ts +++ b/packages/nodes-base/nodes/Start.node.ts @@ -10,6 +10,7 @@ export class Start implements INodeType { description: INodeTypeDescription = { displayName: 'Start', name: 'start', + icon: 'fa:play', group: ['input'], version: 1, description: 'Starts the workflow execution from this node', diff --git a/packages/nodes-base/nodes/WriteBinaryFile.node.ts b/packages/nodes-base/nodes/WriteBinaryFile.node.ts index fbb8b2170d..403c8d3a6a 100644 --- a/packages/nodes-base/nodes/WriteBinaryFile.node.ts +++ b/packages/nodes-base/nodes/WriteBinaryFile.node.ts @@ -21,7 +21,7 @@ export class WriteBinaryFile implements INodeType { description: INodeTypeDescription = { displayName: 'Write Binary File', name: 'writeBinaryFile', - icon: 'fa:save', + icon: 'fa:file-export', group: ['output'], version: 1, description: 'Writes a binary file to disk',