X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/095e176632bbf81d28a239742a1ecce12404bd2d..18283116c4248b8f5f371387b01c6300ec08cadc:/services/workbench2/src/views/process-panel/process-panel-root.tsx
diff --git a/services/workbench2/src/views/process-panel/process-panel-root.tsx b/services/workbench2/src/views/process-panel/process-panel-root.tsx
index c972c0a6cf..c8e93aa3ae 100644
--- a/services/workbench2/src/views/process-panel/process-panel-root.tsx
+++ b/services/workbench2/src/views/process-panel/process-panel-root.tsx
@@ -41,10 +41,11 @@ export interface ProcessPanelRootDataProps {
auth: AuthState;
inputRaw: WorkflowInputsData | null;
inputParams: ProcessIOParameter[] | null;
- outputRaw: OutputDetails | null;
+ outputData: OutputDetails | null;
outputDefinitions: CommandOutputParameter[];
outputParams: ProcessIOParameter[] | null;
nodeInfo: NodeInstanceType | null;
+ usageReport: string | null;
}
export interface ProcessPanelRootActionProps {
@@ -68,12 +69,12 @@ export type ProcessPanelRootProps = ProcessPanelRootDataProps & ProcessPanelRoot
const panelsData: MPVPanelState[] = [
{ name: "Details" },
- { name: "Command" },
{ name: "Logs", visible: true },
- { name: "Inputs" },
+ { name: "Subprocesses" },
{ name: "Outputs" },
+ { name: "Inputs" },
+ { name: "Command" },
{ name: "Resources" },
- { name: "Subprocesses" },
];
export const ProcessPanelRoot = withStyles(styles)(
@@ -83,10 +84,11 @@ export const ProcessPanelRoot = withStyles(styles)(
processLogsPanel,
inputRaw,
inputParams,
- outputRaw,
+ outputData,
outputDefinitions,
outputParams,
nodeInfo,
+ usageReport,
loadInputs,
loadOutputs,
loadNodeJson,
@@ -112,10 +114,12 @@ export const ProcessPanelRoot = withStyles(styles)(
}
}, [containerRequest, loadInputs, loadOutputs, loadOutputDefinitions, loadNodeJson]);
+ const maxHeight = "100%";
+
// Trigger processing output params when raw or definitions change
React.useEffect(() => {
updateOutputParams();
- }, [outputRaw, outputDefinitions, updateOutputParams]);
+ }, [outputData, outputDefinitions, updateOutputParams]);
return process ? (
-
-
-
+
+
+
+
+
+
-
+
-
-
-
) : (