Skip to content

Commit

Permalink
bugfix: move namespace description text to namespace element (#105795) (
Browse files Browse the repository at this point in the history
#106081)

Co-authored-by: Mark Hopkin <mark.hopkin@elastic.co>
  • Loading branch information
kibanamachine and hop-dev authored Jul 19, 2021
1 parent e4016a4 commit 41416d8
Showing 1 changed file with 19 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,22 +163,6 @@ export const StepDefinePackagePolicy: React.FunctionComponent<{
defaultMessage="Description"
/>
}
helpText={
<FormattedMessage
id="xpack.fleet.createPackagePolicy.stepConfigure.packagePolicyNamespaceHelpLabel"
defaultMessage="Change the default namespace inherited from the selected Agent policy. This setting changes the name of the integration's data stream. {learnMore}."
values={{
learnMore: (
<EuiLink href={docLinks.links.fleet.datastreamsNamingScheme} target="_blank">
{i18n.translate(
'xpack.fleet.createPackagePolicy.stepConfigure.packagePolicyNamespaceHelpLearnMoreLabel',
{ defaultMessage: 'Learn more' }
)}
</EuiLink>
),
}}
/>
}
labelAppend={
<EuiText size="xs" color="subdued">
<FormattedMessage
Expand Down Expand Up @@ -275,6 +259,25 @@ export const StepDefinePackagePolicy: React.FunctionComponent<{
defaultMessage="Namespace"
/>
}
helpText={
<FormattedMessage
id="xpack.fleet.createPackagePolicy.stepConfigure.packagePolicyNamespaceHelpLabel"
defaultMessage="Change the default namespace inherited from the selected Agent policy. This setting changes the name of the integration's data stream. {learnMore}."
values={{
learnMore: (
<EuiLink
href={docLinks.links.fleet.datastreamsNamingScheme}
target="_blank"
>
{i18n.translate(
'xpack.fleet.createPackagePolicy.stepConfigure.packagePolicyNamespaceHelpLearnMoreLabel',
{ defaultMessage: 'Learn more' }
)}
</EuiLink>
),
}}
/>
}
>
<EuiComboBox
noSuggestions
Expand Down

0 comments on commit 41416d8

Please sign in to comment.