Skip to content

Commit

Permalink
Fix newlines in text args
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Ohlsen <[email protected]>
  • Loading branch information
ohltyler committed Dec 5, 2022
1 parent f2b855e commit 789ffb7
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 16 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/unit-tests-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ jobs:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
# Enable longer filenames for windows
- name: Enable longer filenames
if: ${{ matrix.os == 'windows-latest' }}
run: git config --system core.longpaths true
- name: Checkout OpenSearch Dashboards
uses: actions/checkout@v2
with:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ function NameAndDescription(props: NameAndDescriptionProps) {
{({ field, form }: FieldProps) => (
<FormattedFormRow
title="Name"
hint="Specify a unique and descriptive name that is easy to
recognize."
hint="Specify a unique and descriptive name that is easy to recognize."
isInvalid={isInvalid(field.name, form)}
error={getError(field.name, form)}
helpText={`Detector name must contain 1-64 characters. Valid characters are
Expand Down
10 changes: 4 additions & 6 deletions public/pages/DefineDetector/components/Settings/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,9 @@ export const Settings = () => {
<FormattedFormRow
fullWidth
title="Detector interval"
hint="Define how often the detector collects data to generate
anomalies. The shorter the interval is, the more real time the
detector results will be, and the more computing resources the
detector will need."
hint={[
`Define how often the detector collects data to generate anomalies. The shorter the interval is, the more real time the detector results will be, and the more computing resources the detector will need.`
]}
hintLink={`${BASE_DOCS_LINK}/ad`}
isInvalid={isInvalid(field.name, form)}
error={getError(field.name, form)}
Expand Down Expand Up @@ -72,8 +71,7 @@ export const Settings = () => {
<FormattedFormRow
fullWidth
title="Window delay"
hint="Specify a window of delay for a detector to fetch data, if you
need to account for extra processing time."
hint="Specify a window of delay for a detector to fetch data, if you need to account for extra processing time."
hintLink={`${BASE_DOCS_LINK}/ad`}
isInvalid={isInvalid(field.name, form)}
error={getError(field.name, form)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ exports[`<Settings /> spec renders the component 1`] = `
>
<div
class="euiFormRow euiFormRow--fullWidth"
hint="Define how often the detector collects data to generate anomalies. The shorter the interval is, the more real time the detector results will be, and the more computing resources the detector will need."
hint="Define how often the detector collects data to generate anomalies. The shorter the interval is, the more real time the detector results will be, and the more computing resources the detector will need."
hintlink="https://opensearch.org/docs/monitoring-plugins/ad"
id="random_html_id-row"
title="Detector interval"
Expand All @@ -80,7 +80,7 @@ exports[`<Settings /> spec renders the component 1`] = `
class="euiText euiText--medium sublabel"
style="max-width: 400px;"
>
Define how often the detector collects data to generate anomalies. The shorter the interval is, the more real time the detector results will be, and the more computing resources the detector will need.
Define how often the detector collects data to generate anomalies. The shorter the interval is, the more real time the detector results will be, and the more computing resources the detector will need.
<a
class="euiLink euiLink--primary"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ exports[`<DefineDetector /> spec creating detector definition renders the compon
>
<div
class="euiFormRow euiFormRow--fullWidth"
hint="Define how often the detector collects data to generate anomalies. The shorter the interval is, the more real time the detector results will be, and the more computing resources the detector will need."
hint="Define how often the detector collects data to generate anomalies. The shorter the interval is, the more real time the detector results will be, and the more computing resources the detector will need."
hintlink="https://opensearch.org/docs/monitoring-plugins/ad"
id="random_html_id-row"
title="Detector interval"
Expand All @@ -650,7 +650,7 @@ exports[`<DefineDetector /> spec creating detector definition renders the compon
class="euiText euiText--medium sublabel"
style="max-width: 400px;"
>
Define how often the detector collects data to generate anomalies. The shorter the interval is, the more real time the detector results will be, and the more computing resources the detector will need.
Define how often the detector collects data to generate anomalies. The shorter the interval is, the more real time the detector results will be, and the more computing resources the detector will need.
<a
class="euiLink euiLink--primary"
Expand Down Expand Up @@ -1604,7 +1604,7 @@ exports[`<DefineDetector /> spec editing detector definition renders the compone
>
<div
class="euiFormRow euiFormRow--fullWidth"
hint="Define how often the detector collects data to generate anomalies. The shorter the interval is, the more real time the detector results will be, and the more computing resources the detector will need."
hint="Define how often the detector collects data to generate anomalies. The shorter the interval is, the more real time the detector results will be, and the more computing resources the detector will need."
hintlink="https://opensearch.org/docs/monitoring-plugins/ad"
id="random_html_id-row"
title="Detector interval"
Expand All @@ -1628,7 +1628,7 @@ exports[`<DefineDetector /> spec editing detector definition renders the compone
class="euiText euiText--medium sublabel"
style="max-width: 400px;"
>
Define how often the detector collects data to generate anomalies. The shorter the interval is, the more real time the detector results will be, and the more computing resources the detector will need.
Define how often the detector collects data to generate anomalies. The shorter the interval is, the more real time the detector results will be, and the more computing resources the detector will need.
<a
class="euiLink euiLink--primary"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,7 @@ export function AnomalyDetectionOverview(props: AnomalyDetectionOverviewProps) {
<CreateWorkflowStepSeparator />
<CreateWorkflowStepDetails
title="2. Configure your detector"
content="Choose the fields in your index that you want to check for anomalies.
You may also set a category field to see a granular view of anomalies within each entity."
content="Choose the fields in your index that you want to check for anomalies. You may also set a category field to see a granular view of anomalies within each entity."
/>
<CreateWorkflowStepSeparator />
<CreateWorkflowStepDetails
Expand Down

0 comments on commit 789ffb7

Please sign in to comment.