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';
12 import { CodeSnippetDataProps } from '~/components/code-snippet/code-snippet';
13 import { ProcessLogMainCardActionProps } from './process-log-main-card';
15 export type ProcessLogPanelRootDataProps = {
17 } & ProcessLogFormDataProps & CodeSnippetDataProps;
19 export type ProcessLogPanelRootActionProps = ProcessLogMainCardActionProps & 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']} />