Super Actioins

This commit is contained in:
Luis Fernando Molina committed 2020-03-06 17:25:32 +01:00
1 parent 33832396f0
commit d47473cd16
5 files changed
+66 -6

No files matched your search

+50 -2
View File
@@ -1115,7 +1115,7 @@
"addLeftIcons": true,
"level": 4,
"chainAttachesTo": {
"compatibleTypes": "->Market->"
"compatibleTypes": "->Super Actions->Market->"
},
"referenceAttachesTo": {
"compatibleTypes": "->Master Script->"
@@ -4430,6 +4430,14 @@
"relatedUiObject": "Crypto Exchanges",
"actionFunction": "payload.onMenuItemClick"
},
{
"action": "Add UI Object",
"disableIfPropertyIsDefined": true,
"propertyToCheckFor": "superActions",
"label": "Add Super Actions",
"relatedUiObject": "Super Actions",
"actionFunction": "payload.onMenuItemClick"
},
{
"action": "Delete UI Object",
"askConfirmation": true,
@@ -4449,6 +4457,46 @@
"name": "cryptoExchanges",
"type": "array",
"childType": "Crypto Exchanges"
},
{
"name": "superActions",
"type": "node",
"childType": "Super Actions"
}
]
},
{
"type": "Super Actions",
"menuItems": [
{
"action": "Add UI Object",
"label": "Add Super Action",
"relatedUiObject": "Super Action",
"actionFunction": "payload.onMenuItemClick"
},
{
"action": "Delete UI Object",
"askConfirmation": true,
"confirmationLabel": "Confirm to Delete",
"label": "Delete Super Actions",
"iconPathOn": "delete",
"iconPathOff": "delete",
"actionFunction": "payload.onMenuItemClick"
}
],
"propertyNameAtParent": "superActions",
"isTitleAllwaysVisible": false,
"addLeftIcons": true,
"level": 3,
"chainAttachesTo": {
"compatibleTypes": "->Crypto Ecosystem->"
},
"icon": "super-action",
"properties": [
{
"name": "superActions",
"type": "array",
"childType": "Super Action"
}
]
},
@@ -4796,7 +4844,7 @@
"label": "Add Missing Markets",
"askConfirmation": true,
"confirmationLabel": "Confirm to Proceed",
"workDoneLabel": "Done",
"workDoneLabel": "Request Sent",
"relatedUiObject": "Market",
"actionFunction": "payload.onMenuItemClick"
},