1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
5 import * as React from 'react';
6 import { Grid } from '@material-ui/core';
7 import { Process } from '~/store/processes/process';
8 import { ProcessLogMainCard } from '~/views/process-log-panel/process-log-main-card';
9 import { ProcessLogFormDataProps, ProcessLogFormActionProps } from '~/views/process-log-panel/process-log-form';
10 import { DefaultView } from '~/components/default-view/default-view';
11 import { ProcessIcon } from '~/components/icon/icon';
13 export type ProcessLogPanelRootDataProps = {
15 } & ProcessLogFormDataProps;
17 export type ProcessLogPanelRootActionProps = {
18 onContextMenu: (event: React.MouseEvent<HTMLElement>) => void;
19 } & ProcessLogFormActionProps;
21 export type ProcessLogPanelRootProps = ProcessLogPanelRootDataProps & ProcessLogPanelRootActionProps;
23 export const ProcessLogPanelRoot = (props: ProcessLogPanelRootProps) =>
25 ? <Grid container spacing={16}>
27 process={props.process}
35 messages={['Process Log not found']} />