From cefd1f72179538c35699f2b6c1bdbc72faef38e0 Mon Sep 17 00:00:00 2001 From: "Eyo O. Eyo" <7893459+eokoneyo@users.noreply.github.com> Date: Tue, 24 Oct 2023 14:45:33 +0200 Subject: [PATCH] Align get started text across serverless product offerings (#169614) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary This PR addresses https://github.com/elastic/kibana/issues/166545#issuecomment-1768128935 by aligning the call to action text in Observability and Search Serverless offering. ### Checklist - [x] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md) --------- Co-authored-by: Sébastien Loix --- .../public/components/side_navigation/index.tsx | 2 +- x-pack/plugins/serverless_search/public/layout/nav.tsx | 2 +- .../functional/test_suites/search/empty_page.ts | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/x-pack/plugins/serverless_observability/public/components/side_navigation/index.tsx b/x-pack/plugins/serverless_observability/public/components/side_navigation/index.tsx index 9a8b5350c6857..8f02bc29dff30 100644 --- a/x-pack/plugins/serverless_observability/public/components/side_navigation/index.tsx +++ b/x-pack/plugins/serverless_observability/public/components/side_navigation/index.tsx @@ -179,7 +179,7 @@ const navigationTree: NavigationTreeDefinition = { { type: 'navItem', title: i18n.translate('xpack.serverlessObservability.nav.getStarted', { - defaultMessage: 'Get Started', + defaultMessage: 'Get started', }), link: 'observabilityOnboarding', icon: 'launch', diff --git a/x-pack/plugins/serverless_search/public/layout/nav.tsx b/x-pack/plugins/serverless_search/public/layout/nav.tsx index fc71f9b05324c..780b4ecb77ba1 100644 --- a/x-pack/plugins/serverless_search/public/layout/nav.tsx +++ b/x-pack/plugins/serverless_search/public/layout/nav.tsx @@ -122,7 +122,7 @@ const navigationTree: NavigationTreeDefinition = { type: 'navItem', id: 'search_getting_started', title: i18n.translate('xpack.serverlessSearch.nav.gettingStarted', { - defaultMessage: 'Getting started', + defaultMessage: 'Get started', }), icon: 'launch', link: 'serverlessElasticsearch', diff --git a/x-pack/test_serverless/functional/test_suites/search/empty_page.ts b/x-pack/test_serverless/functional/test_suites/search/empty_page.ts index 0f3be7d382f90..18af7995b1419 100644 --- a/x-pack/test_serverless/functional/test_suites/search/empty_page.ts +++ b/x-pack/test_serverless/functional/test_suites/search/empty_page.ts @@ -30,7 +30,7 @@ export default function ({ getPageObject, getService }: FtrProviderContext) { await testSubjects.existOrFail('~breadcrumb-deepLinkId-discover'); await testSubjects.existOrFail('kbnOverviewElasticsearchGettingStarted'); await testSubjects.click('kbnOverviewElasticsearchGettingStarted'); - await svlCommonNavigation.breadcrumbs.expectBreadcrumbExists({ text: 'Getting started' }); + await svlCommonNavigation.breadcrumbs.expectBreadcrumbExists({ text: 'Get started' }); }); it('should show search specific empty page in visualize', async () => { @@ -38,7 +38,7 @@ export default function ({ getPageObject, getService }: FtrProviderContext) { await testSubjects.existOrFail('~breadcrumb-deepLinkId-visualize'); await testSubjects.existOrFail('kbnOverviewElasticsearchGettingStarted'); await testSubjects.click('kbnOverviewElasticsearchGettingStarted'); - await svlCommonNavigation.breadcrumbs.expectBreadcrumbExists({ text: 'Getting started' }); + await svlCommonNavigation.breadcrumbs.expectBreadcrumbExists({ text: 'Get started' }); }); it('should show search specific empty page in dashboards', async () => { @@ -46,7 +46,7 @@ export default function ({ getPageObject, getService }: FtrProviderContext) { await testSubjects.existOrFail('~breadcrumb-deepLinkId-dashboards'); await testSubjects.existOrFail('kbnOverviewElasticsearchGettingStarted'); await testSubjects.click('kbnOverviewElasticsearchGettingStarted'); - await svlCommonNavigation.breadcrumbs.expectBreadcrumbExists({ text: 'Getting started' }); + await svlCommonNavigation.breadcrumbs.expectBreadcrumbExists({ text: 'Get started' }); }); }); }