X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/0d9ecf118b578f86fc3ef0f8cbb1c200b0954edc..8d3cf07be66fb6b8a58c3999783ebc753c30428f:/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 30d72dfd56..2a9b3882e8 100644
--- a/services/workbench2/src/views/process-panel/process-panel-root.tsx
+++ b/services/workbench2/src/views/process-panel/process-panel-root.tsx
@@ -24,6 +24,7 @@ import { ProcessCmdCard } from "./process-cmd-card";
import { ContainerRequestResource } from "models/container-request";
import { OutputDetails, NodeInstanceType } from "store/process-panel/process-panel";
import { NotFoundView } from 'views/not-found-panel/not-found-panel';
+import { CollectionFile } from 'models/collection-file';
type CssRules = "root";
@@ -45,6 +46,7 @@ export interface ProcessPanelRootDataProps {
outputDefinitions: CommandOutputParameter[];
outputParams: ProcessIOParameter[] | null;
nodeInfo: NodeInstanceType | null;
+ usageReport: string | null;
}
export interface ProcessPanelRootActionProps {
@@ -68,12 +70,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)(
@@ -87,6 +89,7 @@ export const ProcessPanelRoot = withStyles(styles)(
outputDefinitions,
outputParams,
nodeInfo,
+ usageReport,
loadInputs,
loadOutputs,
loadNodeJson,
@@ -112,6 +115,8 @@ 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();
@@ -137,19 +142,11 @@ export const ProcessPanelRoot = withStyles(styles)(
resumeOnHoldWorkflow={props.resumeOnHoldWorkflow}
/>
-
-
-
-
+ maxHeight={maxHeight}
+ data-cy="process-children">
+
-
+
+
+
+
-
+ data-cy="process-resources">
+
) : (