[arvados-workbench2] updated: 2.4.0-362-g19fbb230

git repository hosting git at public.arvados.org
Thu Dec 1 20:47:04 UTC 2022


Summary of changes:
 src/views-components/data-explorer/renderers.tsx | 9 +++++++--
 src/views/project-panel/project-panel.tsx        | 9 +++++++++
 2 files changed, 16 insertions(+), 2 deletions(-)

       via  19fbb2305b4bbd3443d4a52e556e8018cb4d73cb (commit)
      from  4ee2be435af08b2d7b4ff07fb41f190fa41e35f7 (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 19fbb2305b4bbd3443d4a52e556e8018cb4d73cb
Author: Lisa Knox <lisaknox83 at gmail.com>
Date:   Thu Dec 1 15:46:58 2022 -0500

    log uuid collumn 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 aa555a00..f37b167d 100644
--- a/src/views-components/data-explorer/renderers.tsx
+++ b/src/views-components/data-explorer/renderers.tsx
@@ -669,7 +669,6 @@ const renderProcessState = (processState: string) => <Typography>{processState |
 export const ResourceProcessState = connect(
     (state: RootState, props: { uuid: string }) => {
         const process = getProcess(props.uuid)(state.resources)
-        // console.log('PROCESS>>>', process)
         return { state: process?.container?.state ? process?.container?.state : '' };
     })((props: { state: string }) => renderProcessState(props.state));
 
@@ -679,7 +678,6 @@ 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)
@@ -687,6 +685,13 @@ export const ResourceOutputUuid = connect(
         return { uuid: outputUuid ? outputUuid : '' };
     })((props: { uuid: string }) => renderUuid({ uuid: props.uuid }));
 
+export const ResourceLogUuid = connect(
+    (state: RootState, props: { uuid: string }) => {
+        const process = getProcess(props.uuid)(state.resources)
+        const logUuid = process?.containerRequest.logUuid
+        return { uuid: logUuid ? logUuid : '' };
+    })((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 3351e9d3..c7e7212b 100644
--- a/src/views/project-panel/project-panel.tsx
+++ b/src/views/project-panel/project-panel.tsx
@@ -26,6 +26,7 @@ import {
     ResourceType,
     ResourceUUID,
     ResourceOutputUuid,
+    ResourceLogUuid,
     ResourceProcessUuid,
     ResourceProcessState,
     ResourceParentProcess,
@@ -81,6 +82,7 @@ export enum ProjectPanelColumnNames {
     STATE = 'State',
     CONTAINER_UUID = "Container UUID",
     OUTPUT_UUID = "Output UUID",
+    LOG_UUID = "Log UUID",
     PARENT_PROCESS = 'Parent process',
     CREATED_AT = "Date created",
     LAST_MODIFIED = "Last modified",
@@ -161,6 +163,13 @@ export const projectPanelColumns: DataColumns<string> = [
         filters: createTree(),
         render: uuid => <ResourceOutputUuid uuid={uuid}/>
     },
+    {
+        name: ProjectPanelColumnNames.LOG_UUID,
+        selected: false,
+        configurable: true,
+        filters: createTree(),
+        render: uuid => <ResourceLogUuid uuid={uuid}/>
+    },
     {
         name: ProjectPanelColumnNames.STATE,
         selected: true,

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list