[APM] Fix migrate assistant label and copy (#31750) (#31781)

* Change link copy in help menu and services list empty state
This commit is contained in:
Casper Hübertz 2019-02-22 14:59:59 +01:00 committed by GitHub
parent 0bdc5d1a94
commit 18213c4ea5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 7 deletions

View file

@ -37,8 +37,8 @@ export const GlobalHelpExtension: React.SFC = () => {
hash: '/management/elasticsearch/upgrade_assistant'
})}
>
{i18n.translate('xpack.apm.helpMenu.migrationAssistantLink', {
defaultMessage: 'Migration assistant'
{i18n.translate('xpack.apm.helpMenu.upgradeAssistantLink', {
defaultMessage: 'Upgrade assistant'
})}
</EuiLink>
</Container>

View file

@ -61,10 +61,10 @@ export function NoServicesMessage({ historicalDataFound }: Props) {
hash="/management/elasticsearch/upgrade_assistant"
>
{i18n.translate(
'xpack.apm.servicesTable.MigrationAssistantLink',
'xpack.apm.servicesTable.UpgradeAssistantLink',
{
defaultMessage:
'Learn more by visiting the Kibana Migration Assistant'
'Learn more by visiting the Kibana Upgrade Assistant'
}
)}
</KibanaLink>

View file

@ -14,7 +14,7 @@ describe('NoServicesMessage', () => {
expect(wrapper).toMatchSnapshot();
});
it('should show a "no services installed" message, a link to the set up instructions page, a message about upgrading APM server, and a link to the migration assistant when NO historical data is found', () => {
it('should show a "no services installed" message, a link to the set up instructions page, a message about upgrading APM server, and a link to the upgrade assistant when NO historical data is found', () => {
const wrapper = shallow(<NoServicesMessage historicalDataFound={false} />);
expect(wrapper).toMatchSnapshot();
});

View file

@ -1,6 +1,6 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`NoServicesMessage should show a "no services installed" message, a link to the set up instructions page, a message about upgrading APM server, and a link to the migration assistant when NO historical data is found 1`] = `
exports[`NoServicesMessage should show a "no services installed" message, a link to the set up instructions page, a message about upgrading APM server, and a link to the upgrade assistant when NO historical data is found 1`] = `
<EuiEmptyPrompt
actions={
<SetupInstructionsLink
@ -20,7 +20,7 @@ exports[`NoServicesMessage should show a "no services installed" message, a link
hash="/management/elasticsearch/upgrade_assistant"
pathname="/app/kibana"
>
Learn more by visiting the Kibana Migration Assistant
Learn more by visiting the Kibana Upgrade Assistant
</Connect(UnconnectedKibanaLink)>
.
</p>