From 1697585b293c3a2bcdc8f16638fd5018a135a0fe Mon Sep 17 00:00:00 2001
From: Elena Stoeva <59341489+ElenaStoeva@users.noreply.github.com>
Date: Mon, 25 Nov 2024 14:40:16 +0000
Subject: [PATCH] [Index Management] Small copy change for index settings
callout (#201264)
## Summary
A small update on the copy of the index settings callout, based on
feedback we received from @tylerperk.
(cherry picked from commit cb63818b6faccdd9602cc1992b8bb337913fc9a7)
---
.../index_template_wizard/template_create.test.tsx | 2 +-
.../shared/components/wizard_steps/step_settings.tsx | 4 ++--
.../functional/apps/index_management/index_template_wizard.ts | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/x-pack/plugins/index_management/__jest__/client_integration/index_template_wizard/template_create.test.tsx b/x-pack/plugins/index_management/__jest__/client_integration/index_template_wizard/template_create.test.tsx
index 7ba6832b8833d..4992c1391635f 100644
--- a/x-pack/plugins/index_management/__jest__/client_integration/index_template_wizard/template_create.test.tsx
+++ b/x-pack/plugins/index_management/__jest__/client_integration/index_template_wizard/template_create.test.tsx
@@ -315,7 +315,7 @@ describe('', () => {
expect(exists('indexModeCallout')).toBe(true);
expect(find('indexModeCallout').text()).toContain(
- 'The index.mode setting has been set to Standard within template Logistics.'
+ 'The index.mode setting has been set to Standard within the Logistics step.'
);
});
diff --git a/x-pack/plugins/index_management/public/application/components/shared/components/wizard_steps/step_settings.tsx b/x-pack/plugins/index_management/public/application/components/shared/components/wizard_steps/step_settings.tsx
index 38a11f03c7ee6..cc12cfc988d5b 100644
--- a/x-pack/plugins/index_management/public/application/components/shared/components/wizard_steps/step_settings.tsx
+++ b/x-pack/plugins/index_management/public/application/components/shared/components/wizard_steps/step_settings.tsx
@@ -92,7 +92,7 @@ export const StepSettings: React.FunctionComponent = React.memo(
title={
@@ -110,7 +110,7 @@ export const StepSettings: React.FunctionComponent = React.memo(
{i18n.translate(
'xpack.idxMgmt.formWizard.stepSettings.indexModeCallout.logisticsLinkLabel',
{
- defaultMessage: 'Logistics',
+ defaultMessage: 'Logistics step',
}
)}
diff --git a/x-pack/test/functional/apps/index_management/index_template_wizard.ts b/x-pack/test/functional/apps/index_management/index_template_wizard.ts
index d932b96d4f6a1..8103dfc0776db 100644
--- a/x-pack/test/functional/apps/index_management/index_template_wizard.ts
+++ b/x-pack/test/functional/apps/index_management/index_template_wizard.ts
@@ -70,7 +70,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
// Verify that index mode callout is displayed
const indexModeCalloutText = await testSubjects.getVisibleText('indexModeCallout');
expect(indexModeCalloutText).to.be(
- 'The index.mode setting has been set to Standard within template Logistics. Any changes to index.mode set on this page will be overwritten by the Logistics selection.'
+ 'The index.mode setting has been set to Standard within the Logistics step. Any changes to index.mode set on this page will be overwritten by the Logistics selection.'
);
// Click Next button