Skip to content

Commit

Permalink
[Index Management] Small copy change for index settings callout (elas…
Browse files Browse the repository at this point in the history
…tic#201264)

## Summary

A small update on the copy of the index settings callout, based on
feedback we received from @tylerperk.

<img width="1516" alt="Screenshot 2024-11-21 at 18 07 40"
src="https://github.com/user-attachments/assets/7e50b60c-abb8-472d-b0c2-6b98fc0d1026">

(cherry picked from commit cb63818)
  • Loading branch information
ElenaStoeva committed Nov 25, 2024
1 parent 6fce9c1 commit 1697585
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ describe('<TemplateCreate />', () => {

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.'
);
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export const StepSettings: React.FunctionComponent<Props> = React.memo(
title={
<FormattedMessage
id="xpack.idxMgmt.formWizard.stepSettings.indexModeCallout.title"
defaultMessage="The {settingName} setting has been set to {indexMode} within template {logisticsLink}. Any changes to {settingName} set on this page will be overwritten by the Logistics selection."
defaultMessage="The {settingName} setting has been set to {indexMode} within the {logisticsLink}. Any changes to {settingName} set on this page will be overwritten by the Logistics selection."
values={{
settingName: (
<EuiCode>
Expand All @@ -110,7 +110,7 @@ export const StepSettings: React.FunctionComponent<Props> = React.memo(
{i18n.translate(
'xpack.idxMgmt.formWizard.stepSettings.indexModeCallout.logisticsLinkLabel',
{
defaultMessage: 'Logistics',
defaultMessage: 'Logistics step',
}
)}
</EuiLink>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1697585

Please sign in to comment.