X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/0c6cf2fccc1f1c2a175610312d4b1b83adf9df75..69b8e9f8b19a151062a28e8eedbf7bf99322d93c:/src/views/process-panel/process-panel-root.tsx diff --git a/src/views/process-panel/process-panel-root.tsx b/src/views/process-panel/process-panel-root.tsx index 3e695a2f..4f95d0d8 100644 --- a/src/views/process-panel/process-panel-root.tsx +++ b/src/views/process-panel/process-panel-root.tsx @@ -4,7 +4,6 @@ import React from 'react'; import { Grid, StyleRulesCallback, WithStyles, withStyles } from '@material-ui/core'; -import { ProcessInformationCard } from './process-information-card'; import { DefaultView } from 'components/default-view/default-view'; import { ProcessIcon } from 'components/icon/icon'; import { Process } from 'store/processes/process'; @@ -22,7 +21,6 @@ type CssRules = 'root'; const styles: StyleRulesCallback = (theme: ArvadosTheme) => ({ root: { width: '100%', - height: '100%', }, }); @@ -36,9 +34,6 @@ export interface ProcessPanelRootDataProps { export interface ProcessPanelRootActionProps { onContextMenu: (event: React.MouseEvent, process: Process) => void; onToggle: (status: string) => void; - openProcessInputDialog: (uuid: string) => void; - navigateToOutput: (uuid: string) => void; - navigateToWorkflow: (uuid: string) => void; cancelProcess: (uuid: string) => void; onLogFilterChange: (filter: FilterOption) => void; navigateToLog: (uuid: string) => void; @@ -48,8 +43,7 @@ export interface ProcessPanelRootActionProps { export type ProcessPanelRootProps = ProcessPanelRootDataProps & ProcessPanelRootActionProps & WithStyles; const panelsData: MPVPanelState[] = [ - {name: "Info"}, - {name: "Details", visible: false}, + {name: "Details"}, {name: "Logs", visible: true}, {name: "Subprocesses"}, ]; @@ -58,20 +52,14 @@ export const ProcessPanelRoot = withStyles(styles)( ({ process, processLogsPanel, ...props }: ProcessPanelRootProps) => process ? - - + props.onContextMenu(event, process)} - openProcessInputDialog={props.openProcessInputDialog} - navigateToOutput={props.navigateToOutput} - openWorkflow={props.navigateToWorkflow} cancelProcess={props.cancelProcess} /> - - - - + - +