From 5bcfb0e16334c77cc3db22bba4781a448d8e2293 Mon Sep 17 00:00:00 2001 From: Dipanshu Gupta Date: Tue, 8 Oct 2024 22:14:33 +0530 Subject: [PATCH] Add explanation and copy action for the Pod name in the Pipeline run graph execution node drawer --- .../PipelineRunDrawerRightContent.tsx | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/frontend/src/concepts/pipelines/content/pipelinesDetails/pipelineRun/PipelineRunDrawerRightContent.tsx b/frontend/src/concepts/pipelines/content/pipelinesDetails/pipelineRun/PipelineRunDrawerRightContent.tsx index 87fb500b60..d50a22ac7d 100644 --- a/frontend/src/concepts/pipelines/content/pipelinesDetails/pipelineRun/PipelineRunDrawerRightContent.tsx +++ b/frontend/src/concepts/pipelines/content/pipelinesDetails/pipelineRun/PipelineRunDrawerRightContent.tsx @@ -1,17 +1,20 @@ import * as React from 'react'; import { + ClipboardCopy, DrawerActions, DrawerCloseButton, DrawerHead, DrawerPanelBody, DrawerPanelContent, - Text, + Popover, Title, } from '@patternfly/react-core'; +import { OutlinedQuestionCircleIcon } from '@patternfly/react-icons'; import PipelineRunDrawerRightTabs from '~/concepts/pipelines/content/pipelinesDetails/pipelineRun/PipelineRunDrawerRightTabs'; import './PipelineRunDrawer.scss'; import { PipelineTask } from '~/concepts/pipelines/topology'; import { Execution } from '~/third_party/mlmd'; +import DashboardPopupIconButton from '~/concepts/dashboard/DashboardPopupIconButton'; import { ArtifactNodeDrawerContent } from './artifacts'; type PipelineRunDrawerRightContentProps = { @@ -48,7 +51,19 @@ const PipelineRunDrawerRightContent: React.FC {task.name} - {task.status?.podName && {task.status.podName}} + {task.status?.podName && ( + <> + + {task.status.podName} + + + } + aria-label="More info" + /> + + + )}