From ac836c4270c5c5a0407176133a64e4cf623f2960 Mon Sep 17 00:00:00 2001 From: Dave Snider Date: Thu, 14 Oct 2021 10:54:14 -0400 Subject: [PATCH] empty state card updates. change add data to add integrations --- src/core/public/chrome/ui/header/collapsible_nav.tsx | 2 +- .../application/components/add_data/add_data.tsx | 8 ++++---- .../public/components/overview/overview.tsx | 12 ++++++++++-- 3 files changed, 15 insertions(+), 7 deletions(-) diff --git a/src/core/public/chrome/ui/header/collapsible_nav.tsx b/src/core/public/chrome/ui/header/collapsible_nav.tsx index ad590865b9e14..ccc0e17b655b1 100644 --- a/src/core/public/chrome/ui/header/collapsible_nav.tsx +++ b/src/core/public/chrome/ui/header/collapsible_nav.tsx @@ -362,7 +362,7 @@ export function CollapsibleNav({ iconType="plusInCircleFilled" > {i18n.translate('core.ui.primaryNav.addData', { - defaultMessage: 'Add data', + defaultMessage: 'Add integrations', })} diff --git a/src/plugins/home/public/application/components/add_data/add_data.tsx b/src/plugins/home/public/application/components/add_data/add_data.tsx index 97ba28a04a07e..b3e624be81e9e 100644 --- a/src/plugins/home/public/application/components/add_data/add_data.tsx +++ b/src/plugins/home/public/application/components/add_data/add_data.tsx @@ -45,7 +45,7 @@ export const AddData: FC = ({ addBasePath, application, isDarkMode }) =>

@@ -70,16 +70,16 @@ export const AddData: FC = ({ addBasePath, application, isDarkMode }) => { trackUiMetric(METRIC_TYPE.CLICK, 'home_tutorial_directory'); - createAppNavigationHandler('/app/home#/tutorial_directory')(event); + createAppNavigationHandler('/app/integrations/browse')(event); }} > diff --git a/src/plugins/kibana_overview/public/components/overview/overview.tsx b/src/plugins/kibana_overview/public/components/overview/overview.tsx index 07769e2f3c474..4da49a904ed53 100644 --- a/src/plugins/kibana_overview/public/components/overview/overview.tsx +++ b/src/plugins/kibana_overview/public/components/overview/overview.tsx @@ -86,8 +86,16 @@ export const Overview: FC = ({ newsFetchResult, solutions, features }) => }), logo: 'logoKibana', actions: { - beats: { - href: addBasePath(`home#/tutorial_directory`), + elasticAgent: { + category: 'security', + title: i18n.translate('kibanaOverview.noDataConfig.title', { + defaultMessage: 'Add an integration', + }), + description: i18n.translate('kibanaOverview.noDataConfig.description', { + defaultMessage: + 'Use Elastic Agent or Beats to collect data and build out Analytics solutions.', + }), + href: addBasePath(`/app/integrations/browse`), }, }, docsLink: docLinks.links.kibana,