Moved executions to workflow view
This commit is contained in:
@@ -4940,7 +4940,6 @@ func addAppAuthentication(resp http.ResponseWriter, request *http.Request) {
|
|||||||
|
|
||||||
if foundIndex >= 0 {
|
if foundIndex >= 0 {
|
||||||
log.Printf("[INFO] Found app %s by looping auth", appAuth.App.ID)
|
log.Printf("[INFO] Found app %s by looping auth", appAuth.App.ID)
|
||||||
app = &workflowapps[foundIndex]
|
|
||||||
} else {
|
} else {
|
||||||
log.Printf("[ERROR] Failed finding app %s which has auth after looping", appAuth.App.ID)
|
log.Printf("[ERROR] Failed finding app %s which has auth after looping", appAuth.App.ID)
|
||||||
resp.WriteHeader(409)
|
resp.WriteHeader(409)
|
||||||
|
|||||||
@@ -1536,6 +1536,12 @@ const AngularWorkflow = (props) => {
|
|||||||
getWorkflowExecution(props.match.params.key)
|
getWorkflowExecution(props.match.params.key)
|
||||||
getAvailableWorkflows(-1)
|
getAvailableWorkflows(-1)
|
||||||
getSettings()
|
getSettings()
|
||||||
|
|
||||||
|
const cursearch = typeof window === 'undefined' || window.location === undefined ? "" : window.location.search
|
||||||
|
const tmpView = new URLSearchParams(cursearch).get("view")
|
||||||
|
if (tmpView !== undefined && tmpView !== null && tmpView === "executions") {
|
||||||
|
setExecutionModalOpen(true)
|
||||||
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -907,7 +907,7 @@ const Workflows = (props) => {
|
|||||||
</div>
|
</div>
|
||||||
:
|
:
|
||||||
<h4>
|
<h4>
|
||||||
There are no executions for this workflow yet
|
Executions have been moved to the Workflow itself. <Link to={`/workflows/${selectedWorkflow.id}?view=executions`} style={{textDecoration: "none", color: "#f85a3e"}}>Click here to see them</Link>
|
||||||
</h4>
|
</h4>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
@@ -1247,7 +1247,8 @@ const Workflows = (props) => {
|
|||||||
<ExecutionsView />
|
<ExecutionsView />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style={{flex: viewSize.executionResults, marginLeft: "10px", marginRight: "10px", minWidth: "33%"}}>
|
{/*
|
||||||
|
<div style={{flex: viewSize.executionResults, marginLeft: "10px", marginRight: "10px", minWidth: "40%"}}>
|
||||||
<div style={{display: "flex"}}>
|
<div style={{display: "flex"}}>
|
||||||
<div style={{flex: "1"}}>
|
<div style={{flex: "1"}}>
|
||||||
<h2>Execution Timeline</h2>
|
<h2>Execution Timeline</h2>
|
||||||
@@ -1265,6 +1266,7 @@ const Workflows = (props) => {
|
|||||||
<ExecutionDetails />
|
<ExecutionDetails />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
*/}
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user