Skip to content

Commit

Permalink
[Enterprise Search] Minor update to Elastic Cloud instructions copy p…
Browse files Browse the repository at this point in the history
…er feedback (#84584)

* Update Elastic Cloud instructions copy

* this is what happens when you go OOO for a week

* Update tests
  • Loading branch information
Constance committed Nov 30, 2020
1 parent d93e211 commit 5ed39f2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ describe('CloudSetupInstructions', () => {
);
const cloudDeploymentLink = wrapper.find(EuiLink).first();
expect(cloudDeploymentLink.prop('href')).toEqual(
'https://cloud.elastic.co/deployments/some-id'
'https://cloud.elastic.co/deployments/some-id/edit'
);
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,18 @@ export const CloudSetupInstructions: React.FC<Props> = ({ productName, cloudDepl
steps={[
{
title: i18n.translate('xpack.enterpriseSearch.setupGuide.cloud.step1.title', {
defaultMessage: 'Edit your Elastic Cloud deployment’s configuration',
defaultMessage: 'Edit your deployment’s configuration',
}),
children: (
<EuiText>
<p>
<FormattedMessage
id="xpack.enterpriseSearch.setupGuide.cloud.step1.instruction1"
defaultMessage="{visitCloudLink} and select your deployment. Within your deployment, select “Edit” from the sidebar to manage your deployment’s configuration."
defaultMessage="Visit the Elastic Cloud console to {editDeploymentLink}."
values={{
visitCloudLink: cloudDeploymentLink ? (
<EuiLink href={cloudDeploymentLink} target="_blank">
Visit the Elastic Cloud console
editDeploymentLink: cloudDeploymentLink ? (
<EuiLink href={cloudDeploymentLink + '/edit'} target="_blank">
edit your deployment
</EuiLink>
) : (
'Visit the Elastic Cloud console'
Expand Down

0 comments on commit 5ed39f2

Please sign in to comment.