projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
15255: Don't render fedtoken iframe if workbench2 config is missing.
[arvados-workbench2.git]
/
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 ab8af36ffbb5e619e69fa22e2fbbb62b07d0a634..63b6aa4d19205519e7e63b099197fad41d80b34c 100644
(file)
--- a/
src/views/process-panel/process-panel-root.tsx
+++ b/
src/views/process-panel/process-panel-root.tsx
@@
-22,17
+22,26
@@
export interface ProcessPanelRootDataProps {
export interface ProcessPanelRootActionProps {
onContextMenu: (event: React.MouseEvent<HTMLElement>, process: Process) => void;
onToggle: (status: string) => void;
export interface ProcessPanelRootActionProps {
onContextMenu: (event: React.MouseEvent<HTMLElement>, 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;
}
export type ProcessPanelRootProps = ProcessPanelRootDataProps & ProcessPanelRootActionProps;
-export const ProcessPanelRoot = ({
process, ...props
}: ProcessPanelRootProps) =>
+export const ProcessPanelRoot = ({
process, ...props
}: ProcessPanelRootProps) =>
process
? <Grid container spacing={16} alignItems="stretch">
<Grid item sm={12} md={7}>
<ProcessInformationCard
process={process}
process
? <Grid container spacing={16} alignItems="stretch">
<Grid item sm={12} md={7}>
<ProcessInformationCard
process={process}
- onContextMenu={event => props.onContextMenu(event, process)} />
+ onContextMenu={event => props.onContextMenu(event, process)}
+ openProcessInputDialog={props.openProcessInputDialog}
+ navigateToOutput={props.navigateToOutput}
+ openWorkflow={props.navigateToWorkflow}
+ cancelProcess={props.cancelProcess}
+ />
</Grid>
<Grid item sm={12} md={5}>
<SubprocessesCard
</Grid>
<Grid item sm={12} md={5}>
<SubprocessesCard