[arvados-workbench2] updated: 2.4.0-361-g4ee2be43
git repository hosting
git at public.arvados.org
Thu Dec 1 20:05:00 UTC 2022
Summary of changes:
src/views-components/data-explorer/renderers.tsx | 8 ++++++++
src/views/project-panel/project-panel.tsx | 9 +++++++++
2 files changed, 17 insertions(+)
via 4ee2be435af08b2d7b4ff07fb41f190fa41e35f7 (commit)
from b2fcdb2fac8ba49fecca5c30fc56e63b71746cf3 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 4ee2be435af08b2d7b4ff07fb41f190fa41e35f7
Author: Lisa Knox <lisaknox83 at gmail.com>
Date: Thu Dec 1 15:04:56 2022 -0500
output UUID column up
Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox at curii.com>
diff --git a/src/views-components/data-explorer/renderers.tsx b/src/views-components/data-explorer/renderers.tsx
index b826aa2b..aa555a00 100644
--- a/src/views-components/data-explorer/renderers.tsx
+++ b/src/views-components/data-explorer/renderers.tsx
@@ -679,6 +679,14 @@ export const ResourceProcessUuid = connect(
return { uuid: process?.container?.uuid ? process?.container?.uuid : '' };
})((props: { uuid: string }) => renderUuid({ uuid: props.uuid }));
+
+export const ResourceOutputUuid = connect(
+ (state: RootState, props: { uuid: string }) => {
+ const process = getProcess(props.uuid)(state.resources)
+ const outputUuid = process?.containerRequest.outputUuid
+ return { uuid: outputUuid ? outputUuid : '' };
+ })((props: { uuid: string }) => renderUuid({ uuid: props.uuid }));
+
export const ResourceParentProcess = connect(
(state: RootState, props: { uuid: string }) => {
const process = getProcess(props.uuid)(state.resources)
diff --git a/src/views/project-panel/project-panel.tsx b/src/views/project-panel/project-panel.tsx
index 880ff3f2..3351e9d3 100644
--- a/src/views/project-panel/project-panel.tsx
+++ b/src/views/project-panel/project-panel.tsx
@@ -25,6 +25,7 @@ import {
ProcessStatus,
ResourceType,
ResourceUUID,
+ ResourceOutputUuid,
ResourceProcessUuid,
ResourceProcessState,
ResourceParentProcess,
@@ -79,6 +80,7 @@ export enum ProjectPanelColumnNames {
UUID = "UUID",
STATE = 'State',
CONTAINER_UUID = "Container UUID",
+ OUTPUT_UUID = "Output UUID",
PARENT_PROCESS = 'Parent process',
CREATED_AT = "Date created",
LAST_MODIFIED = "Last modified",
@@ -152,6 +154,13 @@ export const projectPanelColumns: DataColumns<string> = [
filters: createTree(),
render: uuid => <ResourceProcessUuid uuid={uuid}/>
},
+ {
+ name: ProjectPanelColumnNames.OUTPUT_UUID,
+ selected: false,
+ configurable: true,
+ filters: createTree(),
+ render: uuid => <ResourceOutputUuid uuid={uuid}/>
+ },
{
name: ProjectPanelColumnNames.STATE,
selected: true,
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list