From 8580b3797ff5dce471f0edd70a3488b72bf4fdd1 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 19 Sep 2024 23:14:28 +0000 Subject: [PATCH] Replaced EuiText with EuiTitle for section headers in content areas (#1182) Signed-off-by: Kshitij Tandon (cherry picked from commit 827799c96437a33f09370a3d865dd4b823990534) Signed-off-by: github-actions[bot] --- .../ChannelNotification.tsx | 2 +- .../ChannelNotification.test.tsx.snap | 2 +- public/components/IndexDetail/IndexDetail.tsx | 18 ++++---- .../__snapshots__/IndexDetail.test.tsx.snap | 12 ++--- .../ErrorNotification.test.tsx.snap | 2 +- .../__snapshots__/IndexDetail.test.tsx.snap | 10 ++-- public/containers/IndexDetail/index.tsx | 4 +- .../__snapshots__/IndexForm.test.tsx.snap | 40 ++++++---------- .../NotificationConfig/NotificationConfig.tsx | 6 ++- .../ChangeManagedIndices.tsx | 6 +-- .../ChangeManagedIndices.test.tsx.snap | 10 ++-- .../components/NewPolicy/NewPolicy.tsx | 5 +- .../__snapshots__/NewPolicy.test.tsx.snap | 10 ++-- .../__snapshots__/ChangePolicy.test.tsx.snap | 20 ++++---- .../IndexSettings/IndexSettings.tsx | 8 ++-- .../CreateComposableTemplate.test.tsx.snap | 46 +++++++------------ .../DefineTemplate/DefineTemplate.tsx | 6 +-- .../containers/IndexAlias/IndexAlias.tsx | 8 ++-- .../TemplateDetail.test.tsx.snap | 46 +++++++------------ .../TemplateMappings/TemplateMappings.tsx | 8 ++-- .../BackingIndices/BackingIndices.tsx | 4 +- .../CreateDataStream.test.tsx.snap | 10 ++-- .../DataStreamDetail.test.tsx.snap | 10 ++-- .../DefineDataStream/DefineDataStream.tsx | 9 ++-- .../DefineTemplate/DefineTemplate.tsx | 5 +- .../DefineTemplate/OverviewTemplate.tsx | 6 +-- .../DefineTemplate.test.tsx.snap | 20 ++++---- .../CreateIndexTemplate.test.tsx.snap | 20 ++++---- .../TemplateDetail/TemplateDetail.tsx | 12 ++--- .../TemplateDetail.test.tsx.snap | 20 ++++---- .../ConfigurePolicy/ConfigurePolicy.tsx | 16 +++++-- .../ConfigurePolicy.test.tsx.snap | 10 ++-- .../components/DefinePolicy/DefinePolicy.tsx | 5 +- .../__snapshots__/DefinePolicy.test.tsx.snap | 10 ++-- .../__snapshots__/CreatePolicy.test.tsx.snap | 20 ++++---- .../AdvancedAggregation.tsx | 8 ++-- .../ConfigureRollup/ConfigureRollup.tsx | 5 +- .../HistogramAndMetrics.tsx | 5 +- .../JobNameAndIndices/JobNameAndIndices.tsx | 6 +-- .../MetricsCalculation/MetricsCalculation.tsx | 12 ++--- .../RollupIndices/RollupIndices.tsx | 17 +++++-- .../components/Schedule/Schedule.tsx | 5 +- .../ScheduleRolesAndNotifications.tsx | 6 +-- .../TimeAggregations/TimeAggregation.tsx | 4 +- .../CreateRollupForm.test.tsx.snap | 20 ++++---- .../components/Notification/Notification.tsx | 2 +- .../CreateSnapshotPolicy.tsx | 24 +++++----- .../ConfigureTransform/ConfigureTransform.tsx | 5 +- .../DefineTransforms/DefineTransforms.tsx | 6 +-- .../JobNameAndIndices/JobNameAndIndices.tsx | 6 +-- .../ReviewDefinition/ReviewDefinition.tsx | 18 ++++++-- .../ReviewSchedule/ReviewSchedule.tsx | 6 +-- .../components/Schedule/Schedule.tsx | 5 +- .../TransformIndices/TransformIndices.tsx | 5 +- .../CreateTransformForm.test.tsx.snap | 20 ++++---- .../__snapshots__/EditRollup.test.tsx.snap | 20 ++++---- .../container/ForceMerge/ForceMerge.tsx | 8 ++-- .../__snapshots__/ForceMerge.test.tsx.snap | 20 ++++---- .../containers/IndexDetail/IndexDetail.tsx | 16 +++---- .../Notifications/Notifications.tsx | 6 +-- .../__snapshots__/Notifications.test.tsx.snap | 14 +++--- .../PolicySettings/PolicySettings.tsx | 6 +-- .../PolicySettings.test.tsx.snap | 10 ++-- .../PolicyDetails/PolicyDetails.tsx | 4 +- .../CreateIndexFlyout.test.tsx.snap | 40 ++++++---------- .../Reindex/container/Reindex/Reindex.tsx | 12 ++--- .../__snapshots__/Reindex.test.tsx.snap | 30 +++++------- .../Rollover/containers/Rollover/Rollover.tsx | 4 +- .../__snapshots__/Rollover.test.tsx.snap | 10 ++-- .../AggregationAndMetricsSettings.tsx | 5 +- .../GeneralInformation/GeneralInformation.tsx | 6 +-- .../components/RollupStatus/RollupStatus.tsx | 6 +-- .../container/ShrinkIndex/ShrinkIndex.tsx | 4 +- .../__snapshots__/ShrinkIndex.test.tsx.snap | 20 ++++---- .../SnapshotPolicyDetails.tsx | 20 ++++---- .../SplitIndexForm/SplitIndexForm.tsx | 5 +- .../ConfigureTransform/Configure.tsx | 8 ++-- .../GeneralInformation/GeneralInformation.tsx | 6 +-- .../Transforms/components/Indices/Indices.tsx | 9 ++-- .../components/Schedule/Schedule.tsx | 8 ++-- .../TransformStatus/TransformStatus.tsx | 6 +-- .../Transforms/TransformSettings.tsx | 8 ++-- .../__snapshots__/EditTransform.test.tsx.snap | 36 +++++---------- .../ChannelNotification.tsx | 2 +- .../components/ISMTemplates/ISMTemplates.tsx | 5 +- .../__snapshots__/ISMTemplates.test.tsx.snap | 10 ++-- .../components/PolicyInfo/PolicyInfo.tsx | 6 +-- .../__snapshots__/PolicyInfo.test.tsx.snap | 10 ++-- .../components/States/States.tsx | 5 +- .../States/__snapshots__/States.test.tsx.snap | 10 ++-- .../ErrorNotification/ErrorNotification.tsx | 15 +++--- .../ErrorNotification.test.tsx.snap | 16 +++---- 92 files changed, 479 insertions(+), 578 deletions(-) diff --git a/public/components/ChannelNotification/ChannelNotification.tsx b/public/components/ChannelNotification/ChannelNotification.tsx index 5b5d01bd1..ef11d04b5 100644 --- a/public/components/ChannelNotification/ChannelNotification.tsx +++ b/public/components/ChannelNotification/ChannelNotification.tsx @@ -57,7 +57,7 @@ const ChannelNotification = ({ /> - + Manage channels diff --git a/public/components/ChannelNotification/__snapshots__/ChannelNotification.test.tsx.snap b/public/components/ChannelNotification/__snapshots__/ChannelNotification.test.tsx.snap index 9b135ffd7..afdd7305a 100644 --- a/public/components/ChannelNotification/__snapshots__/ChannelNotification.test.tsx.snap +++ b/public/components/ChannelNotification/__snapshots__/ChannelNotification.test.tsx.snap @@ -91,7 +91,7 @@ exports[` spec renders the component 1`] = ` target="_blank" > EuiIconMock - - {" "} -

{title}

{" "} -
+ +

{title}

+
{content}
@@ -581,10 +580,9 @@ const IndexDetail = ( return ( <> - - {" "} -

Index settings

{" "} -
+ +

Index settings

+
{content}
@@ -628,12 +626,12 @@ const IndexDetail = ( return ( - +

Index mapping

-
+ spec renders the component 1`] = `
-
- -

- Define index -

- -
+ Define index +
diff --git a/public/containers/ErrorNotification/__snapshots__/ErrorNotification.test.tsx.snap b/public/containers/ErrorNotification/__snapshots__/ErrorNotification.test.tsx.snap index f44ef30dc..6bdd7306e 100644 --- a/public/containers/ErrorNotification/__snapshots__/ErrorNotification.test.tsx.snap +++ b/public/containers/ErrorNotification/__snapshots__/ErrorNotification.test.tsx.snap @@ -167,7 +167,7 @@ exports[` spec renders the component 1`] = ` target="_blank" > EuiIconMock spec render the component 1`] = `
-
-

- Source index details -

-
+ Source index details +
diff --git a/public/containers/IndexDetail/index.tsx b/public/containers/IndexDetail/index.tsx index dd68aecb9..61df58c26 100644 --- a/public/containers/IndexDetail/index.tsx +++ b/public/containers/IndexDetail/index.tsx @@ -43,9 +43,9 @@ export default function IndexDetail(props: IIndexDetailProps) { }, [props.indices.join(","), setLoading, setItems, coreServices]); return ( - +

Source index details

-
+ {items && items.length ? ( diff --git a/public/containers/IndexForm/__snapshots__/IndexForm.test.tsx.snap b/public/containers/IndexForm/__snapshots__/IndexForm.test.tsx.snap index 7b76a6aed..58a3dd9e7 100644 --- a/public/containers/IndexForm/__snapshots__/IndexForm.test.tsx.snap +++ b/public/containers/IndexForm/__snapshots__/IndexForm.test.tsx.snap @@ -5,15 +5,11 @@ exports[` spec render page 1`] = `
-
- -

- Define index -

- -
+ Define index +
@@ -183,15 +179,11 @@ exports[` spec render page 1`] = `
-
- -

- Index settings -

- -
+ Index settings +
@@ -593,16 +585,14 @@ exports[` spec render page 1`] = `
-
-

- Index mapping - - – optional - -

-
+ Index mapping + + – optional + +
- window.open("/app/notifications-dashboards#/channels")} iconType="popout"> + window.open("/app/notifications-dashboards#/channels")} + iconType="popout" + iconSide="right" + > Manage channels diff --git a/public/pages/ChangePolicy/components/ChangeManagedIndices/ChangeManagedIndices.tsx b/public/pages/ChangePolicy/components/ChangeManagedIndices/ChangeManagedIndices.tsx index 3ae9d6f78..2146ec8b9 100644 --- a/public/pages/ChangePolicy/components/ChangeManagedIndices/ChangeManagedIndices.tsx +++ b/public/pages/ChangePolicy/components/ChangeManagedIndices/ChangeManagedIndices.tsx @@ -4,7 +4,7 @@ */ import React, { Component } from "react"; -import { EuiSpacer, EuiCompressedComboBox, EuiCompressedFormRow, EuiText, EuiHorizontalRule, EuiPanel } from "@elastic/eui"; +import { EuiSpacer, EuiCompressedComboBox, EuiCompressedFormRow, EuiText, EuiHorizontalRule, EuiPanel, EuiTitle } from "@elastic/eui"; import { ContentPanel } from "../../../../components/ContentPanel"; import { ManagedIndexService } from "../../../../services"; import { ManagedIndexItem, State } from "../../../../../models/interfaces"; @@ -90,9 +90,9 @@ export default class ChangeManagedIndices extends Component - +

Choose managed indices

-
+
spec renders the component 1`] = `
-
-

- Choose managed indices -

-
+ Choose managed indices +
diff --git a/public/pages/ChangePolicy/components/NewPolicy/NewPolicy.tsx b/public/pages/ChangePolicy/components/NewPolicy/NewPolicy.tsx index 4f259ac05..fe8c41a1d 100644 --- a/public/pages/ChangePolicy/components/NewPolicy/NewPolicy.tsx +++ b/public/pages/ChangePolicy/components/NewPolicy/NewPolicy.tsx @@ -16,6 +16,7 @@ import { EuiIcon, EuiPanel, EuiHorizontalRule, + EuiTitle, } from "@elastic/eui"; import { ContentPanel } from "../../../../components/ContentPanel"; import { IndexService } from "../../../../services"; @@ -111,9 +112,9 @@ export default class NewPolicy extends React.Component - +

Choose new policy

-
+
diff --git a/public/pages/ChangePolicy/components/NewPolicy/__snapshots__/NewPolicy.test.tsx.snap b/public/pages/ChangePolicy/components/NewPolicy/__snapshots__/NewPolicy.test.tsx.snap index 931490a10..c4f4ac81c 100644 --- a/public/pages/ChangePolicy/components/NewPolicy/__snapshots__/NewPolicy.test.tsx.snap +++ b/public/pages/ChangePolicy/components/NewPolicy/__snapshots__/NewPolicy.test.tsx.snap @@ -4,13 +4,11 @@ exports[` spec renders the component 1`] = `
-
-

- Choose new policy -

-
+ Choose new policy +
diff --git a/public/pages/ChangePolicy/containers/ChangePolicy/__snapshots__/ChangePolicy.test.tsx.snap b/public/pages/ChangePolicy/containers/ChangePolicy/__snapshots__/ChangePolicy.test.tsx.snap index cc14a9634..6db3dcdad 100644 --- a/public/pages/ChangePolicy/containers/ChangePolicy/__snapshots__/ChangePolicy.test.tsx.snap +++ b/public/pages/ChangePolicy/containers/ChangePolicy/__snapshots__/ChangePolicy.test.tsx.snap @@ -17,13 +17,11 @@ exports[` spec renders the component 1`] = `
-
-

- Choose managed indices -

-
+ Choose managed indices +
@@ -206,13 +204,11 @@ exports[` spec renders the component 1`] = `
-
-

- Choose new policy -

-
+ Choose new policy +
diff --git a/public/pages/CreateComposableTemplate/components/IndexSettings/IndexSettings.tsx b/public/pages/CreateComposableTemplate/components/IndexSettings/IndexSettings.tsx index 4506b6727..985cebdcd 100644 --- a/public/pages/CreateComposableTemplate/components/IndexSettings/IndexSettings.tsx +++ b/public/pages/CreateComposableTemplate/components/IndexSettings/IndexSettings.tsx @@ -32,11 +32,9 @@ export default function IndexSettings(props: SubDetailProps) { - -

Index settings

-
- + +

Index settings

+
} noExtraPadding actions={ diff --git a/public/pages/CreateComposableTemplate/containers/CreateComposableTemplate/__snapshots__/CreateComposableTemplate.test.tsx.snap b/public/pages/CreateComposableTemplate/containers/CreateComposableTemplate/__snapshots__/CreateComposableTemplate.test.tsx.snap index 584a12512..091ad6f79 100644 --- a/public/pages/CreateComposableTemplate/containers/CreateComposableTemplate/__snapshots__/CreateComposableTemplate.test.tsx.snap +++ b/public/pages/CreateComposableTemplate/containers/CreateComposableTemplate/__snapshots__/CreateComposableTemplate.test.tsx.snap @@ -68,13 +68,11 @@ exports[` spec it goes to templates page when click
-
-

- Define component template -

-
+ Define component template +

spec it goes to templates page when click class="euiFormLabel euiFormRow__label" for="some_html_id" > -
-

- Index alias -

-
+ Index alias +
spec it goes to templates page when click
-
-

- Index settings -

-
+ Index settings +
spec it goes to templates page when click
-
-

- Index mapping -

-
+ Index mapping +
- +

{`Define component template`}

-
+
{content} diff --git a/public/pages/CreateComposableTemplate/containers/IndexAlias/IndexAlias.tsx b/public/pages/CreateComposableTemplate/containers/IndexAlias/IndexAlias.tsx index dea46d462..eab8f3556 100644 --- a/public/pages/CreateComposableTemplate/containers/IndexAlias/IndexAlias.tsx +++ b/public/pages/CreateComposableTemplate/containers/IndexAlias/IndexAlias.tsx @@ -23,11 +23,9 @@ export default function IndexAlias(props: SubDetailProps) { - -

Index alias

-
- + +

Index alias

+
} helpText="Allow the new indexes to be referenced by existing aliases or specify a new alias." > diff --git a/public/pages/CreateComposableTemplate/containers/TemplateDetail/__snapshots__/TemplateDetail.test.tsx.snap b/public/pages/CreateComposableTemplate/containers/TemplateDetail/__snapshots__/TemplateDetail.test.tsx.snap index 5f6b8944f..aaeb1d94c 100644 --- a/public/pages/CreateComposableTemplate/containers/TemplateDetail/__snapshots__/TemplateDetail.test.tsx.snap +++ b/public/pages/CreateComposableTemplate/containers/TemplateDetail/__snapshots__/TemplateDetail.test.tsx.snap @@ -53,13 +53,11 @@ exports[` spec render component 1`] = `
-
-

- Define component template -

-
+ Define component template +

spec render component 1`] = ` class="euiFormLabel euiFormRow__label" for="some_html_id" > -
-

- Index alias -

-
+ Index alias +
spec render component 1`] = `
-
-

- Index settings -

-
+ Index settings +
spec render component 1`] = `
-
-

- Index mapping -

-
+ Index mapping +
- - -

Index mapping

-
-
+ +

Index mapping

+
- +

Backing indexes

-
+

diff --git a/public/pages/CreateDataStream/containers/CreateDataStream/__snapshots__/CreateDataStream.test.tsx.snap b/public/pages/CreateDataStream/containers/CreateDataStream/__snapshots__/CreateDataStream.test.tsx.snap index 6797333ca..0298faf7a 100644 --- a/public/pages/CreateDataStream/containers/CreateDataStream/__snapshots__/CreateDataStream.test.tsx.snap +++ b/public/pages/CreateDataStream/containers/CreateDataStream/__snapshots__/CreateDataStream.test.tsx.snap @@ -97,13 +97,11 @@ exports[` spec it goes to data streams page when click cance

-
-

- Define data stream -

-
+ Define data stream +

spec render component 1`] = `
-
-

- Define data stream -

-
+ Define data stream +

- +

Data stream details

-
+
@@ -161,9 +162,9 @@ export default function DefineDataStream( ) : ( - +

Define data stream

-
+
diff --git a/public/pages/CreateIndexTemplate/components/DefineTemplate/DefineTemplate.tsx b/public/pages/CreateIndexTemplate/components/DefineTemplate/DefineTemplate.tsx index 5eb5a3cf4..a02d6e350 100644 --- a/public/pages/CreateIndexTemplate/components/DefineTemplate/DefineTemplate.tsx +++ b/public/pages/CreateIndexTemplate/components/DefineTemplate/DefineTemplate.tsx @@ -13,6 +13,7 @@ import { EuiText, EuiTextColor, EuiHorizontalRule, + EuiTitle, } from "@elastic/eui"; import { FLOW_ENUM, SubDetailProps } from "../../interface"; import CustomFormRow from "../../../../components/CustomFormRow"; @@ -34,9 +35,9 @@ export default function DefineTemplate(props: SubDetailProps) { }); return readonly ? null : ( - +

Template settings

-
+ {isEdit ? null : ( diff --git a/public/pages/CreateIndexTemplate/components/DefineTemplate/OverviewTemplate.tsx b/public/pages/CreateIndexTemplate/components/DefineTemplate/OverviewTemplate.tsx index f25b1430f..3e320f3c6 100644 --- a/public/pages/CreateIndexTemplate/components/DefineTemplate/OverviewTemplate.tsx +++ b/public/pages/CreateIndexTemplate/components/DefineTemplate/OverviewTemplate.tsx @@ -3,7 +3,7 @@ * SPDX-License-Identifier: Apache-2.0 */ import React from "react"; -import { EuiLink, EuiPanel, EuiSpacer, EuiText, EuiHorizontalRule } from "@elastic/eui"; +import { EuiLink, EuiPanel, EuiSpacer, EuiText, EuiHorizontalRule, EuiTitle } from "@elastic/eui"; import { SubDetailProps } from "../../interface"; import DescriptionListHoz from "../../../../components/DescriptionListHoz"; import { ROUTES } from "../../../../utils/constants"; @@ -71,9 +71,9 @@ export default function OverviewTemplate(props: SubDetailProps) { content ) : ( - +

Overview

-
+ {content}
diff --git a/public/pages/CreateIndexTemplate/components/DefineTemplate/__snapshots__/DefineTemplate.test.tsx.snap b/public/pages/CreateIndexTemplate/components/DefineTemplate/__snapshots__/DefineTemplate.test.tsx.snap index 245989880..1499d972c 100644 --- a/public/pages/CreateIndexTemplate/components/DefineTemplate/__snapshots__/DefineTemplate.test.tsx.snap +++ b/public/pages/CreateIndexTemplate/components/DefineTemplate/__snapshots__/DefineTemplate.test.tsx.snap @@ -5,13 +5,11 @@ exports[` spec renders the component in edit mode
-
-

- Template settings -

-
+ Template settings +
@@ -418,13 +416,11 @@ exports[` spec renders the component in non-edit m
-
-

- Template settings -

-
+ Template settings +
diff --git a/public/pages/CreateIndexTemplate/containers/CreateIndexTemplate/__snapshots__/CreateIndexTemplate.test.tsx.snap b/public/pages/CreateIndexTemplate/containers/CreateIndexTemplate/__snapshots__/CreateIndexTemplate.test.tsx.snap index 874d94be4..263310130 100644 --- a/public/pages/CreateIndexTemplate/containers/CreateIndexTemplate/__snapshots__/CreateIndexTemplate.test.tsx.snap +++ b/public/pages/CreateIndexTemplate/containers/CreateIndexTemplate/__snapshots__/CreateIndexTemplate.test.tsx.snap @@ -62,13 +62,11 @@ exports[` spec render template pages 1`] = `
-
-

- Overview -

-
+ Overview +
@@ -224,13 +222,11 @@ exports[` spec render template pages 1`] = `
-
-

- Preview template -

-
+ Preview template +

) => +

Preview template

- +
) : values._meta?.flow === FLOW_ENUM.COMPONENTS ? ( - +

Override template definition

-
+ ) : ( - +

Template definition

-
+ ) } subTitleText={ diff --git a/public/pages/CreateIndexTemplate/containers/TemplateDetail/__snapshots__/TemplateDetail.test.tsx.snap b/public/pages/CreateIndexTemplate/containers/TemplateDetail/__snapshots__/TemplateDetail.test.tsx.snap index c042f03bb..a63053e60 100644 --- a/public/pages/CreateIndexTemplate/containers/TemplateDetail/__snapshots__/TemplateDetail.test.tsx.snap +++ b/public/pages/CreateIndexTemplate/containers/TemplateDetail/__snapshots__/TemplateDetail.test.tsx.snap @@ -56,13 +56,11 @@ exports[` spec render component in non-edit-mode 1`] = `
-
-

- Template settings -

-
+ Template settings +
@@ -499,13 +497,11 @@ exports[` spec render component in non-edit-mode 1`] = `
-
-

- Template definition -

-
+ Template definition +

( - +

{`Name policy`}

-
+
{useNewUx ? ( diff --git a/public/pages/CreatePolicy/components/ConfigurePolicy/__snapshots__/ConfigurePolicy.test.tsx.snap b/public/pages/CreatePolicy/components/ConfigurePolicy/__snapshots__/ConfigurePolicy.test.tsx.snap index c791cf2db..16800496e 100644 --- a/public/pages/CreatePolicy/components/ConfigurePolicy/__snapshots__/ConfigurePolicy.test.tsx.snap +++ b/public/pages/CreatePolicy/components/ConfigurePolicy/__snapshots__/ConfigurePolicy.test.tsx.snap @@ -7,13 +7,11 @@ exports[` spec renders the component 1`] = `
-
-

- Name policy -

-
+ Name policy +

( - +

{`Define policy`}

-
+ diff --git a/public/pages/CreatePolicy/components/DefinePolicy/__snapshots__/DefinePolicy.test.tsx.snap b/public/pages/CreatePolicy/components/DefinePolicy/__snapshots__/DefinePolicy.test.tsx.snap index 1f52eef04..a09805e69 100644 --- a/public/pages/CreatePolicy/components/DefinePolicy/__snapshots__/DefinePolicy.test.tsx.snap +++ b/public/pages/CreatePolicy/components/DefinePolicy/__snapshots__/DefinePolicy.test.tsx.snap @@ -7,13 +7,11 @@ exports[` spec renders the component 1`] = `
-
-

- Define policy -

-
+ Define policy +
diff --git a/public/pages/CreatePolicy/containers/CreatePolicy/__snapshots__/CreatePolicy.test.tsx.snap b/public/pages/CreatePolicy/containers/CreatePolicy/__snapshots__/CreatePolicy.test.tsx.snap index 334b5a4ed..5545cd934 100644 --- a/public/pages/CreatePolicy/containers/CreatePolicy/__snapshots__/CreatePolicy.test.tsx.snap +++ b/public/pages/CreatePolicy/containers/CreatePolicy/__snapshots__/CreatePolicy.test.tsx.snap @@ -19,13 +19,11 @@ exports[` spec renders the create component 1`] = `
-
-

- Name policy -

-
+ Name policy +

spec renders the edit component 1`] = `
-
-

- Name policy -

-
+ Name policy +

- +

Additional aggregation{` (${selectedDimensionField.length})`}

-
+
- +

{" "} – optional{" "}

-
+
diff --git a/public/pages/CreateRollup/components/ConfigureRollup/ConfigureRollup.tsx b/public/pages/CreateRollup/components/ConfigureRollup/ConfigureRollup.tsx index 70dd2ff97..1d8283f6e 100644 --- a/public/pages/CreateRollup/components/ConfigureRollup/ConfigureRollup.tsx +++ b/public/pages/CreateRollup/components/ConfigureRollup/ConfigureRollup.tsx @@ -14,6 +14,7 @@ import { EuiFlexItem, EuiHorizontalRule, EuiPanel, + EuiTitle, } from "@elastic/eui"; interface ConfigureRollupProps { @@ -28,9 +29,9 @@ interface ConfigureRollupProps { const ConfigureRollup = ({ isEdit, rollupId, rollupIdError, onChangeName, onChangeDescription, description }: ConfigureRollupProps) => ( - +

Job name and description

-
+
- +

{AGGREGATION_AND_METRIC_SETTINGS}

-
+
diff --git a/public/pages/CreateRollup/components/JobNameAndIndices/JobNameAndIndices.tsx b/public/pages/CreateRollup/components/JobNameAndIndices/JobNameAndIndices.tsx index e5ba8bae8..b00024394 100644 --- a/public/pages/CreateRollup/components/JobNameAndIndices/JobNameAndIndices.tsx +++ b/public/pages/CreateRollup/components/JobNameAndIndices/JobNameAndIndices.tsx @@ -4,7 +4,7 @@ */ import React, { Component } from "react"; -import { EuiFlexGrid, EuiSpacer, EuiFlexItem, EuiText, EuiFlexGroup, EuiHorizontalRule, EuiPanel } from "@elastic/eui"; +import { EuiFlexGrid, EuiSpacer, EuiFlexItem, EuiText, EuiFlexGroup, EuiHorizontalRule, EuiPanel, EuiTitle } from "@elastic/eui"; import { ContentPanel, ContentPanelActions } from "../../../../components/ContentPanel"; import { ModalConsumer } from "../../../../components/Modal"; import { IndexItem } from "../../../../../models/interfaces"; @@ -29,9 +29,9 @@ export default class JobNameAndIndices extends Component - +

Job name and indexes

-
+
diff --git a/public/pages/CreateRollup/components/MetricsCalculation/MetricsCalculation.tsx b/public/pages/CreateRollup/components/MetricsCalculation/MetricsCalculation.tsx index ae8fface3..67090e56b 100644 --- a/public/pages/CreateRollup/components/MetricsCalculation/MetricsCalculation.tsx +++ b/public/pages/CreateRollup/components/MetricsCalculation/MetricsCalculation.tsx @@ -508,20 +508,20 @@ export default class MetricsCalculation extends Component - + - +

Additional metrics{` (${selectedMetrics.length})`}

-
+
- +

– optional

-
+
@@ -567,7 +567,7 @@ export default class MetricsCalculation extends Component
- + You can aggregate additional fields from the source index into the target index. Rollup supports the terms aggregation (for diff --git a/public/pages/CreateRollup/components/RollupIndices/RollupIndices.tsx b/public/pages/CreateRollup/components/RollupIndices/RollupIndices.tsx index fa33e50c8..795480c36 100644 --- a/public/pages/CreateRollup/components/RollupIndices/RollupIndices.tsx +++ b/public/pages/CreateRollup/components/RollupIndices/RollupIndices.tsx @@ -4,11 +4,20 @@ */ import React, { Component, Fragment } from "react"; -import { EuiSpacer, EuiCompressedFormRow, EuiCallOut, EuiText, EuiLink, EuiFlexGroup, EuiHorizontalRule, EuiPanel } from "@elastic/eui"; +import { + EuiSpacer, + EuiCompressedFormRow, + EuiCallOut, + EuiText, + EuiLink, + EuiFlexGroup, + EuiHorizontalRule, + EuiPanel, + EuiTitle, +} from "@elastic/eui"; import { EuiComboBoxOptionOption } from "@elastic/eui/src/components/combo_box/types"; import _ from "lodash"; import EuiCompressedComboBox from "../../../../components/ComboBoxWithoutWarning"; -import { ContentPanel } from "../../../../components/ContentPanel"; import { IndexItem } from "../../../../../models/interfaces"; import IndexService from "../../../../services/IndexService"; import { CoreServicesContext } from "../../../../components/core_services"; @@ -123,9 +132,9 @@ export default class RollupIndices extends Component - +

Indices

-
+
diff --git a/public/pages/CreateRollup/components/Schedule/Schedule.tsx b/public/pages/CreateRollup/components/Schedule/Schedule.tsx index c49b3530b..d99a690ea 100644 --- a/public/pages/CreateRollup/components/Schedule/Schedule.tsx +++ b/public/pages/CreateRollup/components/Schedule/Schedule.tsx @@ -19,6 +19,7 @@ import { EuiText, EuiHorizontalRule, EuiPanel, + EuiTitle, } from "@elastic/eui"; import { DelayTimeunitOptions, ScheduleIntervalTimeunitOptions } from "../../utils/constants"; import { ContentPanel } from "../../../../components/ContentPanel"; @@ -148,9 +149,9 @@ export default class Schedule extends Component { return ( - +

Schedule

-
+
{!isEdit && ( diff --git a/public/pages/CreateRollup/components/ScheduleRolesAndNotifications/ScheduleRolesAndNotifications.tsx b/public/pages/CreateRollup/components/ScheduleRolesAndNotifications/ScheduleRolesAndNotifications.tsx index 3bee71757..a923bf6ae 100644 --- a/public/pages/CreateRollup/components/ScheduleRolesAndNotifications/ScheduleRolesAndNotifications.tsx +++ b/public/pages/CreateRollup/components/ScheduleRolesAndNotifications/ScheduleRolesAndNotifications.tsx @@ -4,7 +4,7 @@ */ import React, { Component } from "react"; -import { EuiFlexGrid, EuiFlexGroup, EuiFlexItem, EuiHorizontalRule, EuiPanel, EuiSpacer, EuiText } from "@elastic/eui"; +import { EuiFlexGrid, EuiFlexGroup, EuiFlexItem, EuiHorizontalRule, EuiPanel, EuiSpacer, EuiText, EuiTitle } from "@elastic/eui"; import { ContentPanel, ContentPanelActions } from "../../../../components/ContentPanel"; import { ModalConsumer } from "../../../../components/Modal"; import { parseTimeunit, buildIntervalScheduleText, buildCronScheduleText } from "../../utils/helpers"; @@ -48,9 +48,9 @@ export default class ScheduleRolesAndNotifications extends Component - +

Schedule

-
+
diff --git a/public/pages/CreateRollup/components/TimeAggregations/TimeAggregation.tsx b/public/pages/CreateRollup/components/TimeAggregations/TimeAggregation.tsx index 78f57e5f1..5b6fac260 100644 --- a/public/pages/CreateRollup/components/TimeAggregations/TimeAggregation.tsx +++ b/public/pages/CreateRollup/components/TimeAggregations/TimeAggregation.tsx @@ -83,9 +83,9 @@ export default class TimeAggregation extends Component - +

Time aggregation

-
+ Your source indices must include a timestamp field. The rollup job creates a date histogram for the field you specify. diff --git a/public/pages/CreateRollup/containers/CreateRollupForm/__snapshots__/CreateRollupForm.test.tsx.snap b/public/pages/CreateRollup/containers/CreateRollupForm/__snapshots__/CreateRollupForm.test.tsx.snap index e141a7095..512f4e071 100644 --- a/public/pages/CreateRollup/containers/CreateRollupForm/__snapshots__/CreateRollupForm.test.tsx.snap +++ b/public/pages/CreateRollup/containers/CreateRollupForm/__snapshots__/CreateRollupForm.test.tsx.snap @@ -167,13 +167,11 @@ exports[` spec renders the component 1`] = `
-
-

- Job name and description -

-
+ Job name and description +

spec renders the component 1`] = `
-
-

- Indices -

-
+ Indices +

- + Manage channels diff --git a/public/pages/CreateSnapshotPolicy/containers/CreateSnapshotPolicy/CreateSnapshotPolicy.tsx b/public/pages/CreateSnapshotPolicy/containers/CreateSnapshotPolicy/CreateSnapshotPolicy.tsx index 6c2bed828..587192a34 100644 --- a/public/pages/CreateSnapshotPolicy/containers/CreateSnapshotPolicy/CreateSnapshotPolicy.tsx +++ b/public/pages/CreateSnapshotPolicy/containers/CreateSnapshotPolicy/CreateSnapshotPolicy.tsx @@ -589,9 +589,9 @@ export class CreateSnapshotPolicy extends MDSEnabledComponent - +

Policy settings

-
+
@@ -622,9 +622,9 @@ export class CreateSnapshotPolicy extends MDSEnabledComponent - +

Source and destination

-
+
- +

Snapshot schedule

-
+
- +

Retention period

-
+
- +

Notifications

-
+
@@ -864,11 +864,11 @@ export class CreateSnapshotPolicy extends MDSEnabledComponent
- +

Advanced settings – optional

-
+
diff --git a/public/pages/CreateTransform/components/ConfigureTransform/ConfigureTransform.tsx b/public/pages/CreateTransform/components/ConfigureTransform/ConfigureTransform.tsx index d621cce5b..ada5f6f97 100644 --- a/public/pages/CreateTransform/components/ConfigureTransform/ConfigureTransform.tsx +++ b/public/pages/CreateTransform/components/ConfigureTransform/ConfigureTransform.tsx @@ -14,6 +14,7 @@ import { EuiFlexItem, EuiPanel, EuiHorizontalRule, + EuiTitle, } from "@elastic/eui"; interface ConfigureTransformProps { @@ -34,9 +35,9 @@ const ConfigureTransform = ({ description, }: ConfigureTransformProps) => ( - +

Job name and description

-
+
+

Select fields to transform

- +
} titleSize="m" > diff --git a/public/pages/CreateTransform/components/JobNameAndIndices/JobNameAndIndices.tsx b/public/pages/CreateTransform/components/JobNameAndIndices/JobNameAndIndices.tsx index 1c281d7b0..bc3fcd7ea 100644 --- a/public/pages/CreateTransform/components/JobNameAndIndices/JobNameAndIndices.tsx +++ b/public/pages/CreateTransform/components/JobNameAndIndices/JobNameAndIndices.tsx @@ -4,7 +4,7 @@ */ import React, { Component } from "react"; -import { EuiFlexGrid, EuiSpacer, EuiFlexItem, EuiText, EuiPanel, EuiFlexGroup, EuiHorizontalRule } from "@elastic/eui"; +import { EuiFlexGrid, EuiSpacer, EuiFlexItem, EuiText, EuiPanel, EuiFlexGroup, EuiHorizontalRule, EuiTitle } from "@elastic/eui"; import { ContentPanelActions } from "../../../../components/ContentPanel"; import { ModalConsumer } from "../../../../components/Modal"; import { IndexItem } from "../../../../../models/interfaces"; @@ -30,9 +30,9 @@ export default class JobNameAndIndices extends Component - +

Set up indices

-
+
diff --git a/public/pages/CreateTransform/components/ReviewDefinition/ReviewDefinition.tsx b/public/pages/CreateTransform/components/ReviewDefinition/ReviewDefinition.tsx index 906843bf9..6867d8250 100644 --- a/public/pages/CreateTransform/components/ReviewDefinition/ReviewDefinition.tsx +++ b/public/pages/CreateTransform/components/ReviewDefinition/ReviewDefinition.tsx @@ -4,7 +4,17 @@ */ import React, { Component } from "react"; -import { EuiFlexGrid, EuiSpacer, EuiFlexItem, EuiText, EuiAccordion, EuiFlexGroup, EuiPanel, EuiHorizontalRule } from "@elastic/eui"; +import { + EuiFlexGrid, + EuiSpacer, + EuiFlexItem, + EuiText, + EuiAccordion, + EuiFlexGroup, + EuiPanel, + EuiHorizontalRule, + EuiTitle, +} from "@elastic/eui"; import { ContentPanelActions } from "../../../../components/ContentPanel"; import { ModalConsumer } from "../../../../components/Modal"; import { TransformGroupItem, FieldItem, TransformAggItem, TRANSFORM_AGG_TYPE } from "../../../../../models/interfaces"; @@ -85,9 +95,9 @@ export default class ReviewDefinition extends Component { - +

Define transforms

-
+
@@ -114,7 +124,7 @@ export default class ReviewDefinition extends Component { id="" buttonContent={ -

Sample source index and transform result

+

Sample source index and transform result

} > diff --git a/public/pages/CreateTransform/components/ReviewSchedule/ReviewSchedule.tsx b/public/pages/CreateTransform/components/ReviewSchedule/ReviewSchedule.tsx index 496e3550d..e8b7b69b9 100644 --- a/public/pages/CreateTransform/components/ReviewSchedule/ReviewSchedule.tsx +++ b/public/pages/CreateTransform/components/ReviewSchedule/ReviewSchedule.tsx @@ -4,7 +4,7 @@ */ import React, { Component } from "react"; -import { EuiFlexGrid, EuiFlexItem, EuiText, EuiPanel, EuiFlexGroup, EuiHorizontalRule } from "@elastic/eui"; +import { EuiFlexGrid, EuiFlexItem, EuiText, EuiPanel, EuiFlexGroup, EuiHorizontalRule, EuiTitle } from "@elastic/eui"; import { ContentPanelActions } from "../../../../components/ContentPanel"; import { ModalConsumer } from "../../../../components/Modal"; import { buildIntervalScheduleText } from "../../../CreateRollup/utils/helpers"; @@ -34,9 +34,9 @@ export default class ReviewSchedule extends Component { - +

Specify schedule

-
+
diff --git a/public/pages/CreateTransform/components/Schedule/Schedule.tsx b/public/pages/CreateTransform/components/Schedule/Schedule.tsx index 3dc7d98fd..aa8fe33a4 100644 --- a/public/pages/CreateTransform/components/Schedule/Schedule.tsx +++ b/public/pages/CreateTransform/components/Schedule/Schedule.tsx @@ -16,7 +16,6 @@ import { EuiTitle, EuiPanel, } from "@elastic/eui"; -import { ContentPanel } from "../../../../components/ContentPanel"; import { selectInterval } from "../../../Transforms/utils/metadataHelper"; interface ScheduleProps { @@ -89,9 +88,9 @@ export default class Schedule extends Component { } = this.props; return ( - +

Schedule

-
+
{!isEdit && ( diff --git a/public/pages/CreateTransform/components/TransformIndices/TransformIndices.tsx b/public/pages/CreateTransform/components/TransformIndices/TransformIndices.tsx index ce20e5cdd..f09b96549 100644 --- a/public/pages/CreateTransform/components/TransformIndices/TransformIndices.tsx +++ b/public/pages/CreateTransform/components/TransformIndices/TransformIndices.tsx @@ -18,6 +18,7 @@ import { EuiBadge, EuiLink, EuiPanel, + EuiTitle, } from "@elastic/eui"; import _ from "lodash"; import EuiCompressedComboBox from "../../../../components/ComboBoxWithoutWarning"; @@ -164,9 +165,9 @@ export default class TransformIndices extends Component - +

Indices

-
+
{hasAggregation && ( diff --git a/public/pages/CreateTransform/containers/CreateTransformForm/__snapshots__/CreateTransformForm.test.tsx.snap b/public/pages/CreateTransform/containers/CreateTransformForm/__snapshots__/CreateTransformForm.test.tsx.snap index ecfe6e846..4f93af0a7 100644 --- a/public/pages/CreateTransform/containers/CreateTransformForm/__snapshots__/CreateTransformForm.test.tsx.snap +++ b/public/pages/CreateTransform/containers/CreateTransformForm/__snapshots__/CreateTransformForm.test.tsx.snap @@ -166,13 +166,11 @@ exports[` spec renders the component 1`] = `
-
-

- Job name and description -

-
+ Job name and description +
@@ -287,13 +285,11 @@ exports[` spec renders the component 1`] = `
-
-

- Indices -

-
+ Indices +
diff --git a/public/pages/EditRollup/containers/__snapshots__/EditRollup.test.tsx.snap b/public/pages/EditRollup/containers/__snapshots__/EditRollup.test.tsx.snap index 17ce6ef27..1286d1c8a 100644 --- a/public/pages/EditRollup/containers/__snapshots__/EditRollup.test.tsx.snap +++ b/public/pages/EditRollup/containers/__snapshots__/EditRollup.test.tsx.snap @@ -20,13 +20,11 @@ exports[` spec renders the component 1`] = `
-
-

- Job name and description -

-
+ Job name and description +

spec renders the component 1`] = `
-
-

- Schedule -

-
+ Schedule +

- +

Advanced settings

-
+
); @@ -215,9 +215,9 @@ export default function ForceMergeWrapper(props: Omit - +

Configure source index

-
+
spec renders the component 1`] = `
-
-

- Configure source index -

-
+ Configure source index +

spec renders the component 1`] = `
-
-

- Advanced settings -

-
+ Advanced settings +
diff --git a/public/pages/IndexDetail/containers/IndexDetail/IndexDetail.tsx b/public/pages/IndexDetail/containers/IndexDetail/IndexDetail.tsx index 722d54f9d..bb5e1c479 100644 --- a/public/pages/IndexDetail/containers/IndexDetail/IndexDetail.tsx +++ b/public/pages/IndexDetail/containers/IndexDetail/IndexDetail.tsx @@ -152,9 +152,9 @@ export default function IndexDetail(props: IndexDetailModalProps) { <> - +

Index settings

-
+ @@ -170,9 +170,9 @@ export default function IndexDetail(props: IndexDetailModalProps) { <> - +

Index mappings

-
+ - +

Index alias

-
+
@@ -264,9 +264,9 @@ export default function IndexDetail(props: IndexDetailModalProps) { return ( <> - +

Overview

-
+ diff --git a/public/pages/Notifications/containers/Notifications/Notifications.tsx b/public/pages/Notifications/containers/Notifications/Notifications.tsx index ed914e21b..8df21bee5 100644 --- a/public/pages/Notifications/containers/Notifications/Notifications.tsx +++ b/public/pages/Notifications/containers/Notifications/Notifications.tsx @@ -223,7 +223,7 @@ const Notifications = (props: NotificationsProps) => { - + Manage channels @@ -242,9 +242,9 @@ const Notifications = (props: NotificationsProps) => {
) : ( - +

Defaults for index operations

-
+ {submitClicked && allErrors.length ? (
    diff --git a/public/pages/Notifications/containers/Notifications/__snapshots__/Notifications.test.tsx.snap b/public/pages/Notifications/containers/Notifications/__snapshots__/Notifications.test.tsx.snap index 8fd8635bc..843133ce9 100644 --- a/public/pages/Notifications/containers/Notifications/__snapshots__/Notifications.test.tsx.snap +++ b/public/pages/Notifications/containers/Notifications/__snapshots__/Notifications.test.tsx.snap @@ -41,7 +41,7 @@ exports[` spec View without permission 1`] = ` target="_blank" > EuiIconMock spec renders 1`] = ` target="_blank" > EuiIconMock spec renders 1`] = `
    -
    -

    - Defaults for index operations -

    -
    + Defaults for index operations +
    diff --git a/public/pages/PolicyDetails/components/PolicySettings/PolicySettings.tsx b/public/pages/PolicyDetails/components/PolicySettings/PolicySettings.tsx index 3d96f90cd..9b4bc6a5e 100644 --- a/public/pages/PolicyDetails/components/PolicySettings/PolicySettings.tsx +++ b/public/pages/PolicyDetails/components/PolicySettings/PolicySettings.tsx @@ -4,7 +4,7 @@ */ import React, { Component } from "react"; -import { EuiLink, EuiFlexGrid, EuiSpacer, EuiFlexItem, EuiText, EuiPanel, EuiFlexGroup, EuiHorizontalRule } from "@elastic/eui"; +import { EuiLink, EuiFlexGrid, EuiSpacer, EuiFlexItem, EuiText, EuiPanel, EuiFlexGroup, EuiHorizontalRule, EuiTitle } from "@elastic/eui"; import { ContentPanel } from "../../../../components/ContentPanel"; import { ModalConsumer } from "../../../../components/Modal"; import { ErrorNotification, ISMTemplate } from "../../../../../models/interfaces"; @@ -52,9 +52,9 @@ export default class PolicySettings extends Component - +

    {`Policy settings`}

    -
    +
    diff --git a/public/pages/PolicyDetails/components/PolicySettings/__snapshots__/PolicySettings.test.tsx.snap b/public/pages/PolicyDetails/components/PolicySettings/__snapshots__/PolicySettings.test.tsx.snap index 120041937..297427a79 100644 --- a/public/pages/PolicyDetails/components/PolicySettings/__snapshots__/PolicySettings.test.tsx.snap +++ b/public/pages/PolicyDetails/components/PolicySettings/__snapshots__/PolicySettings.test.tsx.snap @@ -7,13 +7,11 @@ exports[` spec renders the component 1`] = `
    -
    -

    - Policy settings -

    -
    + Policy settings +

    - +

    {`ISM Templates (${convertedISMTemplates.length})`}

    -
    +
    diff --git a/public/pages/Reindex/components/CreateIndexFlyout/__snapshots__/CreateIndexFlyout.test.tsx.snap b/public/pages/Reindex/components/CreateIndexFlyout/__snapshots__/CreateIndexFlyout.test.tsx.snap index 920bf5b24..ce0b7eae4 100644 --- a/public/pages/Reindex/components/CreateIndexFlyout/__snapshots__/CreateIndexFlyout.test.tsx.snap +++ b/public/pages/Reindex/components/CreateIndexFlyout/__snapshots__/CreateIndexFlyout.test.tsx.snap @@ -56,15 +56,11 @@ Object {
    -
    - -

    - Define index -

    - -
    + Define index +
    @@ -234,15 +230,11 @@ Object {
    -
    - -

    - Index settings -

    - -
    + Index settings +
    @@ -648,16 +640,14 @@ Object {
    -
    -

    - Index mapping - - – optional - -

    -
    + Index mapping + + – optional + +
    { /> - +

    Advanced settings

    -
    +
    ); @@ -577,9 +577,9 @@ class Reindex extends Component { return ( <> - +

    Configure source index

    -
    + { - +

    Configure destination index

    -
    + diff --git a/public/pages/Reindex/container/Reindex/__snapshots__/Reindex.test.tsx.snap b/public/pages/Reindex/container/Reindex/__snapshots__/Reindex.test.tsx.snap index 5f6a8f974..a4b3f6ee6 100644 --- a/public/pages/Reindex/container/Reindex/__snapshots__/Reindex.test.tsx.snap +++ b/public/pages/Reindex/container/Reindex/__snapshots__/Reindex.test.tsx.snap @@ -49,13 +49,11 @@ exports[` spec renders the component 1`] = `
    -
    -

    - Configure source index -

    -
    + Configure source index +
    @@ -228,13 +226,11 @@ exports[` spec renders the component 1`] = `
    -
    -

    - Configure destination index -

    -
    + Configure destination index +
    @@ -376,13 +372,11 @@ exports[` spec renders the component 1`] = `
    -
    -

    - Advanced settings -

    -
    + Advanced settings +
    diff --git a/public/pages/Rollover/containers/Rollover/Rollover.tsx b/public/pages/Rollover/containers/Rollover/Rollover.tsx index 2955a8053..7016ca141 100644 --- a/public/pages/Rollover/containers/Rollover/Rollover.tsx +++ b/public/pages/Rollover/containers/Rollover/Rollover.tsx @@ -266,9 +266,9 @@ export default function Rollover(props: RolloverProps) { )} - +

    Configure source

    -
    +
    {sourceType === "alias" && filterByMinimatch(tempValue.source || "", SYSTEM_ALIAS) ? ( diff --git a/public/pages/Rollover/containers/Rollover/__snapshots__/Rollover.test.tsx.snap b/public/pages/Rollover/containers/Rollover/__snapshots__/Rollover.test.tsx.snap index ebbe7189a..4304c80e9 100644 --- a/public/pages/Rollover/containers/Rollover/__snapshots__/Rollover.test.tsx.snap +++ b/public/pages/Rollover/containers/Rollover/__snapshots__/Rollover.test.tsx.snap @@ -33,13 +33,11 @@ exports[`container spec render the component 1`] = `
    -
    -

    - Configure source -

    -
    + Configure source +

    - +

    {AGGREGATION_AND_METRIC_SETTINGS}

    -
    +
    diff --git a/public/pages/RollupDetails/components/GeneralInformation/GeneralInformation.tsx b/public/pages/RollupDetails/components/GeneralInformation/GeneralInformation.tsx index 7747d00c3..a3ea869e6 100644 --- a/public/pages/RollupDetails/components/GeneralInformation/GeneralInformation.tsx +++ b/public/pages/RollupDetails/components/GeneralInformation/GeneralInformation.tsx @@ -4,7 +4,7 @@ */ import React, { Component } from "react"; -import { EuiFlexGrid, EuiSpacer, EuiFlexItem, EuiText, EuiFlexGroup, EuiHorizontalRule, EuiPanel } from "@elastic/eui"; +import { EuiFlexGrid, EuiSpacer, EuiFlexItem, EuiText, EuiFlexGroup, EuiHorizontalRule, EuiPanel, EuiTitle } from "@elastic/eui"; import { ContentPanel, ContentPanelActions } from "../../../../components/ContentPanel"; import { ModalConsumer } from "../../../../components/Modal"; @@ -50,9 +50,9 @@ export default class GeneralInformation extends Component - +

    General information

    -
    +
    {() => } diff --git a/public/pages/RollupDetails/components/RollupStatus/RollupStatus.tsx b/public/pages/RollupDetails/components/RollupStatus/RollupStatus.tsx index 90b5e10c9..8d2153d2b 100644 --- a/public/pages/RollupDetails/components/RollupStatus/RollupStatus.tsx +++ b/public/pages/RollupDetails/components/RollupStatus/RollupStatus.tsx @@ -4,7 +4,7 @@ */ import React from "react"; -import { EuiFlexGrid, EuiSpacer, EuiFlexItem, EuiText, EuiFlexGroup, EuiHorizontalRule, EuiPanel } from "@elastic/eui"; +import { EuiFlexGrid, EuiSpacer, EuiFlexItem, EuiText, EuiFlexGroup, EuiHorizontalRule, EuiPanel, EuiTitle } from "@elastic/eui"; import { ContentPanel } from "../../../../components/ContentPanel"; import { RollupMetadata } from "../../../../../models/interfaces"; import { renderTime } from "../../../Rollups/utils/helpers"; @@ -18,9 +18,9 @@ const RollupStatus = ({ metadata }: RollupStatusProps) => ( - +

    Rollup status

    -
    +
    diff --git a/public/pages/ShrinkIndex/container/ShrinkIndex/ShrinkIndex.tsx b/public/pages/ShrinkIndex/container/ShrinkIndex/ShrinkIndex.tsx index 8f2e846bd..e75dc484d 100644 --- a/public/pages/ShrinkIndex/container/ShrinkIndex/ShrinkIndex.tsx +++ b/public/pages/ShrinkIndex/container/ShrinkIndex/ShrinkIndex.tsx @@ -694,9 +694,9 @@ class ShrinkIndex extends Component { withPanel panelProps={{ title: ( - +

    Advanced settings

    -
    + ), titleSize: "s", }} diff --git a/public/pages/ShrinkIndex/container/ShrinkIndex/__snapshots__/ShrinkIndex.test.tsx.snap b/public/pages/ShrinkIndex/container/ShrinkIndex/__snapshots__/ShrinkIndex.test.tsx.snap index dfc88fc2e..b5834ac19 100644 --- a/public/pages/ShrinkIndex/container/ShrinkIndex/__snapshots__/ShrinkIndex.test.tsx.snap +++ b/public/pages/ShrinkIndex/container/ShrinkIndex/__snapshots__/ShrinkIndex.test.tsx.snap @@ -49,13 +49,11 @@ exports[` spec renders the component 1`] = `
    -
    -

    - Source index details -

    -
    + Source index details +
    @@ -712,13 +710,11 @@ exports[` spec renders the component 1`] = `
    -
    -

    - Advanced settings -

    -
    + Advanced settings +
    diff --git a/public/pages/SnapshotPolicyDetails/containers/SnapshotPolicyDetails/SnapshotPolicyDetails.tsx b/public/pages/SnapshotPolicyDetails/containers/SnapshotPolicyDetails/SnapshotPolicyDetails.tsx index eedef193d..a9aea2cae 100644 --- a/public/pages/SnapshotPolicyDetails/containers/SnapshotPolicyDetails/SnapshotPolicyDetails.tsx +++ b/public/pages/SnapshotPolicyDetails/containers/SnapshotPolicyDetails/SnapshotPolicyDetails.tsx @@ -450,9 +450,9 @@ export class SnapshotPolicyDetails extends MDSEnabledComponent - +

    Policy settings

    -
    +
    @@ -487,9 +487,9 @@ export class SnapshotPolicyDetails extends MDSEnabledComponent - +

    Snapshot schedule

    -
    +
    @@ -508,9 +508,9 @@ export class SnapshotPolicyDetails extends MDSEnabledComponent - +

    Snapshot retention period

    -
    +
    @@ -542,9 +542,9 @@ export class SnapshotPolicyDetails extends MDSEnabledComponent - +

    Notifications

    -
    +
    @@ -564,9 +564,9 @@ export class SnapshotPolicyDetails extends MDSEnabledComponent - +

    Last creation/deletion

    -
    +
    this.getPolicy(policyId)} data-test-subj="refreshButton"> diff --git a/public/pages/SplitIndex/components/SplitIndexForm/SplitIndexForm.tsx b/public/pages/SplitIndex/components/SplitIndexForm/SplitIndexForm.tsx index e3709dc68..ad60ba1cc 100644 --- a/public/pages/SplitIndex/components/SplitIndexForm/SplitIndexForm.tsx +++ b/public/pages/SplitIndex/components/SplitIndexForm/SplitIndexForm.tsx @@ -13,6 +13,7 @@ import { EuiText, EuiPanel, EuiHorizontalRule, + EuiTitle, } from "@elastic/eui"; import FormGenerator, { IField, IFormGeneratorRef, IFieldComponentProps } from "../../../../components/FormGenerator"; import { IndexItem } from "../../../../../models/interfaces"; @@ -261,9 +262,9 @@ export default class SplitIndexForm extends Component withPanel panelProps={{ title: ( - +

    Advanced settings

    -
    + ), titleSize: "s", }} diff --git a/public/pages/Transforms/components/ConfigureTransform/Configure.tsx b/public/pages/Transforms/components/ConfigureTransform/Configure.tsx index 07e53e3f0..e0d194aa7 100644 --- a/public/pages/Transforms/components/ConfigureTransform/Configure.tsx +++ b/public/pages/Transforms/components/ConfigureTransform/Configure.tsx @@ -14,6 +14,7 @@ import { EuiFlexItem, EuiPanel, EuiHorizontalRule, + EuiTitle, } from "@elastic/eui"; interface ConfigureTransformProps { @@ -36,10 +37,9 @@ const ConfigureTransform = ({ size, }: ConfigureTransformProps) => ( - - {" "} -

    Job name and description

    {" "} -
    + +

    Job name and description

    +
    diff --git a/public/pages/Transforms/components/GeneralInformation/GeneralInformation.tsx b/public/pages/Transforms/components/GeneralInformation/GeneralInformation.tsx index 9f60c8a61..ed588e38c 100644 --- a/public/pages/Transforms/components/GeneralInformation/GeneralInformation.tsx +++ b/public/pages/Transforms/components/GeneralInformation/GeneralInformation.tsx @@ -4,7 +4,7 @@ */ import React, { Component } from "react"; -import { EuiFlexGrid, EuiSpacer, EuiFlexItem, EuiText, EuiFlexGroup, EuiPanel, EuiHorizontalRule } from "@elastic/eui"; +import { EuiFlexGrid, EuiSpacer, EuiFlexItem, EuiText, EuiFlexGroup, EuiPanel, EuiHorizontalRule, EuiTitle } from "@elastic/eui"; import { ContentPanelActions } from "../../../../components/ContentPanel"; import { ModalConsumer } from "../../../../components/Modal"; import { getUISettings } from "../../../../services/Services"; @@ -54,9 +54,9 @@ export default class GeneralInformation extends Component - +

    General information

    -
    +
    {!useUpdatedUX ? ( diff --git a/public/pages/Transforms/components/Indices/Indices.tsx b/public/pages/Transforms/components/Indices/Indices.tsx index 79895643a..1f337b758 100644 --- a/public/pages/Transforms/components/Indices/Indices.tsx +++ b/public/pages/Transforms/components/Indices/Indices.tsx @@ -4,7 +4,7 @@ */ import React, { Component } from "react"; -import { EuiCodeEditor, EuiSpacer, EuiText, EuiPanel, EuiHorizontalRule } from "@elastic/eui"; +import { EuiCodeEditor, EuiSpacer, EuiText, EuiPanel, EuiHorizontalRule, EuiTitle } from "@elastic/eui"; interface IndicesProps { sourceIndex: string; @@ -23,10 +23,9 @@ export default class Indices extends Component { return ( - - {" "} -

    Indices

    {" "} -
    + +

    Indices

    +
    diff --git a/public/pages/Transforms/components/Schedule/Schedule.tsx b/public/pages/Transforms/components/Schedule/Schedule.tsx index ae3d2f824..2e496d88e 100644 --- a/public/pages/Transforms/components/Schedule/Schedule.tsx +++ b/public/pages/Transforms/components/Schedule/Schedule.tsx @@ -13,6 +13,7 @@ import { EuiText, EuiPanel, EuiHorizontalRule, + EuiTitle, } from "@elastic/eui"; // @ts-ignore import { htmlIdGenerator } from "@elastic/eui/lib/services"; @@ -58,10 +59,9 @@ export default class Schedule extends Component { } = this.props; return ( - - {" "} -

    Schedule

    {" "} -
    + +

    Schedule

    +
    { const { metadata } = this.props; return ( - +

    Transform Status

    -
    +
    diff --git a/public/pages/Transforms/containers/Transforms/TransformSettings.tsx b/public/pages/Transforms/containers/Transforms/TransformSettings.tsx index 46f134076..0e7ac4d5d 100644 --- a/public/pages/Transforms/containers/Transforms/TransformSettings.tsx +++ b/public/pages/Transforms/containers/Transforms/TransformSettings.tsx @@ -4,7 +4,7 @@ */ import React, { Component } from "react"; -import { EuiSpacer, EuiText, EuiAccordion, EuiFlexGrid, EuiFlexItem, EuiPanel, EuiHorizontalRule } from "@elastic/eui"; +import { EuiSpacer, EuiText, EuiAccordion, EuiFlexGrid, EuiFlexItem, EuiPanel, EuiHorizontalRule, EuiTitle } from "@elastic/eui"; // @ts-ignore import { htmlIdGenerator } from "@elastic/eui/lib/services"; import { TransformService } from "../../../../services"; @@ -89,9 +89,9 @@ export default class TransformSettings extends Component - +

    Transform Settings

    -
    +
    @@ -107,7 +107,7 @@ export default class TransformSettings extends Component {" "} -

    Sample source index and transform result

    {" "} +

    Sample source index and transform result

    {" "} } onClick={this.onClick} diff --git a/public/pages/Transforms/containers/Transforms/__snapshots__/EditTransform.test.tsx.snap b/public/pages/Transforms/containers/Transforms/__snapshots__/EditTransform.test.tsx.snap index 058d8f909..b5e3f2691 100644 --- a/public/pages/Transforms/containers/Transforms/__snapshots__/EditTransform.test.tsx.snap +++ b/public/pages/Transforms/containers/Transforms/__snapshots__/EditTransform.test.tsx.snap @@ -17,15 +17,11 @@ exports[` spec renders the component 1`] = `
    -
    - -

    - Job name and description -

    - -
    + Job name and description +
    @@ -143,15 +139,11 @@ exports[` spec renders the component 1`] = `
    -
    - -

    - Indices -

    - -
    + Indices +
    @@ -304,15 +296,11 @@ exports[` spec renders the component 1`] = `
    -
    - -

    - Schedule -

    - -
    + Schedule +
    diff --git a/public/pages/VisualCreatePolicy/components/ChannelNotification/ChannelNotification.tsx b/public/pages/VisualCreatePolicy/components/ChannelNotification/ChannelNotification.tsx index b9746c209..dd0011b3c 100644 --- a/public/pages/VisualCreatePolicy/components/ChannelNotification/ChannelNotification.tsx +++ b/public/pages/VisualCreatePolicy/components/ChannelNotification/ChannelNotification.tsx @@ -59,7 +59,7 @@ const ChannelNotification = ({ /> - + Manage channels diff --git a/public/pages/VisualCreatePolicy/components/ISMTemplates/ISMTemplates.tsx b/public/pages/VisualCreatePolicy/components/ISMTemplates/ISMTemplates.tsx index 336c12dfb..f8430aa23 100644 --- a/public/pages/VisualCreatePolicy/components/ISMTemplates/ISMTemplates.tsx +++ b/public/pages/VisualCreatePolicy/components/ISMTemplates/ISMTemplates.tsx @@ -14,6 +14,7 @@ import { EuiLink, EuiPanel, EuiHorizontalRule, + EuiTitle, } from "@elastic/eui"; import { ContentPanel } from "../../../../components/ContentPanel"; import "brace/theme/github"; @@ -47,9 +48,9 @@ const ISMTemplates = ({ policy, onChangePolicy }: ISMTemplatesProps) => { - +

    ISM templates

    -
    +
    diff --git a/public/pages/VisualCreatePolicy/components/ISMTemplates/__snapshots__/ISMTemplates.test.tsx.snap b/public/pages/VisualCreatePolicy/components/ISMTemplates/__snapshots__/ISMTemplates.test.tsx.snap index 4d56f7acf..090f1dab9 100644 --- a/public/pages/VisualCreatePolicy/components/ISMTemplates/__snapshots__/ISMTemplates.test.tsx.snap +++ b/public/pages/VisualCreatePolicy/components/ISMTemplates/__snapshots__/ISMTemplates.test.tsx.snap @@ -10,13 +10,11 @@ exports[` spec renders the component 1`] = `
    -
    -

    - ISM templates -

    -
    + ISM templates +
    ( - +

    {`Policy info`}

    -
    +
    diff --git a/public/pages/VisualCreatePolicy/components/PolicyInfo/__snapshots__/PolicyInfo.test.tsx.snap b/public/pages/VisualCreatePolicy/components/PolicyInfo/__snapshots__/PolicyInfo.test.tsx.snap index 5946ed290..15a45c1db 100644 --- a/public/pages/VisualCreatePolicy/components/PolicyInfo/__snapshots__/PolicyInfo.test.tsx.snap +++ b/public/pages/VisualCreatePolicy/components/PolicyInfo/__snapshots__/PolicyInfo.test.tsx.snap @@ -7,13 +7,11 @@ exports[` spec renders the component 1`] = `
    -
    -

    - Policy info -

    -
    + Policy info +

    - +

    {`States (${policy.states.length})`}

    -
    +
    diff --git a/public/pages/VisualCreatePolicy/components/States/__snapshots__/States.test.tsx.snap b/public/pages/VisualCreatePolicy/components/States/__snapshots__/States.test.tsx.snap index 39b9c6c13..df96bb307 100644 --- a/public/pages/VisualCreatePolicy/components/States/__snapshots__/States.test.tsx.snap +++ b/public/pages/VisualCreatePolicy/components/States/__snapshots__/States.test.tsx.snap @@ -7,13 +7,11 @@ exports[` spec renders the component 1`] = `
    -
    -

    - States (2) -

    -
    + States (2) +
    - +

    Error notification

    -
    +
    - - – optional - + + + {" "} + – optional{" "} + +
    diff --git a/public/pages/VisualCreatePolicy/containers/ErrorNotification/__snapshots__/ErrorNotification.test.tsx.snap b/public/pages/VisualCreatePolicy/containers/ErrorNotification/__snapshots__/ErrorNotification.test.tsx.snap index 890097e39..5e6a07d1f 100644 --- a/public/pages/VisualCreatePolicy/containers/ErrorNotification/__snapshots__/ErrorNotification.test.tsx.snap +++ b/public/pages/VisualCreatePolicy/containers/ErrorNotification/__snapshots__/ErrorNotification.test.tsx.snap @@ -10,26 +10,26 @@ exports[` spec renders the component 1`] = `
    -
    -

    - Error notification -

    -
    + Error notification +
    + – optional +
    @@ -168,7 +168,7 @@ exports[` spec renders the component 1`] = ` target="_blank" > EuiIconMock