Skip to content

Commit 64e0f75

Browse files
committed
- Scaling down deprecation issue panel title size to flow with typographic hierarchy.
- Removing panel around deprecation logging switch to reduce visual elements. - Using success instead of green color for migration complete message.
1 parent b25dd4e commit 64e0f75

3 files changed

Lines changed: 12 additions & 20 deletions

File tree

x-pack/plugins/upgrade_assistant/public/application/components/overview/fix_issues_step/components/deprecation_issues_panel.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,10 @@ export const DeprecationIssuesPanel = (props: Props) => {
7373
className="upgDeprecationIssuesPanel"
7474
layout="horizontal"
7575
title={deprecationSource}
76+
titleSize="xs"
7677
{...(!hasNoIssues && reactRouterNavigate(history, linkUrl))}
7778
>
78-
<EuiSpacer />
79+
<EuiSpacer size="s"/>
7980

8081
{hasError ? (
8182
<LoadingIssuesError>{errorMessage}</LoadingIssuesError>

x-pack/plugins/upgrade_assistant/public/application/components/overview/fix_logs_step/fix_logs_step.tsx

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ const i18nTexts = {
2525
identifyStepTitle: i18n.translate('xpack.upgradeAssistant.overview.identifyStepTitle', {
2626
defaultMessage: 'Identify deprecated API use and update your applications',
2727
}),
28-
toggleTitle: i18n.translate('xpack.upgradeAssistant.overview.toggleTitle', {
29-
defaultMessage: 'Log Elasticsearch deprecation issues',
30-
}),
3128
analyzeTitle: i18n.translate('xpack.upgradeAssistant.overview.analyzeTitle', {
3229
defaultMessage: 'Analyze deprecation logs',
3330
}),
@@ -140,21 +137,15 @@ const FixLogsStep: FunctionComponent<Props> = ({
140137

141138
return (
142139
<>
143-
<EuiText>
144-
<h4>{i18nTexts.toggleTitle}</h4>
145-
</EuiText>
146-
<EuiSpacer size="m" />
147-
<EuiPanel>
148-
<DeprecationLoggingToggle
149-
isDeprecationLogIndexingEnabled={isDeprecationLogIndexingEnabled}
150-
isLoading={isLoading}
151-
isUpdating={isUpdating}
152-
fetchError={fetchError}
153-
updateError={updateError}
154-
resendRequest={resendRequest}
155-
toggleLogging={toggleLogging}
156-
/>
157-
</EuiPanel>
140+
<DeprecationLoggingToggle
141+
isDeprecationLogIndexingEnabled={isDeprecationLogIndexingEnabled}
142+
isLoading={isLoading}
143+
isUpdating={isUpdating}
144+
fetchError={fetchError}
145+
updateError={updateError}
146+
resendRequest={resendRequest}
147+
toggleLogging={toggleLogging}
148+
/>
158149

159150
{onlyDeprecationLogWritingEnabled && (
160151
<>

x-pack/plugins/upgrade_assistant/public/application/components/overview/migrate_system_indices/migrate_system_indices.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ const MigrateSystemIndicesStep: FunctionComponent<Props> = ({ setIsComplete }) =
118118
<EuiIcon type="check" color="success" />
119119
</EuiFlexItem>
120120
<EuiFlexItem grow={false}>
121-
<EuiText color="green">
121+
<EuiText color="success">
122122
<p>{i18nTexts.noMigrationNeeded}</p>
123123
</EuiText>
124124
</EuiFlexItem>

0 commit comments

Comments
 (0)