mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
rename Analyze data labels to Explore data (#118096)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
264bb7acdd
commit
40939b2c67
5 changed files with 10 additions and 10 deletions
|
@ -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.',
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -36,7 +36,7 @@ export function ExploratoryViewPage({
|
|||
useBreadcrumbs([
|
||||
{
|
||||
text: i18n.translate('xpack.observability.overview.exploratoryView', {
|
||||
defaultMessage: 'Analyze data',
|
||||
defaultMessage: 'Explore data',
|
||||
}),
|
||||
},
|
||||
]);
|
||||
|
|
|
@ -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', () => {
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue