projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
19438: Hooked up panel, no content yet
[arvados-workbench2.git]
/
src
/
views
/
process-panel
/
process-panel.tsx
diff --git
a/src/views/process-panel/process-panel.tsx
b/src/views/process-panel/process-panel.tsx
index 8adec3bd9f78cdce8558f5759f56ad54b37a46ee..d853fd091d767b6efcc4870689073263ac9dddfa 100644
(file)
--- a/
src/views/process-panel/process-panel.tsx
+++ b/
src/views/process-panel/process-panel.tsx
@@
-18,8
+18,12
@@
import {
} from 'store/process-panel/process-panel';
import { groupBy } from 'lodash';
import {
} from 'store/process-panel/process-panel';
import { groupBy } from 'lodash';
import {
+ loadInputs,
+ loadOutputDefinitions,
loadOutputs,
toggleProcessPanelFilter,
loadOutputs,
toggleProcessPanelFilter,
+ updateOutputParams,
+ loadNodeJson
} from 'store/process-panel/process-panel-actions';
import { cancelRunningWorkflow } from 'store/processes/processes-actions';
import { navigateToLogCollection, setProcessLogsPanelFilter } from 'store/process-logs-panel/process-logs-panel-actions';
} from 'store/process-panel/process-panel-actions';
import { cancelRunningWorkflow } from 'store/processes/processes-actions';
import { navigateToLogCollection, setProcessLogsPanelFilter } from 'store/process-logs-panel/process-logs-panel-actions';
@@
-34,6
+38,12
@@
const mapStateToProps = ({ router, auth, resources, processPanel, processLogsPan
filters: getFilters(processPanel, subprocesses),
processLogsPanel: processLogsPanel,
auth: auth,
filters: getFilters(processPanel, subprocesses),
processLogsPanel: processLogsPanel,
auth: auth,
+ inputRaw: processPanel.inputRaw,
+ inputParams: processPanel.inputParams,
+ outputRaw: processPanel.outputRaw,
+ outputDefinitions: processPanel.outputDefinitions,
+ outputParams: processPanel.outputParams,
+ nodeInfo: processPanel.nodeInfo,
};
};
};
};
@@
-54,7
+64,11
@@
const mapDispatchToProps = (dispatch: Dispatch): ProcessPanelRootActionProps =>
cancelProcess: (uuid) => dispatch<any>(cancelRunningWorkflow(uuid)),
onLogFilterChange: (filter) => dispatch(setProcessLogsPanelFilter(filter.value)),
navigateToLog: (uuid) => dispatch<any>(navigateToLogCollection(uuid)),
cancelProcess: (uuid) => dispatch<any>(cancelRunningWorkflow(uuid)),
onLogFilterChange: (filter) => dispatch(setProcessLogsPanelFilter(filter.value)),
navigateToLog: (uuid) => dispatch<any>(navigateToLogCollection(uuid)),
- fetchOutputs: (uuid, setOutputs) => dispatch<any>(loadOutputs(uuid, setOutputs)),
+ loadInputs: (containerRequest) => dispatch<any>(loadInputs(containerRequest)),
+ loadOutputs: (containerRequest) => dispatch<any>(loadOutputs(containerRequest)),
+ loadOutputDefinitions: (containerRequest) => dispatch<any>(loadOutputDefinitions(containerRequest)),
+ updateOutputParams: () => dispatch<any>(updateOutputParams()),
+ loadNodeJson: (containerRequest) => dispatch<any>(loadNodeJson(containerRequest)),
});
const getFilters = (processPanel: ProcessPanelState, processes: Process[]) => {
});
const getFilters = (processPanel: ProcessPanelState, processes: Process[]) => {
@@
-67,6
+81,6
@@
const getFilters = (processPanel: ProcessPanelState, processes: Process[]) => {
checked: processPanel.filters[filter],
key: filter,
}));
checked: processPanel.filters[filter],
key: filter,
}));
-
};
+};
export const ProcessPanel = connect(mapStateToProps, mapDispatchToProps)(ProcessPanelRoot);
export const ProcessPanel = connect(mapStateToProps, mapDispatchToProps)(ProcessPanelRoot);