From 86e000f745b53361006c510557ce9ef752786b2f Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Tue, 29 Dec 2020 11:57:34 +0100 Subject: [PATCH] Bug fixed --- .../Schemas/Docs-Topics/nodes-001-node.json | 3 ++- .../Docs-Topics/nodes-002-node's-type.json | 3 ++- .../Docs-Topics/nodes-003-node's-name.json | 3 ++- .../Docs-Topics/nodes-004-node's-config.json | 3 ++- .../Docs-Topics/nodes-005-node's-code.json | 3 ++- .../Docs-Topics/nodes-006-node's-menu.json | 3 ++- .../nodes-007-node's-children.json | 3 ++- .../nodes-008-node's-attaching-rules.json | 3 ++- .../nodes-009-node's-referencing-rules.json | 3 ++- ...t-node.json => nodes-010-node's-icon.json} | 5 ++-- .../Docs-Topics/nodes-011-parent-node.json | 15 +++++++++++ ...t.json => nodes-012-reference-parent.json} | 2 +- .../UI/Spaces/Docs-Space/DocsSpace.js | 26 +++++++++---------- 13 files changed, 50 insertions(+), 25 deletions(-) rename Projects/Superalgos/Schemas/Docs-Topics/{nodes-010-parent-node.json => nodes-010-node's-icon.json} (63%) create mode 100644 Projects/Superalgos/Schemas/Docs-Topics/nodes-011-parent-node.json rename Projects/Superalgos/Schemas/Docs-Topics/{nodes-011-reference-parent.json => nodes-012-reference-parent.json} (93%) diff --git a/Projects/Superalgos/Schemas/Docs-Topics/nodes-001-node.json b/Projects/Superalgos/Schemas/Docs-Topics/nodes-001-node.json index 4c4b453c8..441deeddd 100644 --- a/Projects/Superalgos/Schemas/Docs-Topics/nodes-001-node.json +++ b/Projects/Superalgos/Schemas/Docs-Topics/nodes-001-node.json @@ -3,7 +3,8 @@ "pageNumber": "1", "type": "Node", "definition": { - "text": "Write here a summary for this topic page." + "text": "Nodes are objects that exist within workspaces and can be visualized at the Design Space. Nodes can be attached to each other forming hierarchical structures. ", + "updated": 1609235686573 }, "paragraphs": [ { diff --git a/Projects/Superalgos/Schemas/Docs-Topics/nodes-002-node's-type.json b/Projects/Superalgos/Schemas/Docs-Topics/nodes-002-node's-type.json index 947d9db91..b5e4b4dc5 100644 --- a/Projects/Superalgos/Schemas/Docs-Topics/nodes-002-node's-type.json +++ b/Projects/Superalgos/Schemas/Docs-Topics/nodes-002-node's-type.json @@ -3,7 +3,8 @@ "pageNumber": "2", "type": "Node's Type", "definition": { - "text": "Write here a summary for this topic page." + "text": "Each Node is of a certain type. It's type defines what the Node can be used for, the Node's Menu, to which other nodes it can attach to, and may other properties that are dependent on the Node's Type At the Design Space, the type of the node is displayed below the Node's Icon. ", + "updated": 1609236288974 }, "paragraphs": [ { diff --git a/Projects/Superalgos/Schemas/Docs-Topics/nodes-003-node's-name.json b/Projects/Superalgos/Schemas/Docs-Topics/nodes-003-node's-name.json index 2704a37e9..1e698a0e9 100644 --- a/Projects/Superalgos/Schemas/Docs-Topics/nodes-003-node's-name.json +++ b/Projects/Superalgos/Schemas/Docs-Topics/nodes-003-node's-name.json @@ -3,7 +3,8 @@ "pageNumber": "3", "type": "Node's Name", "definition": { - "text": "Write here a summary for this topic page." + "text": "Each instance of a Node might have a user-assigned name, or a default name assigned to it by the system at the moment the Node was created. At the Design Space the name of a Node appears above the Node's Icon. ", + "updated": 1609236312410 }, "paragraphs": [ { diff --git a/Projects/Superalgos/Schemas/Docs-Topics/nodes-004-node's-config.json b/Projects/Superalgos/Schemas/Docs-Topics/nodes-004-node's-config.json index a57742220..97c3ea44a 100644 --- a/Projects/Superalgos/Schemas/Docs-Topics/nodes-004-node's-config.json +++ b/Projects/Superalgos/Schemas/Docs-Topics/nodes-004-node's-config.json @@ -3,7 +3,8 @@ "pageNumber": "4", "type": "Node's Config", "definition": { - "text": "Write here a summary for this topic page." + "text": "Nodes might have a config -only when needed- that it is used to store information related to that node. When they do, they usually allow users to access it via one of the Node's Menu items. A Node's Config is later used by Tasks or Bots during their processing.", + "updated": 1609236556444 }, "paragraphs": [ { diff --git a/Projects/Superalgos/Schemas/Docs-Topics/nodes-005-node's-code.json b/Projects/Superalgos/Schemas/Docs-Topics/nodes-005-node's-code.json index c66aeb8e3..840bc2565 100644 --- a/Projects/Superalgos/Schemas/Docs-Topics/nodes-005-node's-code.json +++ b/Projects/Superalgos/Schemas/Docs-Topics/nodes-005-node's-code.json @@ -3,7 +3,8 @@ "pageNumber": "5", "type": "Node's Code", "definition": { - "text": "Write here a summary for this topic page." + "text": "Nodes might have code inside of them. When they do, they usually allow users to access and modify it via one of the Node's Menu items. The code stored at a node is later used at Tasks or Bots during their processing.", + "updated": 1609236689695 }, "paragraphs": [ { diff --git a/Projects/Superalgos/Schemas/Docs-Topics/nodes-006-node's-menu.json b/Projects/Superalgos/Schemas/Docs-Topics/nodes-006-node's-menu.json index cfd744088..95ce23ee7 100644 --- a/Projects/Superalgos/Schemas/Docs-Topics/nodes-006-node's-menu.json +++ b/Projects/Superalgos/Schemas/Docs-Topics/nodes-006-node's-menu.json @@ -3,7 +3,8 @@ "pageNumber": "6", "type": "Node's Menu", "definition": { - "text": "Write here a summary for this topic page." + "text": "Nodes usually have a menu that allows users to interact with the node. Each Node's Type can have a different set of menu items. ", + "updated": 1609236892270 }, "paragraphs": [ { diff --git a/Projects/Superalgos/Schemas/Docs-Topics/nodes-007-node's-children.json b/Projects/Superalgos/Schemas/Docs-Topics/nodes-007-node's-children.json index 1ee54a442..4412ce25c 100644 --- a/Projects/Superalgos/Schemas/Docs-Topics/nodes-007-node's-children.json +++ b/Projects/Superalgos/Schemas/Docs-Topics/nodes-007-node's-children.json @@ -3,7 +3,8 @@ "pageNumber": "7", "type": "Node's Children", "definition": { - "text": "Write here a summary for this topic page." + "text": "Nodes might have children. When they do, they usually offer the User a way to create it's children via the Node's Menu. A Node's Children might end up attached to the Parent Node, but that is not always the case.", + "updated": 1609237042862 }, "paragraphs": [ { diff --git a/Projects/Superalgos/Schemas/Docs-Topics/nodes-008-node's-attaching-rules.json b/Projects/Superalgos/Schemas/Docs-Topics/nodes-008-node's-attaching-rules.json index a4de7cc7c..2ff094726 100644 --- a/Projects/Superalgos/Schemas/Docs-Topics/nodes-008-node's-attaching-rules.json +++ b/Projects/Superalgos/Schemas/Docs-Topics/nodes-008-node's-attaching-rules.json @@ -3,7 +3,8 @@ "pageNumber": "8", "type": "Node's Attaching Rules", "definition": { - "text": "Write here a summary for this topic page." + "text": "Each Node's Type can have a set of rules that defines to which Node's Type it can attach itself to.", + "updated": 1609237513121 }, "paragraphs": [ { diff --git a/Projects/Superalgos/Schemas/Docs-Topics/nodes-009-node's-referencing-rules.json b/Projects/Superalgos/Schemas/Docs-Topics/nodes-009-node's-referencing-rules.json index f23ce4e4e..6ec180258 100644 --- a/Projects/Superalgos/Schemas/Docs-Topics/nodes-009-node's-referencing-rules.json +++ b/Projects/Superalgos/Schemas/Docs-Topics/nodes-009-node's-referencing-rules.json @@ -3,7 +3,8 @@ "pageNumber": "9", "type": "Node's Referencing Rules", "definition": { - "text": "Write here a summary for this topic page." + "text": "Each Node's Type can have a set of rules that defines with which Node's Type it stablish a reference.", + "updated": 1609237566388 }, "paragraphs": [ { diff --git a/Projects/Superalgos/Schemas/Docs-Topics/nodes-010-parent-node.json b/Projects/Superalgos/Schemas/Docs-Topics/nodes-010-node's-icon.json similarity index 63% rename from Projects/Superalgos/Schemas/Docs-Topics/nodes-010-parent-node.json rename to Projects/Superalgos/Schemas/Docs-Topics/nodes-010-node's-icon.json index 59f6cef74..25139a6af 100644 --- a/Projects/Superalgos/Schemas/Docs-Topics/nodes-010-parent-node.json +++ b/Projects/Superalgos/Schemas/Docs-Topics/nodes-010-node's-icon.json @@ -1,9 +1,10 @@ { "topic": "Nodes", "pageNumber": "10", - "type": "Parent Node", + "type": "Node's Icon", "definition": { - "text": "Write here a summary for this topic page." + "text": "Each Node must have a icon, that is the one that represents the Node at the Desing Space.", + "updated": 1609237637368 }, "paragraphs": [ { diff --git a/Projects/Superalgos/Schemas/Docs-Topics/nodes-011-parent-node.json b/Projects/Superalgos/Schemas/Docs-Topics/nodes-011-parent-node.json new file mode 100644 index 000000000..4f31aaef6 --- /dev/null +++ b/Projects/Superalgos/Schemas/Docs-Topics/nodes-011-parent-node.json @@ -0,0 +1,15 @@ +{ + "topic": "Nodes", + "pageNumber": "11", + "type": "Parent Node", + "definition": { + "text": "The Parent Node of a certain Node A, is the Node who was used to create A. Nodes are automatically attached to their Parent Node. Not all nodes have a Parent Node. ", + "updated": 1609239430453 + }, + "paragraphs": [ + { + "style": "Text", + "text": "Left click and Edit to enter edit mode and change this text. ENTER to write new paragraphs. ESC to exit edit mode." + } + ] +} \ No newline at end of file diff --git a/Projects/Superalgos/Schemas/Docs-Topics/nodes-011-reference-parent.json b/Projects/Superalgos/Schemas/Docs-Topics/nodes-012-reference-parent.json similarity index 93% rename from Projects/Superalgos/Schemas/Docs-Topics/nodes-011-reference-parent.json rename to Projects/Superalgos/Schemas/Docs-Topics/nodes-012-reference-parent.json index 3f7c835e5..80464a23f 100644 --- a/Projects/Superalgos/Schemas/Docs-Topics/nodes-011-reference-parent.json +++ b/Projects/Superalgos/Schemas/Docs-Topics/nodes-012-reference-parent.json @@ -1,6 +1,6 @@ { "topic": "Nodes", - "pageNumber": "11", + "pageNumber": "12", "type": "Reference Parent", "definition": { "text": "Write here a summary for this topic page." diff --git a/Projects/Superalgos/UI/Spaces/Docs-Space/DocsSpace.js b/Projects/Superalgos/UI/Spaces/Docs-Space/DocsSpace.js index 2ac242244..49bed5825 100644 --- a/Projects/Superalgos/UI/Spaces/Docs-Space/DocsSpace.js +++ b/Projects/Superalgos/UI/Spaces/Docs-Space/DocsSpace.js @@ -2005,7 +2005,7 @@ function newSuperalgosDocSpace() { text: "" + arrayItem.pageNumber + '. ' + arrayItem.type + "" } autoGeneratedParagraphIndex++ - HTML = HTML + '

' + paragraph.text + '

' + HTML = HTML + '

' + paragraph.text + '

' } } @@ -3725,7 +3725,7 @@ function newSuperalgosDocSpace() { if (cleanPhrase4 !== excludedType) { taggedText = taggedText + phrase4.replace(cleanPhrase4, TAGGING_STRING_SEPARATOR + 'Node' + '|' + cleanPhrase4 + '|' + project + TAGGING_STRING_SEPARATOR) + ' ' } else { - taggedText = taggedText + cleanPhrase4 + ' ' + taggedText = taggedText + phrase4 + ' ' } i = i + 3 found = true @@ -3735,7 +3735,7 @@ function newSuperalgosDocSpace() { if (cleanPhrase3 !== excludedType) { taggedText = taggedText + phrase3.replace(cleanPhrase3, TAGGING_STRING_SEPARATOR + 'Node' + '|' + cleanPhrase3 + '|' + project + TAGGING_STRING_SEPARATOR) + ' ' } else { - taggedText = taggedText + cleanPhrase3 + ' ' + taggedText = taggedText + phrase3 + ' ' } i = i + 2 found = true @@ -3745,7 +3745,7 @@ function newSuperalgosDocSpace() { if (cleanPhrase2 !== excludedType) { taggedText = taggedText + phrase2.replace(cleanPhrase2, TAGGING_STRING_SEPARATOR + 'Node' + '|' + cleanPhrase2 + '|' + project + TAGGING_STRING_SEPARATOR) + ' ' } else { - taggedText = taggedText + cleanPhrase2 + ' ' + taggedText = taggedText + phrase2 + ' ' } i = i + 1 found = true @@ -3755,7 +3755,7 @@ function newSuperalgosDocSpace() { if (cleanPhrase1 !== excludedType) { taggedText = taggedText + phrase1.replace(cleanPhrase1, TAGGING_STRING_SEPARATOR + 'Node' + '|' + cleanPhrase1 + '|' + project + TAGGING_STRING_SEPARATOR) + ' ' } else { - taggedText = taggedText + cleanPhrase1 + ' ' + taggedText = taggedText + phrase1 + ' ' } found = true break @@ -3766,7 +3766,7 @@ function newSuperalgosDocSpace() { if (cleanPhrase4 !== excludedType) { taggedText = taggedText + phrase4.replace(cleanPhrase4, TAGGING_STRING_SEPARATOR + 'Concept' + '|' + cleanPhrase4 + '|' + project + TAGGING_STRING_SEPARATOR) + ' ' } else { - taggedText = taggedText + cleanPhrase4 + ' ' + taggedText = taggedText + phrase4 + ' ' } i = i + 3 found = true @@ -3776,7 +3776,7 @@ function newSuperalgosDocSpace() { if (cleanPhrase3 !== excludedType) { taggedText = taggedText + phrase3.replace(cleanPhrase3, TAGGING_STRING_SEPARATOR + 'Concept' + '|' + cleanPhrase3 + '|' + project + TAGGING_STRING_SEPARATOR) + ' ' } else { - taggedText = taggedText + cleanPhrase3 + ' ' + taggedText = taggedText + phrase3 + ' ' } i = i + 2 found = true @@ -3786,7 +3786,7 @@ function newSuperalgosDocSpace() { if (cleanPhrase2 !== excludedType) { taggedText = taggedText + phrase2.replace(cleanPhrase2, TAGGING_STRING_SEPARATOR + 'Concept' + '|' + cleanPhrase2 + '|' + project + TAGGING_STRING_SEPARATOR) + ' ' } else { - taggedText = taggedText + cleanPhrase2 + ' ' + taggedText = taggedText + phrase2 + ' ' } i = i + 1 found = true @@ -3796,7 +3796,7 @@ function newSuperalgosDocSpace() { if (cleanPhrase1 !== excludedType) { taggedText = taggedText + phrase1.replace(cleanPhrase1, TAGGING_STRING_SEPARATOR + 'Concept' + '|' + cleanPhrase1 + '|' + project + TAGGING_STRING_SEPARATOR) + ' ' } else { - taggedText = taggedText + cleanPhrase1 + ' ' + taggedText = taggedText + phrase1 + ' ' } found = true break @@ -3807,7 +3807,7 @@ function newSuperalgosDocSpace() { if (cleanPhrase4 !== excludedType) { taggedText = taggedText + phrase4.replace(cleanPhrase4, TAGGING_STRING_SEPARATOR + 'Topic' + '|' + cleanPhrase4 + '|' + project + TAGGING_STRING_SEPARATOR) + ' ' } else { - taggedText = taggedText + cleanPhrase4 + ' ' + taggedText = taggedText + phrase4 + ' ' } i = i + 3 found = true @@ -3817,7 +3817,7 @@ function newSuperalgosDocSpace() { if (cleanPhrase3 !== excludedType) { taggedText = taggedText + phrase3.replace(cleanPhrase3, TAGGING_STRING_SEPARATOR + 'Topic' + '|' + cleanPhrase3 + '|' + project + TAGGING_STRING_SEPARATOR) + ' ' } else { - taggedText = taggedText + cleanPhrase3 + ' ' + taggedText = taggedText + phrase3 + ' ' } i = i + 2 found = true @@ -3827,7 +3827,7 @@ function newSuperalgosDocSpace() { if (cleanPhrase2 !== excludedType) { taggedText = taggedText + phrase2.replace(cleanPhrase2, TAGGING_STRING_SEPARATOR + 'Topic' + '|' + cleanPhrase2 + '|' + project + TAGGING_STRING_SEPARATOR) + ' ' } else { - taggedText = taggedText + cleanPhrase2 + ' ' + taggedText = taggedText + phrase2 + ' ' } i = i + 1 found = true @@ -3837,7 +3837,7 @@ function newSuperalgosDocSpace() { if (cleanPhrase1 !== excludedType) { taggedText = taggedText + phrase1.replace(cleanPhrase1, TAGGING_STRING_SEPARATOR + 'Topic' + '|' + cleanPhrase1 + '|' + project + TAGGING_STRING_SEPARATOR) + ' ' } else { - taggedText = taggedText + cleanPhrase1 + ' ' + taggedText = taggedText + phrase1 + ' ' } found = true break