Actions Moved to Machine-Learning
This commit is contained in:
1 parent
c82a2b96ab
commit
68bb87936a
4 files changed
+23
-22
No files matched your search
@@ -15,7 +15,8 @@
|
|||||||
"secondaryIcon": "stop",
|
"secondaryIcon": "stop",
|
||||||
"iconPathOn": "run",
|
"iconPathOn": "run",
|
||||||
"iconPathOff": "run",
|
"iconPathOff": "run",
|
||||||
"actionFunction": "payload.executeAction"
|
"actionFunction": "payload.executeAction",
|
||||||
|
"actionProject": "Machine-Learning"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"action": "Resume Learning Session",
|
"action": "Resume Learning Session",
|
||||||
@@ -31,7 +32,8 @@
|
|||||||
"secondaryIcon": "stop",
|
"secondaryIcon": "stop",
|
||||||
"iconPathOn": "resume",
|
"iconPathOn": "resume",
|
||||||
"iconPathOff": "resume",
|
"iconPathOff": "resume",
|
||||||
"actionFunction": "payload.executeAction"
|
"actionFunction": "payload.executeAction",
|
||||||
|
"actionProject": "Machine-Learning"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"action": "Configure",
|
"action": "Configure",
|
||||||
|
|||||||
@@ -15,7 +15,8 @@
|
|||||||
"secondaryIcon": "stop",
|
"secondaryIcon": "stop",
|
||||||
"iconPathOn": "run",
|
"iconPathOn": "run",
|
||||||
"iconPathOff": "run",
|
"iconPathOff": "run",
|
||||||
"actionFunction": "payload.executeAction"
|
"actionFunction": "payload.executeAction",
|
||||||
|
"actionProject": "Machine-Learning"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"action": "Resume Learning Session",
|
"action": "Resume Learning Session",
|
||||||
@@ -31,7 +32,8 @@
|
|||||||
"secondaryIcon": "stop",
|
"secondaryIcon": "stop",
|
||||||
"iconPathOn": "resume",
|
"iconPathOn": "resume",
|
||||||
"iconPathOff": "resume",
|
"iconPathOff": "resume",
|
||||||
"actionFunction": "payload.executeAction"
|
"actionFunction": "payload.executeAction",
|
||||||
|
"actionProject": "Machine-Learning"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"action": "Configure",
|
"action": "Configure",
|
||||||
|
|||||||
@@ -559,21 +559,6 @@ function newFoundationsActionSwitch() {
|
|||||||
UI.projects.algorithmicTrading.functionLibraries.tradingSessionFunctions.stopSession(action.node, action.callBackFunction)
|
UI.projects.algorithmicTrading.functionLibraries.tradingSessionFunctions.stopSession(action.node, action.callBackFunction)
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
case 'Run Learning Session':
|
|
||||||
{
|
|
||||||
UI.projects.machineLearning.functionLibraries.learningSessionFunctions.runSession(action.node, false, action.callBackFunction)
|
|
||||||
}
|
|
||||||
break
|
|
||||||
case 'Resume Learning Session':
|
|
||||||
{
|
|
||||||
UI.projects.machineLearning.functionLibraries.learningSessionFunctions.runSession(action.node, true, action.callBackFunction)
|
|
||||||
}
|
|
||||||
break
|
|
||||||
case 'Stop Learning Session':
|
|
||||||
{
|
|
||||||
UI.projects.machineLearning.functionLibraries.learningSessionFunctions.stopSession(action.node, action.callBackFunction)
|
|
||||||
}
|
|
||||||
break
|
|
||||||
case 'Run Super Action':
|
case 'Run Super Action':
|
||||||
{
|
{
|
||||||
UI.projects.foundations.functionLibraries.superScriptsFunctions.runSuperScript(action.node, action.rootNodes)
|
UI.projects.foundations.functionLibraries.superScriptsFunctions.runSuperScript(action.node, action.rootNodes)
|
||||||
|
|||||||
@@ -18,9 +18,21 @@ function newEducationActionSwitch() {
|
|||||||
|
|
||||||
async function executeAction(action) {
|
async function executeAction(action) {
|
||||||
switch (action.name) {
|
switch (action.name) {
|
||||||
case 'Action Name': {
|
case 'Run Learning Session':
|
||||||
// Example: return UI.projects.foundations.functionLibraries.onFocus.getNodeThatIsOnFocus(action.node)
|
{
|
||||||
}
|
UI.projects.machineLearning.functionLibraries.learningSessionFunctions.runSession(action.node, false, action.callBackFunction)
|
||||||
|
}
|
||||||
|
break
|
||||||
|
case 'Resume Learning Session':
|
||||||
|
{
|
||||||
|
UI.projects.machineLearning.functionLibraries.learningSessionFunctions.runSession(action.node, true, action.callBackFunction)
|
||||||
|
}
|
||||||
|
break
|
||||||
|
case 'Stop Learning Session':
|
||||||
|
{
|
||||||
|
UI.projects.machineLearning.functionLibraries.learningSessionFunctions.stopSession(action.node, action.callBackFunction)
|
||||||
|
}
|
||||||
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user