P2P Network Nodes

This commit is contained in:
Luis Fernando Molina committed 2021-11-23 15:58:36 +01:00
1 parent e2db0246fc
commit 81b93abb6f
4 files changed
+68 -2

No files matched your search

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

@@ -30,8 +30,8 @@
"addLeftIcons": true,
"level": 1,
"attachingRules": {
"compatibleTypes": "->Signing Account->"
"compatibleTypes": "->P2P Network Nodes->"
},
"childrenNodesProperties": [],
"propertyNameAtParent": "signingAccountChild"
"propertyNameAtParent": "p2pNetworkNodes"
}
@@ -0,0 +1,50 @@
{
"type": "P2P Network Nodes",
"menuItems": [
{
"action": "Configure",
"actionFunction": "uiObject.configEditor.activate",
"label": "Configure",
"iconPathOn": "configuration",
"iconPathOff": "configuration"
},
{
"action": "Add UI Object",
"actionProject": "Visual-Scripting",
"actionFunction": "payload.executeAction",
"label": "Add P2P Network Node",
"relatedUiObject": "P2P Network Node",
"relatedUiObjectProject": "Governance"
},
{
"action": "Delete UI Object",
"actionProject": "Visual-Scripting",
"askConfirmation": true,
"confirmationLabel": "Confirm to Delete",
"label": "Delete",
"iconPathOn": "delete-entity",
"iconPathOff": "delete-entity",
"actionFunction": "payload.executeAction"
}
],
"editors": {
"config": true
},
"initialValues": {
"config": "{}"
},
"addLeftIcons": true,
"level": 2,
"attachingRules": {
"compatibleTypes": "->User Profile->"
},
"propertyNameAtParent": "p2pNetworkNodes",
"childrenNodesProperties": [
{
"name": "p2pNetworkNodes",
"type": "array",
"childType": "P2P Network Node",
"autoAdd": false
}
]
}
@@ -58,6 +58,16 @@
"relatedUiObject": "Social Personas",
"relatedUiObjectProject": "Governance"
},
{
"action": "Add UI Object",
"actionProject": "Visual-Scripting",
"disableIfPropertyIsDefined": true,
"propertyToCheckFor": "p2pNetworkNodes",
"actionFunction": "payload.executeAction",
"label": "Add P2P Network Nodes",
"relatedUiObject": "P2P Network Nodes",
"relatedUiObjectProject": "Governance"
},
{
"action": "Install as Plugin",
"actionProject": "Community-Plugins",
@@ -125,6 +135,12 @@
"type": "node",
"childType": "Social Personas",
"autoAdd": false
},
{
"name": "p2pNetworkNodes",
"type": "node",
"childType": "P2P Network Nodes",
"autoAdd": false
}
],
"inMapMode": {