Pool Concept Introduced

This commit is contained in:
Luis Fernando Molina committed 2021-06-03 22:57:02 +02:00
1 parent 6c14a20679
commit 4994f03ff4
20 files changed
+250 -23

No files matched your search

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

@@ -34,16 +34,13 @@
"config": true
},
"initialValues": {
"config": "{\n \"description\": \"\", \"relativeWeight\": 0 \n}"
"config": "{\n \"description\": \"\" \n}"
},
"addLeftIcons": true,
"level": 2,
"attachingRules": {
"compatibleTypes": "->Asset Class->Asset->"
},
"referencingRules": {
"compatibleTypes": "->Team->Position->"
},
"propertyNameAtParent": "assets",
"childrenNodesProperties": [
{
@@ -25,10 +25,7 @@
],
"isHierarchyHead": true,
"addLeftIcons": true,
"level": 1,
"attachingRules": {
"compatibleTypes": "->Superalgos Release->"
},
"level": 0,
"childrenNodesProperties": [
{
"name": "assetClasses",
@@ -34,16 +34,13 @@
"config": true
},
"initialValues": {
"config": "{\n \"description\": \"\", \"relativeWeight\": 0 \n}"
"config": "{\n \"description\": \"\" \n}"
},
"addLeftIcons": true,
"level": 2,
"attachingRules": {
"compatibleTypes": "->Feature Class->Feature->"
},
"referencingRules": {
"compatibleTypes": "->Team->Position->"
},
"propertyNameAtParent": "features",
"childrenNodesProperties": [
{
@@ -25,10 +25,7 @@
],
"isHierarchyHead": true,
"addLeftIcons": true,
"level": 1,
"attachingRules": {
"compatibleTypes": "->Superalgos Release->"
},
"level": 0,
"childrenNodesProperties": [
{
"name": "featureClasses",
@@ -1,6 +1,12 @@
{
"type": "Governance Project",
"menuItems": [
{
"action": "Add UI Object",
"label": "Add Pools",
"relatedUiObject": "Pools",
"actionFunction": "payload.executeAction"
},
{
"action": "Add UI Object",
"label": "Add Assets",
@@ -15,8 +21,8 @@
},
{
"action": "Add UI Object",
"label": "Add Oranization Chart",
"relatedUiObject": "Oranization Chart",
"label": "Add Organization Chart",
"relatedUiObject": "Organization Chart",
"actionFunction": "payload.executeAction"
},
{
@@ -1,6 +1,12 @@
{
"type": "Oranization Chart",
"type": "Organization Chart",
"menuItems": [
{
"action": "Add UI Object",
"actionFunction": "payload.executeAction",
"label": "Add Team",
"relatedUiObject": "Team"
},
{
"action": "Add UI Object",
"label": "Add Position",
@@ -17,11 +23,16 @@
"actionFunction": "payload.executeAction"
}
],
"isTitleAllwaysVisible": false,
"isHierarchyHead": true,
"addLeftIcons": true,
"level": 0,
"childrenNodesProperties": [
{
"name": "teams",
"type": "array",
"childType": "Team",
"autoAdd": false
},
{
"name": "positions",
"type": "array",
@@ -0,0 +1,62 @@
{
"type": "Pool Class",
"menuItems": [
{
"action": "Configure",
"actionFunction": "uiObject.configEditor.activate",
"label": "Configure",
"iconPathOn": "configuration",
"iconPathOff": "configuration"
},
{
"action": "Add UI Object",
"actionFunction": "payload.executeAction",
"label": "Add Pool Class",
"relatedUiObject": "Pool Class"
},
{
"action": "Add UI Object",
"actionFunction": "payload.executeAction",
"label": "Add Pool",
"relatedUiObject": "Pool"
},
{
"action": "Delete UI Object",
"askConfirmation": true,
"confirmationLabel": "Confirm to Delete",
"label": "Delete",
"iconPathOn": "delete-entity",
"iconPathOff": "delete-entity",
"actionFunction": "payload.executeAction"
}
],
"editors": {
"config": true
},
"initialValues": {
"config": "{\n \"description\": \"\", \"relativeWeight\": 0 \n}"
},
"addLeftIcons": true,
"level": 2,
"attachingRules": {
"compatibleTypes": "->Pools->Pool Class->"
},
"referencingRules": {
"compatibleTypes": "->Team->Position->"
},
"propertyNameAtParent": "poolClasses",
"childrenNodesProperties": [
{
"name": "poolClasses",
"type": "array",
"childType": "Pool Class",
"autoAdd": false
},
{
"name": "pools",
"type": "array",
"childType": "Pool",
"autoAdd": false
}
]
}
@@ -0,0 +1,42 @@
{
"type": "Pool Weight Vote",
"menuItems": [
{
"action": "Configure",
"actionFunction": "uiObject.configEditor.activate",
"label": "Configure",
"iconPathOn": "configuration",
"iconPathOff": "configuration"
},
{
"action": "Delete UI Object",
"askConfirmation": true,
"confirmationLabel": "Confirm to Delete",
"label": "Delete",
"iconPathOn": "delete-entity",
"iconPathOff": "delete-entity",
"actionFunction": "payload.executeAction"
}
],
"title": [
"Use Reference Parent Parent Parent Parent",
"Use Reference Parent Parent Parent",
"Use Reference Parent Parent",
"Use Reference Parent"
],
"editors": {
"config": true
},
"initialValues": {
"config": "{\n \"description\": \"\"\n}"
},
"addLeftIcons": true,
"level": 2,
"attachingRules": {
"compatibleTypes": "->Votes Switch->"
},
"referencingRules": {
"compatibleTypes": "->Pool Class->Pool->"
},
"propertyNameAtParent": "poolWeightVotes"
}
@@ -0,0 +1,62 @@
{
"type": "Pool",
"menuItems": [
{
"action": "Configure",
"actionFunction": "uiObject.configEditor.activate",
"label": "Configure",
"iconPathOn": "configuration",
"iconPathOff": "configuration"
},
{
"action": "Add UI Object",
"actionFunction": "payload.executeAction",
"label": "Add Pool Class",
"relatedUiObject": "Pool Class"
},
{
"action": "Add UI Object",
"actionFunction": "payload.executeAction",
"label": "Add Pool",
"relatedUiObject": "Pool"
},
{
"action": "Delete UI Object",
"askConfirmation": true,
"confirmationLabel": "Confirm to Delete",
"label": "Delete",
"iconPathOn": "delete-entity",
"iconPathOff": "delete-entity",
"actionFunction": "payload.executeAction"
}
],
"editors": {
"config": true
},
"initialValues": {
"config": "{\n \"description\": \"\"\n}"
},
"addLeftIcons": true,
"level": 2,
"attachingRules": {
"compatibleTypes": "->Pool Class->Pool->"
},
"referencingRules": {
"compatibleTypes": "->Organization Chart->Assets->Features->"
},
"propertyNameAtParent": "pools",
"childrenNodesProperties": [
{
"name": "poolClasses",
"type": "array",
"childType": "Pool Class",
"autoAdd": false
},
{
"name": "pools",
"type": "array",
"childType": "Pool",
"autoAdd": false
}
]
}
@@ -0,0 +1,56 @@
{
"type": "Pools",
"menuItems": [
{
"action": "Configure",
"actionFunction": "uiObject.configEditor.activate",
"label": "Configure",
"iconPathOn": "configuration",
"iconPathOff": "configuration"
},
{
"action": "Add UI Object",
"actionFunction": "payload.executeAction",
"label": "Add Pool Class",
"relatedUiObject": "Pool Class"
},
{
"action": "Add UI Object",
"actionFunction": "payload.executeAction",
"label": "Add Pool",
"relatedUiObject": "Pool"
},
{
"action": "Delete UI Object",
"askConfirmation": true,
"confirmationLabel": "Confirm to Delete",
"label": "Delete",
"iconPathOn": "delete-entity",
"iconPathOff": "delete-entity",
"actionFunction": "payload.executeAction"
}
],
"editors": {
"config": true
},
"initialValues": {
"config": "{\n \"token\": \"\"\n}"
},
"isHierarchyHead": true,
"addLeftIcons": true,
"level": 0,
"childrenNodesProperties": [
{
"name": "poolClasses",
"type": "array",
"childType": "Pool Class",
"autoAdd": false
},
{
"name": "pools",
"type": "array",
"childType": "Pool",
"autoAdd": false
}
]
}
@@ -34,12 +34,12 @@
"config": true
},
"initialValues": {
"config": "{\n \"description\": \"\", \"relativeWeight\": 0 \n}"
"config": "{\n \"description\": \"\" \n}"
},
"addLeftIcons": true,
"level": 2,
"attachingRules": {
"compatibleTypes": "->Oranization Chart->Position->Team->"
"compatibleTypes": "->Organization Chart->Position->Team->"
},
"propertyNameAtParent": "positions",
"childrenNodesProperties": [
@@ -122,7 +122,7 @@ function newUiObjectTitle() {
}
case 'Use Reference Parent Type': {
let nodeToUse = thisObject.payload.node.payload.referenceParent
if (nodeToUse !== undefined && nodeToUse.payload !== undefined && nodeToUse.payload.node.name !== "New " + nodeToUse.payload.node.type && nodeToUse.payload.node.name !== "My " + nodeToUse.payload.node.type) {
if (nodeToUse !== undefined && nodeToUse.payload !== undefined) {
thisObject.payload.title = thisObject.payload.title + separator + nodeToUse.type
thisObject.payload.node.name = thisObject.payload.node.name + separator + nodeToUse.type
}