rename Analyze data labels to Explore data (#118096)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
Dominique Clarke 2021-11-10 22:08:41 -05:00 committed by GitHub
parent 264bb7acdd
commit 40939b2c67
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 10 deletions

View file

@ -19,14 +19,14 @@ import { InspectorHeaderLink } from '../../../shared/apm_header_action_menu/insp
import { SERVICE_NAME } from '../../../../../common/elasticsearch_fieldnames';
const ANALYZE_DATA = i18n.translate('xpack.apm.analyzeDataButtonLabel', {
defaultMessage: 'Analyze data',
defaultMessage: 'Explore data',
});
const ANALYZE_MESSAGE = i18n.translate(
'xpack.apm.analyzeDataButtonLabel.message',
{
defaultMessage:
'EXPERIMENTAL - Analyze Data allows you to select and filter result data in any dimension and look for the cause or impact of performance problems.',
'EXPERIMENTAL - Explore Data allows you to select and filter result data in any dimension and look for the cause or impact of performance problems.',
}
);

View file

@ -79,12 +79,12 @@ export function AnalyzeDataButton() {
position="top"
content={i18n.translate('xpack.apm.analyzeDataButton.tooltip', {
defaultMessage:
'EXPERIMENTAL - Analyze Data allows you to select and filter result data in any dimension, and look for the cause or impact of performance problems',
'EXPERIMENTAL - Explore Data allows you to select and filter result data in any dimension, and look for the cause or impact of performance problems',
})}
>
<EuiButtonEmpty href={href} iconType="visBarVerticalStacked">
{i18n.translate('xpack.apm.analyzeDataButton.label', {
defaultMessage: 'Analyze data',
defaultMessage: 'Explore data',
})}
</EuiButtonEmpty>
</EuiToolTip>

View file

@ -36,7 +36,7 @@ export function ExploratoryViewPage({
useBreadcrumbs([
{
text: i18n.translate('xpack.observability.overview.exploratoryView', {
defaultMessage: 'Analyze data',
defaultMessage: 'Explore data',
}),
},
]);

View file

@ -35,11 +35,11 @@ describe('ActionMenuContent', () => {
const { getByLabelText, getByText } = render(<ActionMenuContent />);
const analyzeAnchor = getByLabelText(
'Navigate to the "Analyze Data" view to visualize Synthetics/User data'
'Navigate to the "Explore Data" view to visualize Synthetics/User data'
);
expect(analyzeAnchor.getAttribute('href')).toContain('/app/observability/exploratory-view');
expect(getByText('Analyze data'));
expect(getByText('Explore data'));
});
it('renders Add Data link', () => {

View file

@ -26,12 +26,12 @@ const ADD_DATA_LABEL = i18n.translate('xpack.uptime.addDataButtonLabel', {
});
const ANALYZE_DATA = i18n.translate('xpack.uptime.analyzeDataButtonLabel', {
defaultMessage: 'Analyze data',
defaultMessage: 'Explore data',
});
const ANALYZE_MESSAGE = i18n.translate('xpack.uptime.analyzeDataButtonLabel.message', {
defaultMessage:
'EXPERIMENTAL - Analyze Data allows you to select and filter result data in any dimension and look for the cause or impact of performance problems.',
'EXPERIMENTAL - Explore Data allows you to select and filter result data in any dimension and look for the cause or impact of performance problems.',
});
export function ActionMenuContent(): React.ReactElement {
@ -87,7 +87,7 @@ export function ActionMenuContent(): React.ReactElement {
<EuiToolTip position="top" content={<p>{ANALYZE_MESSAGE}</p>}>
<EuiHeaderLink
aria-label={i18n.translate('xpack.uptime.page_header.analyzeData.label', {
defaultMessage: 'Navigate to the "Analyze Data" view to visualize Synthetics/User data',
defaultMessage: 'Navigate to the "Explore Data" view to visualize Synthetics/User data',
})}
href={syntheticExploratoryViewLink}
color="text"