From ff2dd2275d77263f42fd8c8c9282b0d4db9ea420 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Sun, 10 Jan 2021 15:50:38 +0100 Subject: [PATCH] Bugs Fixed --- .../Superalgos/Schemas/Docs-Concepts/vaina2.json | 1 - .../Docs-Concepts/{vaina.json => vaina3.json} | 3 +-- .../Superalgos/Schemas/Docs-Concepts/vaina4.json | 12 ++++++++++++ .../Superalgos/Schemas/Docs-Concepts/vaina5.json | 12 ++++++++++++ .../UI/Spaces/Docs-Space/CommandInterface.js | 10 +++++----- 5 files changed, 30 insertions(+), 8 deletions(-) rename Projects/Superalgos/Schemas/Docs-Concepts/{vaina.json => vaina3.json} (88%) create mode 100644 Projects/Superalgos/Schemas/Docs-Concepts/vaina4.json create mode 100644 Projects/Superalgos/Schemas/Docs-Concepts/vaina5.json diff --git a/Projects/Superalgos/Schemas/Docs-Concepts/vaina2.json b/Projects/Superalgos/Schemas/Docs-Concepts/vaina2.json index 287af2767..6613643c8 100644 --- a/Projects/Superalgos/Schemas/Docs-Concepts/vaina2.json +++ b/Projects/Superalgos/Schemas/Docs-Concepts/vaina2.json @@ -1,5 +1,4 @@ { - "created": true, "type": "Vaina2", "definition": { "text": "Write here the summary / definition of this Concept." diff --git a/Projects/Superalgos/Schemas/Docs-Concepts/vaina.json b/Projects/Superalgos/Schemas/Docs-Concepts/vaina3.json similarity index 88% rename from Projects/Superalgos/Schemas/Docs-Concepts/vaina.json rename to Projects/Superalgos/Schemas/Docs-Concepts/vaina3.json index 777d2ca5d..d37e3b588 100644 --- a/Projects/Superalgos/Schemas/Docs-Concepts/vaina.json +++ b/Projects/Superalgos/Schemas/Docs-Concepts/vaina3.json @@ -1,6 +1,5 @@ { - "created": true, - "type": "Vaina", + "type": "Vaina3", "definition": { "text": "Write here the summary / definition of this Concept." }, diff --git a/Projects/Superalgos/Schemas/Docs-Concepts/vaina4.json b/Projects/Superalgos/Schemas/Docs-Concepts/vaina4.json new file mode 100644 index 000000000..749222ced --- /dev/null +++ b/Projects/Superalgos/Schemas/Docs-Concepts/vaina4.json @@ -0,0 +1,12 @@ +{ + "type": "Vaina4", + "definition": { + "text": "Write here the summary / definition of this Concept." + }, + "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-Concepts/vaina5.json b/Projects/Superalgos/Schemas/Docs-Concepts/vaina5.json new file mode 100644 index 000000000..378f42ffe --- /dev/null +++ b/Projects/Superalgos/Schemas/Docs-Concepts/vaina5.json @@ -0,0 +1,12 @@ +{ + "type": "Vaina5", + "definition": { + "text": "Write here the summary / definition of this Concept." + }, + "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/UI/Spaces/Docs-Space/CommandInterface.js b/Projects/Superalgos/UI/Spaces/Docs-Space/CommandInterface.js index 5294e9167..2050a64c5 100644 --- a/Projects/Superalgos/UI/Spaces/Docs-Space/CommandInterface.js +++ b/Projects/Superalgos/UI/Spaces/Docs-Space/CommandInterface.js @@ -405,7 +405,7 @@ function newSuperalgosDocsCommmandInterface() { documents.push(docsSchemaDocument) } } - SCHEMAS_BY_PROJECT.get(project).array = documents + SCHEMAS_BY_PROJECT.get(project).array.docsNodeSchema = documents /* Concepts */ documents = [] @@ -420,7 +420,7 @@ function newSuperalgosDocsCommmandInterface() { documents.push(docsSchemaDocument) } } - SCHEMAS_BY_PROJECT.get(project).array = documents + SCHEMAS_BY_PROJECT.get(project).array.docsConceptSchema = documents /* Topics */ documents = [] @@ -435,7 +435,7 @@ function newSuperalgosDocsCommmandInterface() { documents.push(docsSchemaDocument) } } - SCHEMAS_BY_PROJECT.get(project).array = documents + SCHEMAS_BY_PROJECT.get(project).array.docsTopicSchema = documents /* Tutorials */ documents = [] @@ -450,7 +450,7 @@ function newSuperalgosDocsCommmandInterface() { documents.push(docsSchemaDocument) } } - SCHEMAS_BY_PROJECT.get(project).array = documents + SCHEMAS_BY_PROJECT.get(project).array.docsTutorialSchema = documents /* Books */ documents = [] @@ -465,7 +465,7 @@ function newSuperalgosDocsCommmandInterface() { documents.push(docsSchemaDocument) } } - SCHEMAS_BY_PROJECT.get(project).array = documents + SCHEMAS_BY_PROJECT.get(project).array.docsBookSchema = documents } } }