Bifurcation of project at network level

This commit is contained in:
Luis Fernando Molina committed 2020-11-25 08:09:23 +01:00
1 parent 1efeb72ec7
commit 6a17f4e869
3 files changed
+182 -2

No files matched your search

+180
View File
@@ -695,5 +695,185 @@
"addLeftIcons": true,
"level": 2,
"icon": "ethereum"
},
{
"type": "Project Data Tasks",
"menuItems": [
{
"action": "Delete UI Object",
"askConfirmation": true,
"confirmationLabel": "Confirm to Delete",
"label": "Delete",
"iconPathOn": "delete",
"iconPathOff": "delete",
"actionFunction": "payload.executeAction"
}
],
"title": [
"Use Reference Parent"
],
"alternativeIcons": "Use Reference Parent Parent",
"addLeftIcons": true,
"level": 2,
"referenceAttachesTo": {
"compatibleTypes": "->Project Definition->"
},
"chainAttachesTo": {
"compatibleTypes": "->Data Tasks->"
},
"propertyNameAtParent": "projectDataTasks",
"properties": [
],
"icon": "bitcoin"
},
{
"type": "Project Learning Tasks",
"menuItems": [
{
"action": "Delete UI Object",
"askConfirmation": true,
"confirmationLabel": "Confirm to Delete",
"label": "Delete",
"iconPathOn": "delete",
"iconPathOff": "delete",
"actionFunction": "payload.executeAction"
}
],
"title": [
"Use Reference Parent"
],
"alternativeIcons": "Use Reference Parent Parent",
"addLeftIcons": true,
"level": 2,
"referenceAttachesTo": {
"compatibleTypes": "->Project Definition->"
},
"chainAttachesTo": {
"compatibleTypes": "->Learning Tasks->"
},
"propertyNameAtParent": "projectLearningTasks",
"properties": [
],
"icon": "bitcoin"
},
{
"type": "Project Trading Tasks",
"menuItems": [
{
"action": "Delete UI Object",
"askConfirmation": true,
"confirmationLabel": "Confirm to Delete",
"label": "Delete",
"iconPathOn": "delete",
"iconPathOff": "delete",
"actionFunction": "payload.executeAction"
}
],
"title": [
"Use Reference Parent"
],
"alternativeIcons": "Use Reference Parent Parent",
"addLeftIcons": true,
"level": 2,
"referenceAttachesTo": {
"compatibleTypes": "->Project Definition->"
},
"chainAttachesTo": {
"compatibleTypes": "->Trading Tasks->"
},
"propertyNameAtParent": "projectTradingTasks",
"properties": [
],
"icon": "bitcoin"
},
{
"type": "Project Data Products",
"menuItems": [
{
"action": "Delete UI Object",
"askConfirmation": true,
"confirmationLabel": "Confirm to Delete",
"label": "Delete",
"iconPathOn": "delete",
"iconPathOff": "delete",
"actionFunction": "payload.executeAction"
}
],
"title": [
"Use Reference Parent"
],
"alternativeIcons": "Use Reference Parent Parent",
"addLeftIcons": true,
"level": 2,
"referenceAttachesTo": {
"compatibleTypes": "->Project Definition->"
},
"chainAttachesTo": {
"compatibleTypes": "->Data Mines Data->"
},
"propertyNameAtParent": "projectDataProducts",
"properties": [
],
"icon": "bitcoin"
},
{
"type": "Project Learning Products",
"menuItems": [
{
"action": "Delete UI Object",
"askConfirmation": true,
"confirmationLabel": "Confirm to Delete",
"label": "Delete",
"iconPathOn": "delete",
"iconPathOff": "delete",
"actionFunction": "payload.executeAction"
}
],
"title": [
"Use Reference Parent"
],
"alternativeIcons": "Use Reference Parent Parent",
"addLeftIcons": true,
"level": 2,
"referenceAttachesTo": {
"compatibleTypes": "->Project Definition->"
},
"chainAttachesTo": {
"compatibleTypes": "->Learning Mine Data->"
},
"propertyNameAtParent": "projectLearningProducts",
"properties": [
],
"icon": "bitcoin"
},
{
"type": "Project Trading Products",
"menuItems": [
{
"action": "Delete UI Object",
"askConfirmation": true,
"confirmationLabel": "Confirm to Delete",
"label": "Delete",
"iconPathOn": "delete",
"iconPathOff": "delete",
"actionFunction": "payload.executeAction"
}
],
"title": [
"Use Reference Parent"
],
"alternativeIcons": "Use Reference Parent Parent",
"addLeftIcons": true,
"level": 2,
"referenceAttachesTo": {
"compatibleTypes": "->Project Definition->"
},
"chainAttachesTo": {
"compatibleTypes": "->Trading Mine Data->"
},
"propertyNameAtParent": "projectTradingProducts",
"properties": [
],
"icon": "bitcoin"
}
]
@@ -236,7 +236,7 @@ function newSuperalgosFunctionLibraryDataStorageFunctions() {
let projectDefinition = rootNode.projectDefinition
if (projectDefinition !== undefined) {
if (UI.projects.superalgos.utilities.children.isMissingChildren(node, projectDefinition, true) === true) {
let projectTasks = UI.projects.superalgos.functionLibraries.uiObjectsFromNodes.addUIObject(node, newNodeType)
let projectTasks = UI.projects.superalgos.functionLibraries.uiObjectsFromNodes.addUIObject(node, newNodeType, undefined, project)
projectTasks.payload.referenceParent = projectDefinition
}
}
@@ -519,7 +519,7 @@ function newSuperalgosFunctionLibraryTaskFunctions() {
let projectDefinition = rootNode.projectDefinition
if (projectDefinition !== undefined) {
if (UI.projects.superalgos.utilities.children.isMissingChildren(node, projectDefinition, true) === true) {
let projectTasks = UI.projects.superalgos.functionLibraries.uiObjectsFromNodes.addUIObject(node, newNodeType)
let projectTasks = UI.projects.superalgos.functionLibraries.uiObjectsFromNodes.addUIObject(node, newNodeType, undefined, project)
projectTasks.payload.referenceParent = projectDefinition
}
}