From 9985585618006d2ae46cdab9691f6ac2585f91bc Mon Sep 17 00:00:00 2001 From: Jeffrey Phillips Date: Wed, 3 Apr 2024 12:46:24 -0400 Subject: [PATCH] [RHOAIENG-4996] Show popover help for non-empty pipelines/notebooks cards --- .../screens/detail/overview/trainModels/NotebooksCard.tsx | 2 -- .../screens/detail/overview/trainModels/PipelinesCard.tsx | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/frontend/src/pages/projects/screens/detail/overview/trainModels/NotebooksCard.tsx b/frontend/src/pages/projects/screens/detail/overview/trainModels/NotebooksCard.tsx index 7b1036b9a9..34230e23a6 100644 --- a/frontend/src/pages/projects/screens/detail/overview/trainModels/NotebooksCard.tsx +++ b/frontend/src/pages/projects/screens/detail/overview/trainModels/NotebooksCard.tsx @@ -96,8 +96,6 @@ const NotebooksCard: React.FC = () => { objectType={ProjectObjectType.notebook} sectionType={SectionType.training} title="Workbenches" - popoverHeaderContent="About workbenches" - popoverBodyContent="Creating a workbench allows you to add a Jupyter notebook to your project." > diff --git a/frontend/src/pages/projects/screens/detail/overview/trainModels/PipelinesCard.tsx b/frontend/src/pages/projects/screens/detail/overview/trainModels/PipelinesCard.tsx index c711b01b11..e552eff4e0 100644 --- a/frontend/src/pages/projects/screens/detail/overview/trainModels/PipelinesCard.tsx +++ b/frontend/src/pages/projects/screens/detail/overview/trainModels/PipelinesCard.tsx @@ -210,9 +210,9 @@ const PipelinesCard: React.FC = () => { objectType={ProjectObjectType.pipeline} sectionType={pipelinesCount ? SectionType.training : SectionType.organize} title="Pipelines" - popoverHeaderContent={!pipelinesCount ? 'About pipelines' : undefined} + popoverHeaderContent={pipelinesCount ? 'About pipelines' : undefined} popoverBodyContent={ - !pipelinesCount + pipelinesCount ? 'Standardize and automate machine learning workflows to enable you to further enhance and deploy your data science models.' : undefined }