X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/7a2f0082071947bfec27ed4f2a16250e1d611d21..efedeb30d0641217f1fb27627c9ae4cba7aedd36:/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 52c0f451..35842c7b 100644 --- a/src/views/process-panel/process-panel-root.tsx +++ b/src/views/process-panel/process-panel-root.tsx @@ -8,21 +8,22 @@ 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'; -import { SubprocessesCard } from './subprocesses-card'; -import { ProcessSubprocesses } from '~/views/process-panel/process-subprocesses'; +import { SubprocessPanel } from '~/views/subprocess-panel/subprocess-panel'; import { SubprocessFilterDataProps } from '~/components/subprocess-filter/subprocess-filter'; export interface ProcessPanelRootDataProps { process?: Process; subprocesses: Array; filters: Array; - totalSubprocessesLength: number; } 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; } export type ProcessPanelRootProps = ProcessPanelRootDataProps & ProcessPanelRootActionProps; @@ -30,23 +31,18 @@ export type ProcessPanelRootProps = ProcessPanelRootDataProps & ProcessPanelRoot export const ProcessPanelRoot = ({ process, ...props }: ProcessPanelRootProps) => process ? - + props.onContextMenu(event, process)} - openProcessInputDialog={props.openProcessInputDialog} /> - - - - - + + :