Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ML] Fixes word wrap in Overview page sidebar on IE #50668

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 6 additions & 8 deletions x-pack/legacy/plugins/ml/public/overview/components/sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ function getCreateJobLink(createAnomalyDetectionJobDisabled: boolean) {
return createAnomalyDetectionJobDisabled === true ? (
<FormattedMessage
id="xpack.ml.overview.gettingStartedSectionCreateJob"
defaultMessage="creating a new job"
defaultMessage="creating a new job"
/>
) : (
<EuiLink href={createJobLink} target="blank">
<FormattedMessage
id="xpack.ml.overview.gettingStartedSectionCreateJob"
defaultMessage="creating a new job"
defaultMessage="creating a new job"
/>
</EuiLink>
);
Expand All @@ -43,15 +43,13 @@ export const OverviewSideBar: FC<Props> = ({ createAnomalyDetectionJobDisabled }
<h2>
<FormattedMessage
id="xpack.ml.overview.gettingStartedSectionTitle"
defaultMessage="Getting Started"
defaultMessage="Getting started"
/>
</h2>
<p>
<FormattedMessage
id="xpack.ml.overview.gettingStartedSectionText"
defaultMessage="Welcome to Machine Learning. Get started by reviewing our {docs} or {createJob}.
For more information about machine learning in the Elastic stack please see {whatIsMachineLearning}.
We recommend using {transforms} to create feature indices for analytics jobs."
defaultMessage="Welcome to Machine Learning. Get started by reviewing our {docs} or {createJob}. For more information about machine learning in the Elastic stack please see {whatIsMachineLearning}. We recommend using {transforms} to create feature indices for analytics jobs."
values={{
docs: (
<EuiLink href={docsLink} target="blank">
Expand Down Expand Up @@ -87,13 +85,13 @@ export const OverviewSideBar: FC<Props> = ({ createAnomalyDetectionJobDisabled }
<p>
<FormattedMessage
id="xpack.ml.overview.feedbackSectionText"
defaultMessage="If you have input or suggestions regarding your experience with Machine Learning please feel free to submit {feedbackLink}."
defaultMessage="If you have input or suggestions regarding your experience with Machine Learning please feel free to submit {feedbackLink}."
values={{
feedbackLink: (
<EuiLink href={feedbackLink} target="blank">
<FormattedMessage
id="xpack.ml.overview.feedbackSectionLink"
defaultMessage="feedback online"
defaultMessage="feedback online"
/>
</EuiLink>
),
Expand Down