diff --git a/.gitignore b/.gitignore index 700abaf2e..5e754befd 100644 --- a/.gitignore +++ b/.gitignore @@ -4,7 +4,7 @@ My-Workspaces debug.log .DS_Store *.db -Projects/Superalgos/Icons/Thumbs.db +Projects/Foundations/Icons/Thumbs.db *.bat !launch-windows.bat !create-shortcut-windows.bat diff --git a/Client/WebServer/index.html b/Client/WebServer/index.html index c8b9ad9fe..b5114be9a 100644 --- a/Client/WebServer/index.html +++ b/Client/WebServer/index.html @@ -102,94 +102,94 @@ diff --git a/Client/httpInterface.js b/Client/httpInterface.js index 2aa8e5b07..a930697b6 100644 --- a/Client/httpInterface.js +++ b/Client/httpInterface.js @@ -651,7 +651,7 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE if (error !== undefined) { let docs = { - project: 'Superalgos', + project: 'Foundations', category: 'Topic', type: 'App Error - Contribution Not Sent', anchor: undefined, @@ -666,7 +666,7 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE if (error !== undefined) { let docs = { - project: 'Superalgos', + project: 'Foundations', category: 'Topic', type: 'App Error - Contribution Not Sent', anchor: undefined, @@ -779,7 +779,7 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE } else { let docs = { - project: 'Superalgos', + project: 'Foundations', category: 'Topic', type: 'App Error - Update Failed', anchor: undefined, @@ -842,7 +842,7 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE respondWithContent(JSON.stringify(global.DEFAULT_OK_RESPONSE), httpResponse) } else { let docs = { - project: 'Superalgos', + project: 'Foundations', category: 'Topic', type: 'Switching Branches - Current Branch Not Changed', anchor: undefined, diff --git a/Environment.js b/Environment.js index 793c1bdcb..8b1f83d85 100644 --- a/Environment.js +++ b/Environment.js @@ -12,7 +12,7 @@ exports.newEnvironment = function () { PATH_TO_UI: './UI', PATH_TO_DATA_FILES: './UI/Data-Files/src', PATH_TO_CLIENT: './Client/', - PATH_TO_DEFAULT_WORKSPACE: './Projects/Superalgos/Plugins/Workspaces', + PATH_TO_DEFAULT_WORKSPACE: './Projects/Foundations/Plugins/Workspaces', PATH_TO_MY_WORKSPACES: './My-Workspaces', PATH_TO_FONTS: './Client/WebServer/Fonts' } diff --git a/Launch-Scripts/create-shortcut.js b/Launch-Scripts/create-shortcut.js index 09ec86e99..33980742f 100644 --- a/Launch-Scripts/create-shortcut.js +++ b/Launch-Scripts/create-shortcut.js @@ -49,7 +49,7 @@ if (os.platform() == "win32") { let version = os.version(); if (version.includes("Ubuntu")) { // Paths and Icon for Ubuntu shortcuts - let icon = path.join( __dirname,"..", "/Projects/Superalgos/Icons/superalgos.png"); + let icon = path.join( __dirname,"..", "/Projects/Foundations/Icons/superalgos.png"); // Create .desktop shortcut file fs.writeFileSync( `${name}.desktop`, diff --git a/Projects/Education/Schemas/App-Schema/tutorial-step.json b/Projects/Education/Schemas/App-Schema/tutorial-step.json index fcf58fa48..68efc7599 100644 --- a/Projects/Education/Schemas/App-Schema/tutorial-step.json +++ b/Projects/Education/Schemas/App-Schema/tutorial-step.json @@ -36,7 +36,7 @@ "config": true }, "initialValues": { - "config": "{\"icon\": {\"name\": \"\",\"project\": \"Superalgos\"},\"position\": \"Left\",\"slider\": \"toTop\",\"pressButton\": \"\",\"docs\": {\"project\": \"Superalgos\",\"category\": \"Tutorial\",\"type\": \"\"},\"controlDocs\": {\"panel\": \"\",\"closeTutorialEditor\": false,\"page\": {\"project\": \"Superalgos\",\"category\": \"\",\"type\": \"\"}}}" + "config": "{\"icon\": {\"name\": \"\",\"project\": \"Foundation\"},\"position\": \"Left\",\"slider\": \"toTop\",\"pressButton\": \"\",\"docs\": {\"project\": \"Foundation\",\"category\": \"Tutorial\",\"type\": \"\"},\"controlDocs\": {\"panel\": \"\",\"closeTutorialEditor\": false,\"page\": {\"project\": \"Foundation\",\"category\": \"\",\"type\": \"\"}}}" }, "referencingRules": { "compatibleTypes": "->*Any Node*->", diff --git a/Projects/Education/Schemas/App-Schema/tutorial-topic.json b/Projects/Education/Schemas/App-Schema/tutorial-topic.json index e20a1b22b..08c626765 100644 --- a/Projects/Education/Schemas/App-Schema/tutorial-topic.json +++ b/Projects/Education/Schemas/App-Schema/tutorial-topic.json @@ -48,7 +48,7 @@ "config": true }, "initialValues": { - "config": "{\"icon\": {\"name\": \"\",\"project\": \"Superalgos\"},\"position\": \"Left\",\"slider\": \"toTop\",\"pressButton\": \"\",\"docs\": {\"project\": \"Superalgos\",\"category\": \"Tutorial\",\"type\": \"\"},\"controlDocs\": {\"panel\": \"\",\"closeTutorialEditor\": false,\"page\": {\"project\": \"Superalgos\",\"category\": \"\",\"type\": \"\"}}}" + "config": "{\"icon\": {\"name\": \"\",\"project\": \"Foundation\"},\"position\": \"Left\",\"slider\": \"toTop\",\"pressButton\": \"\",\"docs\": {\"project\": \"Foundation\",\"category\": \"Tutorial\",\"type\": \"\"},\"controlDocs\": {\"panel\": \"\",\"closeTutorialEditor\": false,\"page\": {\"project\": \"Foundation\",\"category\": \"\",\"type\": \"\"}}}" }, "referencingRules": { "compatibleTypes": "->*Any Node*->", diff --git a/Projects/Education/Schemas/App-Schema/tutorial.json b/Projects/Education/Schemas/App-Schema/tutorial.json index 0c564c964..9c743b20d 100644 --- a/Projects/Education/Schemas/App-Schema/tutorial.json +++ b/Projects/Education/Schemas/App-Schema/tutorial.json @@ -57,7 +57,7 @@ "config": true }, "initialValues": { - "config": "{\"icon\": {\"name\": \"\",\"project\": \"Superalgos\"},\"position\": \"Left\",\"slider\": \"toTop\",\"pressButton\": \"\",\"docs\": {\"project\": \"Superalgos\",\"category\": \"Tutorial\",\"type\": \"\"},\"controlDocs\": {\"panel\": \"\",\"closeTutorialEditor\": false,\"page\": {\"project\": \"Superalgos\",\"category\": \"\",\"type\": \"\"}}}" + "config": "{\"icon\": {\"name\": \"\",\"project\": \"Foundation\"},\"position\": \"Left\",\"slider\": \"toTop\",\"pressButton\": \"\",\"docs\": {\"project\": \"Foundation\",\"category\": \"Tutorial\",\"type\": \"\"},\"controlDocs\": {\"panel\": \"\",\"closeTutorialEditor\": false,\"page\": {\"project\": \"Foundation\",\"category\": \"\",\"type\": \"\"}}}" }, "isTitleAllwaysVisible": true, "isHierarchyHead": true, diff --git a/Projects/Education/Schemas/Docs-Nodes/T/Tutorial/Tutorial/tutorial.json b/Projects/Education/Schemas/Docs-Nodes/T/Tutorial/Tutorial/tutorial.json index 7b372ab67..fa6d3ff2d 100644 --- a/Projects/Education/Schemas/Docs-Nodes/T/Tutorial/Tutorial/tutorial.json +++ b/Projects/Education/Schemas/Docs-Nodes/T/Tutorial/Tutorial/tutorial.json @@ -107,7 +107,7 @@ }, { "style": "Json", - "text": "\"icon\": {\n \"name\": \"balance\",\n \"project\": \"Superalgos\"\n }", + "text": "\"icon\": {\n \"name\": \"balance\",\n \"project\": \"Foundation\"\n }", "updated": 1613840669552 }, { @@ -200,7 +200,7 @@ }, { "style": "Json", - "text": "\"docs\": {\n \"project\": \"Superalgos\",\n \"category\": \"Tutorial\",\n \"type\": \"Tutorial Step - Scales' Best-Kept Secrets\"\n }", + "text": "\"docs\": {\n \"project\": \"Foundation\",\n \"category\": \"Tutorial\",\n \"type\": \"Tutorial Step - Scales' Best-Kept Secrets\"\n }", "updated": 1613842164831 }, { @@ -283,7 +283,7 @@ }, { "style": "Json", - "text": "\"controlDocs\": {\n \"panel\": \"Open\",\n \"page\": {\n \"project\": \"Superalgos\",\n \"category\": \"Topic\",\n \"type\": \"Syntax Overview\",\n \"anchor\": \"Previous Property\"\n }\n }", + "text": "\"controlDocs\": {\n \"panel\": \"Open\",\n \"page\": {\n \"project\": \"Foundation\",\n \"category\": \"Topic\",\n \"type\": \"Syntax Overview\",\n \"anchor\": \"Previous Property\"\n }\n }", "updated": 1617649170254 }, { diff --git a/Projects/Education/UI/Function-Libraries/ActionSwitch.js b/Projects/Education/UI/Function-Libraries/ActionSwitch.js index aa14e6591..03bf636ca 100644 --- a/Projects/Education/UI/Function-Libraries/ActionSwitch.js +++ b/Projects/Education/UI/Function-Libraries/ActionSwitch.js @@ -19,7 +19,7 @@ function newEducationActionSwitch() { async function executeAction(action) { switch (action.name) { case 'Action Name': { - // Example: return UI.projects.superalgos.functionLibraries.onFocus.getNodeThatIsOnFocus(action.node) + // Example: return UI.projects.foundations.functionLibraries.onFocus.getNodeThatIsOnFocus(action.node) } } } diff --git a/Projects/Education/UI/Spaces/Docs-Space/CommandInterface.js b/Projects/Education/UI/Spaces/Docs-Space/CommandInterface.js index 08b425cf3..3d8399203 100644 --- a/Projects/Education/UI/Spaces/Docs-Space/CommandInterface.js +++ b/Projects/Education/UI/Spaces/Docs-Space/CommandInterface.js @@ -1,4 +1,4 @@ -function newSuperalgosDocsCommmandInterface() { +function newFoundationsDocsCommmandInterface() { let thisObject = { command: undefined, detectCommands: detectCommands, @@ -30,7 +30,7 @@ function newSuperalgosDocsCommmandInterface() { function checkContributeCommand() { if (UI.projects.education.spaces.docsSpace.commandInterface.command.toLowerCase() === 'app.help app.contribute') { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'App Contribute Command') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'App Contribute Command') return } if (UI.projects.education.spaces.docsSpace.commandInterface.command.indexOf('App.Contribute') !== 0 && UI.projects.education.spaces.docsSpace.commandInterface.command.indexOf('app.contribute') !== 0) { return 'Not Contribute Commands' } @@ -42,23 +42,23 @@ function newSuperalgosDocsCommmandInterface() { } /* Find the Username and Password */ - let apisNode = UI.projects.superalgos.spaces.designSpace.workspace.getHierarchyHeadByNodeType('APIs') + let apisNode = UI.projects.foundations.spaces.designSpace.workspace.getHierarchyHeadByNodeType('APIs') if (apisNode === undefined) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'App Error - Github Credentials Missing', 'Anchor Github Credentials Missing') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'App Error - Github Credentials Missing', 'Anchor Github Credentials Missing') return } if (apisNode.githubAPI === undefined) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'App Error - Github Credentials Missing', 'Anchor Github Credentials Missing') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'App Error - Github Credentials Missing', 'Anchor Github Credentials Missing') return } let config = JSON.parse(apisNode.githubAPI.config) if (config.username === undefined || config.username === "") { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'App Error - Github Credentials Missing', 'Anchor Github Credentials Missing') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'App Error - Github Credentials Missing', 'Anchor Github Credentials Missing') return } if (config.token === undefined || config.token === "") { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'App Error - Github Credentials Missing', 'Anchor Github Credentials Missing') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'App Error - Github Credentials Missing', 'Anchor Github Credentials Missing') return } @@ -75,7 +75,7 @@ function newSuperalgosDocsCommmandInterface() { UI.projects.education.spaces.docsSpace.contributionsBranch , onResponse) - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'App Message - Creating Pull Request') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'App Message - Creating Pull Request') return @@ -83,7 +83,7 @@ function newSuperalgosDocsCommmandInterface() { /* Lets check the result of the call through the http interface */ data = JSON.parse(data) if (err.result === GLOBAL.DEFAULT_OK_RESPONSE.result && data.result === GLOBAL.DEFAULT_OK_RESPONSE.result) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'App Message - Contribution Done') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'App Message - Contribution Done') } else { UI.projects.education.spaces.docsSpace.navigateTo( data.docs.project, @@ -99,13 +99,13 @@ function newSuperalgosDocsCommmandInterface() { function checkUpdateCommand() { if (UI.projects.education.spaces.docsSpace.commandInterface.command.toLowerCase() === 'app.help app.update') { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'App Update Command') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'App Update Command') return } if (UI.projects.education.spaces.docsSpace.commandInterface.command.indexOf('App.Update') !== 0 && UI.projects.education.spaces.docsSpace.commandInterface.command.indexOf('app.update') !== 0) { return 'Not Update Commands' } httpRequest(undefined, 'App/Update/' + UI.projects.education.spaces.docsSpace.currentBranch, onResponse) - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'App Message - Updating Your Local App') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'App Message - Updating Your Local App') return @@ -114,9 +114,9 @@ function newSuperalgosDocsCommmandInterface() { data = JSON.parse(data) if (err.result === GLOBAL.DEFAULT_OK_RESPONSE.result && data.result === GLOBAL.CUSTOM_OK_RESPONSE.result) { if (data.message.summary.changes + data.message.summary.deletions + data.message.summary.insertions > 0) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'App Message - Update Done - New Version Found') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'App Message - Update Done - New Version Found') } else { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'App Message - Update Done - Already Up-To-Date') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'App Message - Update Done - Already Up-To-Date') } } else { UI.projects.education.spaces.docsSpace.navigateTo( @@ -144,7 +144,7 @@ function newSuperalgosDocsCommmandInterface() { function checkHelpCommand() { if (UI.projects.education.spaces.docsSpace.commandInterface.command.toLowerCase() === 'docs.help') { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Help Command') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Help Command') return } return 'Not Help Command' @@ -152,7 +152,7 @@ function newSuperalgosDocsCommmandInterface() { function checkGotoCommand() { if (UI.projects.education.spaces.docsSpace.commandInterface.command.toLowerCase() === 'docs.help docs.goto') { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Goto Command') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Goto Command') return } if (UI.projects.education.spaces.docsSpace.commandInterface.command.indexOf('Docs.Goto') !== 0 && UI.projects.education.spaces.docsSpace.commandInterface.command.indexOf('docs.goto') !== 0) { return 'Not Goto Command' } @@ -160,7 +160,7 @@ function newSuperalgosDocsCommmandInterface() { let splittedCommand = UI.projects.education.spaces.docsSpace.commandInterface.command.split(' ') if (splittedCommand[1] === undefined) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Too Few Parameters', 'Anchor Too Few Parameters') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Too Few Parameters', 'Anchor Too Few Parameters') return } let secondaryCommand = UI.projects.education.spaces.docsSpace.commandInterface.command.substring(UI.projects.education.spaces.docsSpace.commandInterface.command.indexOf(' ') + 1, UI.projects.education.spaces.docsSpace.commandInterface.command.length) @@ -171,7 +171,7 @@ function newSuperalgosDocsCommmandInterface() { let anchor = splittedSecondaryCommand[3] if (SCHEMAS_BY_PROJECT.get(project) === undefined) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Project Does Not Exist', 'Anchor Project Does Not Exist') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Project Does Not Exist', 'Anchor Project Does Not Exist') return } let docsSchemaDocument @@ -201,16 +201,16 @@ function newSuperalgosDocsCommmandInterface() { break } default: { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Category Not Valid', 'Anchor Category Not Valid') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Category Not Valid', 'Anchor Category Not Valid') return } } if (docsSchemaDocument === undefined) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Page Not Found', 'Anchor Page Not Found') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Page Not Found', 'Anchor Page Not Found') return } if (docsSchemaDocument.paragraphs === undefined) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Page With No Paragraphs', 'Anchor Page With No Paragraphs') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Page With No Paragraphs', 'Anchor Page With No Paragraphs') return } UI.projects.education.spaces.docsSpace.navigateTo(project, category, type, anchor, undefined) @@ -219,19 +219,19 @@ function newSuperalgosDocsCommmandInterface() { function checkAddCommand() { if (UI.projects.education.spaces.docsSpace.commandInterface.command.toLowerCase() === 'docs.help docs.add') { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Add Command') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Add Command') return } if (UI.projects.education.spaces.docsSpace.commandInterface.command.indexOf('Docs.Add') !== 0 && UI.projects.education.spaces.docsSpace.commandInterface.command.indexOf('docs.add') !== 0) { return 'Not Add Command' } if (UI.projects.education.spaces.docsSpace.language !== UI.projects.education.globals.docs.DEFAULT_LANGUAGE) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Only In English', 'Anchor Only In English') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Only In English', 'Anchor Only In English') return } let splittedCommand = UI.projects.education.spaces.docsSpace.commandInterface.command.split(': ') if (splittedCommand[1] === undefined) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Missing Colon', 'Anchor Missing Colon') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Missing Colon', 'Anchor Missing Colon') return } let primaryCommand = splittedCommand[0] @@ -241,17 +241,17 @@ function newSuperalgosDocsCommmandInterface() { if (splittedPrimaryCommand[0].toLowerCase() === 'docs.add') { if (splittedPrimaryCommand[2] !== 'to') { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Missing To', 'Anchor Missing To') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Missing To', 'Anchor Missing To') return } if (splittedPrimaryCommand.length < 4) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Too Few Parameters', 'Anchor Too Few Parameters') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Too Few Parameters', 'Anchor Too Few Parameters') return } if (secondaryCommand === '') { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Category Not Valid', 'Anchor Category Not Valid') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Category Not Valid', 'Anchor Category Not Valid') return } @@ -267,7 +267,7 @@ function newSuperalgosDocsCommmandInterface() { case 'topic': { let splittedSecondaryCommand = secondaryCommand.split('->') if (splittedSecondaryCommand.length < 2) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Too Few Parameters', 'Anchor Too Few Parameters') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Too Few Parameters', 'Anchor Too Few Parameters') return } addTopic(splittedPrimaryCommand[3], splittedSecondaryCommand[0], splittedSecondaryCommand[1], splittedSecondaryCommand[2]) @@ -276,7 +276,7 @@ function newSuperalgosDocsCommmandInterface() { case 'tutorial': { let splittedSecondaryCommand = secondaryCommand.split('->') if (splittedSecondaryCommand.length < 2) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Too Few Parameters', 'Anchor Too Few Parameters') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Too Few Parameters', 'Anchor Too Few Parameters') return } addTutorial(splittedPrimaryCommand[3], splittedSecondaryCommand[0], splittedSecondaryCommand[1], splittedSecondaryCommand[2]) @@ -285,7 +285,7 @@ function newSuperalgosDocsCommmandInterface() { case 'review': { let splittedSecondaryCommand = secondaryCommand.split('->') if (splittedSecondaryCommand.length < 2) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Too Few Parameters', 'Anchor Too Few Parameters') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Too Few Parameters', 'Anchor Too Few Parameters') return } addReview(splittedPrimaryCommand[3], splittedSecondaryCommand[0], splittedSecondaryCommand[1], splittedSecondaryCommand[2]) @@ -296,7 +296,7 @@ function newSuperalgosDocsCommmandInterface() { return } default: { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Category Not Valid', 'Anchor Category Not Valid') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Category Not Valid', 'Anchor Category Not Valid') return } } @@ -306,19 +306,19 @@ function newSuperalgosDocsCommmandInterface() { function checkDeleteCommand() { if (UI.projects.education.spaces.docsSpace.commandInterface.command.toLowerCase() === 'docs.help docs.delete') { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Delete Command') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Delete Command') return } if (UI.projects.education.spaces.docsSpace.commandInterface.command.indexOf('Docs.Delete') !== 0 && UI.projects.education.spaces.docsSpace.commandInterface.command.indexOf('docs.delete') !== 0) { return 'Not Delete Command' } if (UI.projects.education.spaces.docsSpace.language !== UI.projects.education.globals.docs.DEFAULT_LANGUAGE) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Only In English', 'Anchor Only In English') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Only In English', 'Anchor Only In English') return } let splittedCommand = UI.projects.education.spaces.docsSpace.commandInterface.command.split(': ') if (splittedCommand[1] === undefined) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Missing Colon', 'Anchor Missing Colon') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Missing Colon', 'Anchor Missing Colon') return } let primaryCommand = splittedCommand[0] @@ -328,17 +328,17 @@ function newSuperalgosDocsCommmandInterface() { if (splittedPrimaryCommand[0].toLowerCase() === 'docs.delete') { if (splittedPrimaryCommand[2] !== 'from') { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Missing From', 'Anchor Missing From') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Missing From', 'Anchor Missing From') return } if (splittedPrimaryCommand.length < 4) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Too Few Parameters', 'Anchor Too Few Parameters') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Too Few Parameters', 'Anchor Too Few Parameters') return } if (secondaryCommand === '') { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Category Not Valid', 'Anchor Category Not Valid') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Category Not Valid', 'Anchor Category Not Valid') return } @@ -354,7 +354,7 @@ function newSuperalgosDocsCommmandInterface() { case 'topic': { let splittedSecondaryCommand = secondaryCommand.split('->') if (splittedSecondaryCommand.length < 3) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Too Few Parameters', 'Anchor Too Few Parameters') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Too Few Parameters', 'Anchor Too Few Parameters') return } deleteTopic(splittedPrimaryCommand[3], splittedSecondaryCommand[0], splittedSecondaryCommand[1], splittedSecondaryCommand[2]) @@ -363,7 +363,7 @@ function newSuperalgosDocsCommmandInterface() { case 'tutorial': { let splittedSecondaryCommand = secondaryCommand.split('->') if (splittedSecondaryCommand.length < 3) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Too Few Parameters', 'Anchor Too Few Parameters') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Too Few Parameters', 'Anchor Too Few Parameters') return } deleteTutorial(splittedPrimaryCommand[3], splittedSecondaryCommand[0], splittedSecondaryCommand[1], splittedSecondaryCommand[2]) @@ -372,7 +372,7 @@ function newSuperalgosDocsCommmandInterface() { case 'review': { let splittedSecondaryCommand = secondaryCommand.split('->') if (splittedSecondaryCommand.length < 3) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Too Few Parameters', 'Anchor Too Few Parameters') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Too Few Parameters', 'Anchor Too Few Parameters') return } deleteReview(splittedPrimaryCommand[3], splittedSecondaryCommand[0], splittedSecondaryCommand[1], splittedSecondaryCommand[2]) @@ -383,7 +383,7 @@ function newSuperalgosDocsCommmandInterface() { return } default: { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Category Not Valid', 'Anchor Category Not Valid') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Category Not Valid', 'Anchor Category Not Valid') return } } @@ -393,14 +393,14 @@ function newSuperalgosDocsCommmandInterface() { function checkRepaginateCommand() { if (UI.projects.education.spaces.docsSpace.commandInterface.command.toLowerCase() === 'docs.help docs.repaginate') { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Repaginate Command') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Repaginate Command') return } if (UI.projects.education.spaces.docsSpace.commandInterface.command.indexOf('Docs.Repaginate') !== 0 && UI.projects.education.spaces.docsSpace.commandInterface.command.indexOf('docs.repaginate') !== 0) { return 'Not Repaginate Command' } let splittedCommand = UI.projects.education.spaces.docsSpace.commandInterface.command.split(': ') if (splittedCommand[1] === undefined) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Missing Colon', 'Anchor Missing Colon') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Missing Colon', 'Anchor Missing Colon') return } let primaryCommand = splittedCommand[0] @@ -410,27 +410,27 @@ function newSuperalgosDocsCommmandInterface() { if (splittedPrimaryCommand[0].toLowerCase() === 'docs.repaginate') { if (splittedPrimaryCommand[2] !== 'from') { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Missing From', 'Anchor Missing From') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Missing From', 'Anchor Missing From') return } if (splittedPrimaryCommand.length < 4) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Too Few Parameters', 'Anchor Too Few Parameters') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Too Few Parameters', 'Anchor Too Few Parameters') return } if (secondaryCommand === '') { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Category Not Valid', 'Anchor Category Not Valid') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Category Not Valid', 'Anchor Category Not Valid') return } switch (splittedPrimaryCommand[1].toLowerCase()) { case 'node': { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Category Not Valid', 'Anchor Category Not Valid') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Category Not Valid', 'Anchor Category Not Valid') return } case 'concept': { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Category Not Valid', 'Anchor Category Not Valid') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Category Not Valid', 'Anchor Category Not Valid') return } case 'topic': { @@ -446,11 +446,11 @@ function newSuperalgosDocsCommmandInterface() { return } case 'book': { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Category Not Valid', 'Anchor Category Not Valid') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Category Not Valid', 'Anchor Category Not Valid') return } default: { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Category Not Valid', 'Anchor Category Not Valid') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Category Not Valid', 'Anchor Category Not Valid') return } } @@ -459,26 +459,26 @@ function newSuperalgosDocsCommmandInterface() { function checkUReIndexCommand() { if (UI.projects.education.spaces.docsSpace.commandInterface.command.toLowerCase() === 'docs.help docs.reindex') { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Reindex Command') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Reindex Command') return } if (UI.projects.education.spaces.docsSpace.commandInterface.command.indexOf('Docs.Reindex') !== 0 && UI.projects.education.spaces.docsSpace.commandInterface.command.indexOf('docs.reindex') !== 0) { return 'Not Reindex Command' } - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Message - Reindexing Started') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Message - Reindexing Started') setTimeout(startReindexingProcess, 100) function startReindexingProcess() { UI.projects.education.spaces.docsSpace.searchEngine.setUpSearchEngine(onFinish) function onFinish() { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Message - Reindexing Done') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Message - Reindexing Done') } } } function checkUSaveCommand() { if (UI.projects.education.spaces.docsSpace.commandInterface.command.toLowerCase() === 'docs.help docs.save') { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Save Command') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Save Command') return } if (UI.projects.education.spaces.docsSpace.commandInterface.command.indexOf('Docs.Save') !== 0 && UI.projects.education.spaces.docsSpace.commandInterface.command.indexOf('docs.save') !== 0) { return 'Not Save Command' } @@ -525,10 +525,10 @@ function newSuperalgosDocsCommmandInterface() { if (responseCount === requestsSent) { if (responseCount === okResponses) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Message - Saving Done') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Message - Saving Done') afterSaving() } else { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Changes Not Saved', 'Anchor Changes Not Saved') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Changes Not Saved', 'Anchor Changes Not Saved') } } } @@ -637,7 +637,7 @@ function newSuperalgosDocsCommmandInterface() { function repaginate(project, category, query) { if (SCHEMAS_BY_PROJECT.get(project) === undefined) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Project Does Not Exist', 'Anchor Project Does Not Exist') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Project Does Not Exist', 'Anchor Project Does Not Exist') return } @@ -648,7 +648,7 @@ function newSuperalgosDocsCommmandInterface() { ) if (orderedArray.length === 0) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'No Matching Topic, Tutorial or Review Found') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'No Matching Topic, Tutorial or Review Found') return } @@ -659,7 +659,7 @@ function newSuperalgosDocsCommmandInterface() { pageNumber++ schemaDocument.updated = true } - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Message - Repagination Done') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Message - Repagination Done') } function addNode(project, type) { @@ -675,12 +675,12 @@ function newSuperalgosDocsCommmandInterface() { ] } if (SCHEMAS_BY_PROJECT.get(project) === undefined) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Project Does Not Exist', 'Anchor Project Does Not Exist') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Project Does Not Exist', 'Anchor Project Does Not Exist') return } let exist = SCHEMAS_BY_PROJECT.get(project).map.docsNodeSchema.get(type) if (exist !== undefined) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Page Already Exists', 'Anchor Page Already Exists') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Page Already Exists', 'Anchor Page Already Exists') return } @@ -703,12 +703,12 @@ function newSuperalgosDocsCommmandInterface() { } if (SCHEMAS_BY_PROJECT.get(project) === undefined) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Project Does Not Exist', 'Anchor Project Does Not Exist') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Project Does Not Exist', 'Anchor Project Does Not Exist') return } let exist = SCHEMAS_BY_PROJECT.get(project).map.docsConceptSchema.get(type) if (exist !== undefined) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Page Already Exists', 'Anchor Page Already Exists') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Page Already Exists', 'Anchor Page Already Exists') return } @@ -743,12 +743,12 @@ function newSuperalgosDocsCommmandInterface() { ] } if (SCHEMAS_BY_PROJECT.get(project) === undefined) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Project Does Not Exist', 'Anchor Project Does Not Exist') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Project Does Not Exist', 'Anchor Project Does Not Exist') return } let exist = SCHEMAS_BY_PROJECT.get(project).map.docsTopicSchema.get(type) if (exist !== undefined) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Page Already Exists', 'Anchor Page Already Exists') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Page Already Exists', 'Anchor Page Already Exists') return } @@ -783,12 +783,12 @@ function newSuperalgosDocsCommmandInterface() { ] } if (SCHEMAS_BY_PROJECT.get(project) === undefined) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Project Does Not Exist', 'Anchor Project Does Not Exist') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Project Does Not Exist', 'Anchor Project Does Not Exist') return } let exist = SCHEMAS_BY_PROJECT.get(project).map.docsTutorialSchema.get(type) if (exist !== undefined) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Page Already Exists', 'Anchor Page Already Exists') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Page Already Exists', 'Anchor Page Already Exists') return } @@ -823,12 +823,12 @@ function newSuperalgosDocsCommmandInterface() { ] } if (SCHEMAS_BY_PROJECT.get(project) === undefined) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Project Does Not Exist', 'Anchor Project Does Not Exist') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Project Does Not Exist', 'Anchor Project Does Not Exist') return } let exist = SCHEMAS_BY_PROJECT.get(project).map.docsReviewSchema.get(type) if (exist !== undefined) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Page Already Exists', 'Anchor Page Already Exists') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Page Already Exists', 'Anchor Page Already Exists') return } @@ -851,12 +851,12 @@ function newSuperalgosDocsCommmandInterface() { } if (SCHEMAS_BY_PROJECT.get(project) === undefined) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Project Does Not Exist', 'Anchor Project Does Not Exist') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Project Does Not Exist', 'Anchor Project Does Not Exist') return } let exist = SCHEMAS_BY_PROJECT.get(project).map.docsBookSchema.get(type) if (exist !== undefined) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Page Already Exists', 'Anchor Page Already Exists') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Page Already Exists', 'Anchor Page Already Exists') return } @@ -867,54 +867,54 @@ function newSuperalgosDocsCommmandInterface() { function deleteNode(project, type) { if (SCHEMAS_BY_PROJECT.get(project) === undefined) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Project Does Not Exist', 'Anchor Project Does Not Exist') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Project Does Not Exist', 'Anchor Project Does Not Exist') return } let exist = SCHEMAS_BY_PROJECT.get(project).map.docsNodeSchema.get(type) if (exist === undefined) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Page Does Not Exist', 'Anchor Page Does Not Exist') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Page Does Not Exist', 'Anchor Page Does Not Exist') return } let schemaDocument = SCHEMAS_BY_PROJECT.get(project).map.docsNodeSchema.get(type) schemaDocument.deleted = true - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Message - Deleting Done') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Message - Deleting Done') } function deleteConcept(project, type) { if (SCHEMAS_BY_PROJECT.get(project) === undefined) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Project Does Not Exist', 'Anchor Project Does Not Exist') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Project Does Not Exist', 'Anchor Project Does Not Exist') return } let exist = SCHEMAS_BY_PROJECT.get(project).map.docsConceptSchema.get(type) if (exist === undefined) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Page Does Not Exist', 'Anchor Page Does Not Exist') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Page Does Not Exist', 'Anchor Page Does Not Exist') return } let schemaDocument = SCHEMAS_BY_PROJECT.get(project).map.docsConceptSchema.get(type) schemaDocument.deleted = true - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Message - Deleting Done') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Message - Deleting Done') } function deleteTopic(project, topic, type, pageNumber) { if (SCHEMAS_BY_PROJECT.get(project) === undefined) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Project Does Not Exist', 'Anchor Project Does Not Exist') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Project Does Not Exist', 'Anchor Project Does Not Exist') return } let exist = SCHEMAS_BY_PROJECT.get(project).map.docsTopicSchema.get(type) if (exist === undefined) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Page Does Not Exist', 'Anchor Page Does Not Exist') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Page Does Not Exist', 'Anchor Page Does Not Exist') return } else { if (exist.pageNumber !== pageNumber) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Page Number Mismatch', 'Anchor Page Number Mismatch') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Page Number Mismatch', 'Anchor Page Number Mismatch') return } if (exist.topic !== topic) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Topic Mismatch', 'Anchor Topic Mismatch') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Topic Mismatch', 'Anchor Topic Mismatch') return } } @@ -922,25 +922,25 @@ function newSuperalgosDocsCommmandInterface() { let schemaDocument = SCHEMAS_BY_PROJECT.get(project).map.docsTopicSchema.get(type) schemaDocument.deleted = true - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Message - Deleting Done') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Message - Deleting Done') } function deleteTutorial(project, tutorial, type, pageNumber) { if (SCHEMAS_BY_PROJECT.get(project) === undefined) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Project Does Not Exist', 'Anchor Project Does Not Exist') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Project Does Not Exist', 'Anchor Project Does Not Exist') return } let exist = SCHEMAS_BY_PROJECT.get(project).map.docsTutorialSchema.get(type) if (exist === undefined) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Page Does Not Exist', 'Anchor Page Does Not Exist') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Page Does Not Exist', 'Anchor Page Does Not Exist') return } else { if (exist.pageNumber !== pageNumber) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Page Number Mismatch', 'Anchor Page Number Mismatch') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Page Number Mismatch', 'Anchor Page Number Mismatch') return } if (exist.tutorial !== tutorial) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Tutorial Mismatch', 'Anchor Tutorial Mismatch') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Tutorial Mismatch', 'Anchor Tutorial Mismatch') return } } @@ -948,25 +948,25 @@ function newSuperalgosDocsCommmandInterface() { let schemaDocument = SCHEMAS_BY_PROJECT.get(project).map.docsTutorialSchema.get(type) schemaDocument.deleted = true - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Message - Deleting Done') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Message - Deleting Done') } function deleteReview(project, review, type, pageNumber) { if (SCHEMAS_BY_PROJECT.get(project) === undefined) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Project Does Not Exist', 'Anchor Project Does Not Exist') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Project Does Not Exist', 'Anchor Project Does Not Exist') return } let exist = SCHEMAS_BY_PROJECT.get(project).map.docsReviewSchema.get(type) if (exist === undefined) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Page Does Not Exist', 'Anchor Page Does Not Exist') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Page Does Not Exist', 'Anchor Page Does Not Exist') return } else { if (exist.pageNumber !== pageNumber) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Page Number Mismatch', 'Anchor Page Number Mismatch') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Page Number Mismatch', 'Anchor Page Number Mismatch') return } if (exist.review !== review) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Review Mismatch', 'Anchor Review Mismatch') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Review Mismatch', 'Anchor Review Mismatch') return } } @@ -974,24 +974,24 @@ function newSuperalgosDocsCommmandInterface() { let schemaDocument = SCHEMAS_BY_PROJECT.get(project).map.docsReviewSchema.get(type) schemaDocument.deleted = true - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Message - Deleting Done') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Message - Deleting Done') } function deleteBook(project, type) { if (SCHEMAS_BY_PROJECT.get(project) === undefined) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Project Does Not Exist', 'Anchor Project Does Not Exist') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Project Does Not Exist', 'Anchor Project Does Not Exist') return } let exist = SCHEMAS_BY_PROJECT.get(project).map.docsBookSchema.get(type) if (exist === undefined) { - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Error - Page Does Not Exist', 'Anchor Page Does Not Exist') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Error - Page Does Not Exist', 'Anchor Page Does Not Exist') return } let schemaDocument = SCHEMAS_BY_PROJECT.get(project).map.docsBookSchema.get(type) schemaDocument.deleted = true - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs Message - Deleting Done') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs Message - Deleting Done') } } } \ No newline at end of file diff --git a/Projects/Education/UI/Spaces/Docs-Space/ContextMenu.js b/Projects/Education/UI/Spaces/Docs-Space/ContextMenu.js index be95fd129..920513647 100644 --- a/Projects/Education/UI/Spaces/Docs-Space/ContextMenu.js +++ b/Projects/Education/UI/Spaces/Docs-Space/ContextMenu.js @@ -1,4 +1,4 @@ -function newSuperalgosDocsContextMenu() { +function newFoundationsDocsContextMenu() { let thisObject = { selectedParagraph: undefined, getSelection: getSelection, @@ -265,7 +265,7 @@ function newSuperalgosDocsContextMenu() { } } - UI.projects.superalgos.utilities.clipboard.copyTextToClipboard(clipboard) + UI.projects.foundations.utilities.clipboard.copyTextToClipboard(clipboard) removeContextMenuFromScreen() } diff --git a/Projects/Education/UI/Spaces/Docs-Space/DocsSpace.js b/Projects/Education/UI/Spaces/Docs-Space/DocsSpace.js index e7c7779ad..b291a6eaa 100644 --- a/Projects/Education/UI/Spaces/Docs-Space/DocsSpace.js +++ b/Projects/Education/UI/Spaces/Docs-Space/DocsSpace.js @@ -65,13 +65,13 @@ function newEducationDocSpace() { setupActiveBranch() setupContributionsBranch() - thisObject.searchEngine = newSuperalgosDocsSearchEngine() - thisObject.mainSearchPage = newSuperalgosDocsMainSearchPage() - thisObject.searchResultsPage = newSuperalgosDocsSearchResultsPage() - thisObject.documentPage = newSuperalgosDocsDocumentPage() - thisObject.footer = newSuperalgosDocsFooter() - thisObject.commandInterface = newSuperalgosDocsCommmandInterface() - thisObject.contextMenu = newSuperalgosDocsContextMenu() + thisObject.searchEngine = newFoundationsDocsSearchEngine() + thisObject.mainSearchPage = newFoundationsDocsMainSearchPage() + thisObject.searchResultsPage = newFoundationsDocsSearchResultsPage() + thisObject.documentPage = newFoundationsDocsDocumentPage() + thisObject.footer = newFoundationsDocsFooter() + thisObject.commandInterface = newFoundationsDocsCommmandInterface() + thisObject.contextMenu = newFoundationsDocsContextMenu() thisObject.searchEngine.initialize() thisObject.mainSearchPage.initialize() @@ -187,7 +187,7 @@ function newEducationDocSpace() { function changeCurrentBranch(branch) { httpRequest(undefined, 'App/Checkout/' + branch, onResponse) - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Switching Branches - Changing Current Branch') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Switching Branches - Changing Current Branch') function onResponse(err, data) { /* Lets check the result of the call through the http interface */ @@ -195,7 +195,7 @@ function newEducationDocSpace() { if (err.result === GLOBAL.DEFAULT_OK_RESPONSE.result && data.result === GLOBAL.DEFAULT_OK_RESPONSE.result) { UI.projects.education.spaces.docsSpace.currentBranch = branch window.localStorage.setItem('Current Branch', branch) - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Switching Branches - Current Branch Changed') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Switching Branches - Current Branch Changed') } else { UI.projects.education.spaces.docsSpace.navigateTo( data.docs.project, @@ -212,19 +212,19 @@ function newEducationDocSpace() { function changeContributionsBranch(branch) { UI.projects.education.spaces.docsSpace.contributionsBranch = branch window.localStorage.setItem('Contributions Branch', UI.projects.education.spaces.docsSpace.contributionsBranch) - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Switching Branches - Contributions Branch Changed') + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Switching Branches - Contributions Branch Changed') } function changeLanguage(pLanguage) { UI.projects.education.spaces.docsSpace.language = pLanguage window.localStorage.setItem('Docs Language', UI.projects.education.spaces.docsSpace.language) let languageLabel = UI.projects.education.utilities.languages.getLaguageLabel(UI.projects.education.spaces.docsSpace.language) - UI.projects.education.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs In ' + languageLabel) + UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Docs In ' + languageLabel) } function sharePage() { let clipboard = "docs.goto " + UI.projects.education.spaces.docsSpace.currentDocumentBeingRendered.project + '->' + UI.projects.education.spaces.docsSpace.currentDocumentBeingRendered.category + '->' + UI.projects.education.spaces.docsSpace.currentDocumentBeingRendered.type - UI.projects.superalgos.utilities.clipboard.copyTextToClipboard(clipboard) + UI.projects.foundations.utilities.clipboard.copyTextToClipboard(clipboard) } function onKeyDown(event) { diff --git a/Projects/Education/UI/Spaces/Docs-Space/DocumentPage.js b/Projects/Education/UI/Spaces/Docs-Space/DocumentPage.js index 46bb98b3a..ccfe06640 100644 --- a/Projects/Education/UI/Spaces/Docs-Space/DocumentPage.js +++ b/Projects/Education/UI/Spaces/Docs-Space/DocumentPage.js @@ -1,4 +1,4 @@ -function newSuperalgosDocsDocumentPage() { +function newFoundationsDocsDocumentPage() { let thisObject = { docsSchemaDocument: undefined, exitEditMode: exitEditMode, @@ -114,10 +114,10 @@ function newSuperalgosDocsDocumentPage() { async function repositionWorkspace() { let node if (UI.projects.education.spaces.docsSpace.currentDocumentBeingRendered.category === 'Workspace') { - node = await UI.projects.superalgos.spaces.designSpace.workspace.getNodeById(thisObject.docsSchemaDocument.nodeId) + node = await UI.projects.foundations.spaces.designSpace.workspace.getNodeById(thisObject.docsSchemaDocument.nodeId) } if (UI.projects.education.spaces.docsSpace.currentDocumentBeingRendered.nodeId !== undefined) { - node = await UI.projects.superalgos.spaces.designSpace.workspace.getNodeById(UI.projects.education.spaces.docsSpace.currentDocumentBeingRendered.nodeId) + node = await UI.projects.foundations.spaces.designSpace.workspace.getNodeById(UI.projects.education.spaces.docsSpace.currentDocumentBeingRendered.nodeId) } if (node === undefined) { return } @@ -126,7 +126,7 @@ function newSuperalgosDocsDocumentPage() { setTimeout(positionAtNode, 1000, node) // In case the branch which contains the node is collapsed. function positionAtNode(node) { let xOffset = -UI.projects.education.globals.docs.DOCS_SPACE_WIDTH / 2 - UI.projects.superalgos.spaces.floatingSpace.positionAtNode(node, xOffset) + UI.projects.foundations.spaces.floatingSpace.positionAtNode(node, xOffset) } } @@ -289,9 +289,9 @@ function newSuperalgosDocsDocumentPage() { /* We will test if we can draw an image here or not*/ let testElement if (docsSchemaDocument.definition.icon !== undefined) { - testElement = UI.projects.superalgos.spaces.designSpace.getIconByProjectAndName(docsSchemaDocument.definition.icon.project, docsSchemaDocument.definition.icon.name) + testElement = UI.projects.foundations.spaces.designSpace.getIconByProjectAndName(docsSchemaDocument.definition.icon.project, docsSchemaDocument.definition.icon.name) } else { - testElement = UI.projects.superalgos.spaces.designSpace.getIconByProjectAndType(project, type) + testElement = UI.projects.foundations.spaces.designSpace.getIconByProjectAndType(project, type) } /* @@ -765,7 +765,7 @@ function newSuperalgosDocsDocumentPage() { equal to the Node Type. */ let imageName = appSchemaDocument.type.toLowerCase().replaceAll(' ', '-') - imageElement = UI.projects.superalgos.spaces.designSpace.getIconByProjectAndName(imageItem.project, imageName) + imageElement = UI.projects.foundations.spaces.designSpace.getIconByProjectAndName(imageItem.project, imageName) if (imageElement === undefined) { console.log('[WARN] Image for project (' + imageItem.project + ') with name (' + imageName + ') not found. As a consequence, the Docs Page will be rendered without the icon. ') continue @@ -773,14 +773,14 @@ function newSuperalgosDocsDocumentPage() { } else { if (imageItem.icon === undefined) { /* This is the default behavious */ - imageElement = UI.projects.superalgos.spaces.designSpace.getIconByProjectAndType(imageItem.project, imageItem.type) + imageElement = UI.projects.foundations.spaces.designSpace.getIconByProjectAndType(imageItem.project, imageItem.type) if (imageElement === undefined) { console.log('[WARN] Image for project (' + imageItem.project + ') with name (' + imageItem.type + ') not found. As a consequence, the Docs Page will be rendered without the icon. ') continue } } else { /* Here we take the image from the icon specification */ - imageElement = UI.projects.superalgos.spaces.designSpace.getIconByProjectAndName(imageItem.icon.project, imageItem.icon.name) + imageElement = UI.projects.foundations.spaces.designSpace.getIconByProjectAndName(imageItem.icon.project, imageItem.icon.name) if (imageElement === undefined) { console.log('[WARN] Image for project (' + imageItem.icon.project + ') with name (' + imageItem.icon.name + ') not found. As a consequence, the Docs Page will be rendered without the icon. ') continue @@ -805,20 +805,20 @@ function newSuperalgosDocsDocumentPage() { let appSchemaDocument = SCHEMAS_BY_PROJECT.get(imageItem.project).map.appSchema.get(imageItem.type) if (appSchemaDocument.icon === undefined) { let imageName = appSchemaDocument.type.toLowerCase().replaceAll(' ', '-') - collectionImage = UI.projects.superalgos.spaces.designSpace.getIconByProjectAndName(imageItem.project, imageName) + collectionImage = UI.projects.foundations.spaces.designSpace.getIconByProjectAndName(imageItem.project, imageName) if (collectionImage === undefined) { console.log('[WARN] Image for project (' + imageItem.project + ') with name (' + imageName + ') not found. As a consequence, the hierarchy will be rendered without the icon. ') continue } } else { - collectionImage = UI.projects.superalgos.spaces.designSpace.getIconByProjectAndType(imageItem.project, imageItem.type) + collectionImage = UI.projects.foundations.spaces.designSpace.getIconByProjectAndType(imageItem.project, imageItem.type) if (collectionImage === undefined) { console.log('[WARN] Image for project (' + imageItem.project + ') with type (' + imageItem.type + ') not found. As a consequence, the hierarchy will be rendered without the icon. ') continue } } } else { - collectionImage = UI.projects.superalgos.spaces.designSpace.getIconByProjectAndName(imageItem.project, imageItem.name) + collectionImage = UI.projects.foundations.spaces.designSpace.getIconByProjectAndName(imageItem.project, imageItem.name) if (collectionImage === undefined) { console.log('[WARN] Image for project (' + imageItem.project + ') with name (' + imageItem.name + ') not found. As a consequence, the hierarchy will be rendered without the icon. ') continue @@ -842,7 +842,7 @@ function newSuperalgosDocsDocumentPage() { function addProjectImage() { let imageName = UI.projects.education.spaces.docsSpace.currentDocumentBeingRendered.project.toLowerCase().replaceAll(' ', '-') - let imageElement = UI.projects.superalgos.spaces.designSpace.getIconByProjectAndName(UI.projects.education.spaces.docsSpace.currentDocumentBeingRendered.project, imageName) + let imageElement = UI.projects.foundations.spaces.designSpace.getIconByProjectAndName(UI.projects.education.spaces.docsSpace.currentDocumentBeingRendered.project, imageName) imageElement.width = "50" imageElement.height = "50" @@ -868,12 +868,12 @@ function newSuperalgosDocsDocumentPage() { function getIcon() { if (menuItem.relatedUiObject !== undefined) { - return UI.projects.superalgos.spaces.designSpace.getIconByProjectAndType(UI.projects.education.spaces.docsSpace.currentDocumentBeingRendered.project, menuItem.relatedUiObject) + return UI.projects.foundations.spaces.designSpace.getIconByProjectAndType(UI.projects.education.spaces.docsSpace.currentDocumentBeingRendered.project, menuItem.relatedUiObject) } else { if (menuItem.iconPathOn !== undefined) { - return UI.projects.superalgos.spaces.designSpace.getIconByProjectAndName(UI.projects.education.spaces.docsSpace.currentDocumentBeingRendered.project, menuItem.iconPathOn) + return UI.projects.foundations.spaces.designSpace.getIconByProjectAndName(UI.projects.education.spaces.docsSpace.currentDocumentBeingRendered.project, menuItem.iconPathOn) } else { - return UI.projects.superalgos.spaces.designSpace.getIconByProjectAndName('Superalgos', 'bitcoin') + return UI.projects.foundations.spaces.designSpace.getIconByProjectAndName('Foundations', 'bitcoin') } } } @@ -898,9 +898,9 @@ function newSuperalgosDocsDocumentPage() { function getIcon() { if (childrenNodesProperty.project !== undefined) { - return UI.projects.superalgos.spaces.designSpace.getIconByProjectAndType(childrenNodesProperty.project, childrenNodesProperty.childType) + return UI.projects.foundations.spaces.designSpace.getIconByProjectAndType(childrenNodesProperty.project, childrenNodesProperty.childType) } else { - return UI.projects.superalgos.spaces.designSpace.getIconByProjectAndType(UI.projects.education.spaces.docsSpace.currentDocumentBeingRendered.project, childrenNodesProperty.childType) + return UI.projects.foundations.spaces.designSpace.getIconByProjectAndType(UI.projects.education.spaces.docsSpace.currentDocumentBeingRendered.project, childrenNodesProperty.childType) } } } @@ -948,11 +948,11 @@ function newSuperalgosDocsDocumentPage() { function getIcon() { let splittedListItem = listItem.split('|') if (splittedListItem.length === 1) { - return UI.projects.superalgos.spaces.designSpace.getIconByProjectAndType(UI.projects.education.spaces.docsSpace.currentDocumentBeingRendered.project, listItem) + return UI.projects.foundations.spaces.designSpace.getIconByProjectAndType(UI.projects.education.spaces.docsSpace.currentDocumentBeingRendered.project, listItem) } else { let project = splittedListItem[0] let nodeType = splittedListItem[1] - return UI.projects.superalgos.spaces.designSpace.getIconByProjectAndType(project, nodeType) + return UI.projects.foundations.spaces.designSpace.getIconByProjectAndType(project, nodeType) } } } @@ -976,7 +976,7 @@ function newSuperalgosDocsDocumentPage() { for (let i = 0; i < imageArray.length; i++) { let dummyImage = imageArray[i] let parentElement = dummyImage.parentNode - let collectionImage = UI.projects.superalgos.spaces.designSpace.getIconByProjectAndName('Superalgos', 'configuration') + let collectionImage = UI.projects.foundations.spaces.designSpace.getIconByProjectAndName('Foundations', 'configuration') if (collectionImage === undefined) { continue } @@ -1073,7 +1073,7 @@ function newSuperalgosDocsDocumentPage() { for (let i = 0; i < appSchemaDocument.childrenNodesProperties.length; i++) { let childrenNodesProperty = appSchemaDocument.childrenNodesProperties[i] - let name = UI.projects.superalgos.utilities.strings.fromCamelCaseToUpperWithSpaces(childrenNodesProperty.name) + let name = UI.projects.foundations.utilities.strings.fromCamelCaseToUpperWithSpaces(childrenNodesProperty.name) HTML = HTML + '' HTML = HTML + '
' @@ -1256,12 +1256,12 @@ function newSuperalgosDocsDocumentPage() { they are using and sample values for each one. */ /* First Step: get an array of all the nodes in the workspace of this type */ - let rootNodes = UI.projects.superalgos.spaces.designSpace.workspace.workspaceNode.rootNodes + let rootNodes = UI.projects.foundations.spaces.designSpace.workspace.workspaceNode.rootNodes let allNodesFound = [] for (let i = 0; i < rootNodes.length; i++) { let rootNode = rootNodes[i] if (rootNode !== null) { - let nodeArray = UI.projects.superalgos.utilities.branches.nodeBranchToArray(rootNode, appSchemaDocument.type) + let nodeArray = UI.projects.foundations.utilities.branches.nodeBranchToArray(rootNode, appSchemaDocument.type) allNodesFound = allNodesFound.concat(nodeArray) } } @@ -1288,7 +1288,7 @@ function newSuperalgosDocsDocumentPage() { propertyMap.forEach(displayProperty) function displayProperty(valueArray, mapKey, map) { - let name = UI.projects.superalgos.utilities.strings.fromCamelCaseToUpperWithSpaces(mapKey) + let name = UI.projects.foundations.utilities.strings.fromCamelCaseToUpperWithSpaces(mapKey) HTML = HTML + '' HTML = HTML + '
' @@ -1367,12 +1367,12 @@ function newSuperalgosDocsDocumentPage() { and after that, analysing their code in order to extract examples to show. */ /* First Step: get an array of all the nodes in the workspace of this type */ - let rootNodes = UI.projects.superalgos.spaces.designSpace.workspace.workspaceNode.rootNodes + let rootNodes = UI.projects.foundations.spaces.designSpace.workspace.workspaceNode.rootNodes let allNodesFound = [] for (let i = 0; i < rootNodes.length; i++) { let rootNode = rootNodes[i] if (rootNode !== null) { - let nodeArray = UI.projects.superalgos.utilities.branches.nodeBranchToArray(rootNode, appSchemaDocument.type) + let nodeArray = UI.projects.foundations.utilities.branches.nodeBranchToArray(rootNode, appSchemaDocument.type) allNodesFound = allNodesFound.concat(nodeArray) } } @@ -1463,12 +1463,12 @@ function newSuperalgosDocsDocumentPage() { and after that, analysing their code in order to extract examples to show. */ /* First Step: get an array of all the nodes in the workspace of this type */ - let rootNodes = UI.projects.superalgos.spaces.designSpace.workspace.workspaceNode.rootNodes + let rootNodes = UI.projects.foundations.spaces.designSpace.workspace.workspaceNode.rootNodes let allNodesFound = [] for (let i = 0; i < rootNodes.length; i++) { let rootNode = rootNodes[i] if (rootNode !== null) { - let nodeArray = UI.projects.superalgos.utilities.branches.nodeBranchToArray(rootNode, appSchemaDocument.type) + let nodeArray = UI.projects.foundations.utilities.branches.nodeBranchToArray(rootNode, appSchemaDocument.type) allNodesFound = allNodesFound.concat(nodeArray) } } @@ -1902,7 +1902,7 @@ function newSuperalgosDocsDocumentPage() { let imageItem = { div: 'hierarchy-image-div-' + hierarchyImagesArray.length, - project: 'Superalgos' + project: 'Foundations' } switch (matrixRow[j]) { @@ -2086,7 +2086,7 @@ function newSuperalgosDocsDocumentPage() { /* Adding paragarphs is only possible in the default language. */ - if (UI.projects.education.spaces.docsSpace.language === UI.projects.superalgos.globals.docs.DEFAULT_LANGUAGE) { + if (UI.projects.education.spaces.docsSpace.language === UI.projects.foundations.globals.docs.DEFAULT_LANGUAGE) { /* We will update the one paragraph we have and we will add the rest. */ diff --git a/Projects/Education/UI/Spaces/Docs-Space/Footer.js b/Projects/Education/UI/Spaces/Docs-Space/Footer.js index 83f842e44..87812476c 100644 --- a/Projects/Education/UI/Spaces/Docs-Space/Footer.js +++ b/Projects/Education/UI/Spaces/Docs-Space/Footer.js @@ -1,4 +1,4 @@ -function newSuperalgosDocsFooter() { +function newFoundationsDocsFooter() { let thisObject = { addFooter: addFooter, initialize: initialize, @@ -39,10 +39,10 @@ function newSuperalgosDocsFooter() { HTML = HTML + '' } - HTML = HTML + '' - HTML = HTML + '' - HTML = HTML + '' - HTML = HTML + '' + HTML = HTML + '' + HTML = HTML + '' + HTML = HTML + '' + HTML = HTML + '' HTML = HTML + '
' @@ -161,7 +161,7 @@ function newSuperalgosDocsFooter() { HTML = HTML + '