Install as Plugin action implemented for User Profiles and others
This commit is contained in:
1 parent
857379b440
commit
a779dc4dbd
13 files changed
+252
-31
No files matched your search
@@ -1345,7 +1345,7 @@
|
||||
"floatingObject": {
|
||||
"isPinned": false,
|
||||
"isFrozen": false,
|
||||
"isCollapsed": false,
|
||||
"isCollapsed": true,
|
||||
"angleToParent": 1,
|
||||
"distanceToParent": 3,
|
||||
"arrangementStyle": 0
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"type": "Positions",
|
||||
"name": "Superalgos-Marketing",
|
||||
"config": "{\"codeName\":\"Superalgos\"}",
|
||||
"config": "{\"codeName\":\"Superalgos-Marketing\"}",
|
||||
"project": "Governance",
|
||||
"positionClasss": [
|
||||
{
|
||||
|
||||
@@ -32,6 +32,16 @@
|
||||
"label": "Add Asset",
|
||||
"relatedUiObject": "Asset"
|
||||
},
|
||||
{
|
||||
"action": "Install as Plugin",
|
||||
"actionProject": "Foundations",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Install",
|
||||
"label": "Install as Plugin",
|
||||
"iconPathOn": "configuration",
|
||||
"iconPathOff": "configuration",
|
||||
"actionFunction": "payload.executeAction"
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"actionProject": "Foundations",
|
||||
|
||||
@@ -15,6 +15,16 @@
|
||||
"label": "Add Feature",
|
||||
"relatedUiObject": "Feature"
|
||||
},
|
||||
{
|
||||
"action": "Install as Plugin",
|
||||
"actionProject": "Foundations",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Install",
|
||||
"label": "Install as Plugin",
|
||||
"iconPathOn": "configuration",
|
||||
"iconPathOff": "configuration",
|
||||
"actionFunction": "payload.executeAction"
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"actionProject": "Foundations",
|
||||
|
||||
@@ -22,6 +22,16 @@
|
||||
"label": "Add Pool",
|
||||
"relatedUiObject": "Pool"
|
||||
},
|
||||
{
|
||||
"action": "Install as Plugin",
|
||||
"actionProject": "Foundations",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Install",
|
||||
"label": "Install as Plugin",
|
||||
"iconPathOn": "configuration",
|
||||
"iconPathOff": "configuration",
|
||||
"actionFunction": "payload.executeAction"
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"actionProject": "Foundations",
|
||||
|
||||
@@ -15,6 +15,16 @@
|
||||
"relatedUiObject": "Position",
|
||||
"actionFunction": "payload.executeAction"
|
||||
},
|
||||
{
|
||||
"action": "Install as Plugin",
|
||||
"actionProject": "Foundations",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Install",
|
||||
"label": "Install as Plugin",
|
||||
"iconPathOn": "configuration",
|
||||
"iconPathOff": "configuration",
|
||||
"actionFunction": "payload.executeAction"
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"actionProject": "Foundations",
|
||||
|
||||
@@ -26,6 +26,16 @@
|
||||
"label": "Add Tokens Mined",
|
||||
"relatedUiObject": "Tokens Mined"
|
||||
},
|
||||
{
|
||||
"action": "Install as Plugin",
|
||||
"actionProject": "Foundations",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Install",
|
||||
"label": "Install as Plugin",
|
||||
"iconPathOn": "configuration",
|
||||
"iconPathOff": "configuration",
|
||||
"actionFunction": "payload.executeAction"
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"actionProject": "Foundations",
|
||||
|
||||
@@ -20,7 +20,7 @@ function newGovernanceFunctionLibraryPluginsFunctions() {
|
||||
UI.projects.foundations.utilities.plugins.getPluginFileNames(projectName, 'User-Profiles', onNamesArrived)
|
||||
|
||||
function onNamesArrived(fileNames) {
|
||||
UI.projects.foundations.utilities.plugins.addPluginFileIfNeeded(node, fileNames, 'User-Profiles', 'User Profile')
|
||||
UI.projects.foundations.utilities.plugins.addMissingPluginFiles(node, fileNames, 'User-Profiles', 'User Profile')
|
||||
}
|
||||
}
|
||||
|
||||
@@ -36,7 +36,7 @@ function newGovernanceFunctionLibraryPluginsFunctions() {
|
||||
UI.projects.foundations.utilities.plugins.getPluginFileNames(projectName, 'Pools', onNamesArrived)
|
||||
|
||||
function onNamesArrived(fileNames) {
|
||||
UI.projects.foundations.utilities.plugins.addPluginFileIfNeeded(node, fileNames, 'Pools', 'Pools')
|
||||
UI.projects.foundations.utilities.plugins.addMissingPluginFiles(node, fileNames, 'Pools', 'Pools')
|
||||
}
|
||||
}
|
||||
|
||||
@@ -52,7 +52,7 @@ function newGovernanceFunctionLibraryPluginsFunctions() {
|
||||
UI.projects.foundations.utilities.plugins.getPluginFileNames(projectName, 'Assets', onNamesArrived)
|
||||
|
||||
function onNamesArrived(fileNames) {
|
||||
UI.projects.foundations.utilities.plugins.addPluginFileIfNeeded(node, fileNames, 'Assets', 'Assets')
|
||||
UI.projects.foundations.utilities.plugins.addMissingPluginFiles(node, fileNames, 'Assets', 'Assets')
|
||||
}
|
||||
}
|
||||
|
||||
@@ -68,7 +68,7 @@ function newGovernanceFunctionLibraryPluginsFunctions() {
|
||||
UI.projects.foundations.utilities.plugins.getPluginFileNames(projectName, 'Features', onNamesArrived)
|
||||
|
||||
function onNamesArrived(fileNames) {
|
||||
UI.projects.foundations.utilities.plugins.addPluginFileIfNeeded(node, fileNames, 'Features', 'Features')
|
||||
UI.projects.foundations.utilities.plugins.addMissingPluginFiles(node, fileNames, 'Features', 'Features')
|
||||
}
|
||||
}
|
||||
|
||||
@@ -84,7 +84,7 @@ function newGovernanceFunctionLibraryPluginsFunctions() {
|
||||
UI.projects.foundations.utilities.plugins.getPluginFileNames(projectName, 'Positions', onNamesArrived)
|
||||
|
||||
function onNamesArrived(fileNames) {
|
||||
UI.projects.foundations.utilities.plugins.addPluginFileIfNeeded(node, fileNames, 'Positions', 'Positions')
|
||||
UI.projects.foundations.utilities.plugins.addMissingPluginFiles(node, fileNames, 'Positions', 'Positions')
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user