From 68288ebfdb31fadaff79c0ebceab0fd8eafbeb83 Mon Sep 17 00:00:00 2001 From: Chris Roberson Date: Fri, 15 Jan 2021 13:43:27 -0500 Subject: [PATCH] [Monitoring] Change cloud messaging on no data page (#88375) * WIP * Update tests * Update copy * Fix translations and update copy * Fix tests and update copy --- .../no_data/blurbs/cloud_deployment.js | 64 +++++++++---------- .../__snapshots__/exporters.test.js.snap | 35 ++++++---- .../public/components/no_data/no_data.js | 49 +++++++++++++- .../__snapshots__/reason_found.test.js.snap | 35 ++++++---- .../translations/translations/ja-JP.json | 2 - .../translations/translations/zh-CN.json | 2 - 6 files changed, 124 insertions(+), 63 deletions(-) diff --git a/x-pack/plugins/monitoring/public/components/no_data/blurbs/cloud_deployment.js b/x-pack/plugins/monitoring/public/components/no_data/blurbs/cloud_deployment.js index 073c84ee382a..c01243fdeec4 100644 --- a/x-pack/plugins/monitoring/public/components/no_data/blurbs/cloud_deployment.js +++ b/x-pack/plugins/monitoring/public/components/no_data/blurbs/cloud_deployment.js @@ -4,45 +4,41 @@ * you may not use this file except in compliance with the Elastic License. */ -import React, { Fragment } from 'react'; -import { EuiTitle, EuiText, EuiTextColor, EuiLink, EuiSpacer } from '@elastic/eui'; +import React from 'react'; +import { EuiText, EuiTextColor, EuiLink } from '@elastic/eui'; import { FormattedMessage } from '@kbn/i18n/react'; export const CloudDeployment = () => { return ( - - -

+ + +

-

-
- - - -

- - - cloud dashboard. - {' '} - - - the documentation. - -

-
-
-
+ + Elasticsearch Service Console + {' '} + + + Logs and metrics + {' '} + + + the documentation page. + +

+ + ); }; diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/exporters/__snapshots__/exporters.test.js.snap b/x-pack/plugins/monitoring/public/components/no_data/explanations/exporters/__snapshots__/exporters.test.js.snap index ed45933fa947..99f5a979c812 100644 --- a/x-pack/plugins/monitoring/public/components/no_data/explanations/exporters/__snapshots__/exporters.test.js.snap +++ b/x-pack/plugins/monitoring/public/components/no_data/explanations/exporters/__snapshots__/exporters.test.js.snap @@ -87,29 +87,21 @@ Array [ exports[`ExplainExportersCloud should explain about xpack.monitoring.exporters setting in a cloud environment 1`] = ` Array [ -

- Your monitoring data is not available here. -

, -