clean-up sample data text (#19902)

* clean-up sample data text

* remove duplicate text in toast since name includes 'sample' and 'data'
This commit is contained in:
Nathan Reese 2018-06-14 14:24:54 -06:00 committed by GitHub
parent b936bbc326
commit 829b6ddb8a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 17 additions and 17 deletions

View file

@ -199,7 +199,7 @@ exports[`apmUiEnabled 1`] = `
}
}
>
Fresh Elastic stack installation?
Need data?
</strong>
<EuiLink
color="primary"
@ -211,7 +211,7 @@ exports[`apmUiEnabled 1`] = `
}
type="button"
>
Try some sample data sets
Load sample data, visualizations, and dashboards
</EuiLink>
</EuiText>
</EuiFlexItem>
@ -229,7 +229,7 @@ exports[`apmUiEnabled 1`] = `
}
}
>
Data already in Elasticsearch?
Have data?
</strong>
<EuiLink
color="primary"
@ -241,7 +241,7 @@ exports[`apmUiEnabled 1`] = `
}
type="button"
>
Set up index patterns
Connect to your Elasticsearch index
</EuiLink>
</EuiText>
</EuiFlexItem>
@ -417,7 +417,7 @@ exports[`render 1`] = `
}
}
>
Fresh Elastic stack installation?
Need data?
</strong>
<EuiLink
color="primary"
@ -429,7 +429,7 @@ exports[`render 1`] = `
}
type="button"
>
Try some sample data sets
Load sample data, visualizations, and dashboards
</EuiLink>
</EuiText>
</EuiFlexItem>
@ -447,7 +447,7 @@ exports[`render 1`] = `
}
}
>
Data already in Elasticsearch?
Have data?
</strong>
<EuiLink
color="primary"
@ -459,7 +459,7 @@ exports[`render 1`] = `
}
type="button"
>
Set up index patterns
Connect to your Elasticsearch index
</EuiLink>
</EuiText>
</EuiFlexItem>

View file

@ -141,26 +141,26 @@ export function AddData({ apmUiEnabled }) {
<EuiFlexItem grow={false}>
<EuiText>
<strong style={{ height: 38 }}>
Fresh Elastic stack installation?
Need data?
</strong>
<EuiLink
style={{ marginLeft: 8 }}
href="#/home/tutorial_directory/sampleData"
>
Try some sample data sets
Load sample data, visualizations, and dashboards
</EuiLink>
</EuiText>
</EuiFlexItem>
<EuiFlexItem grow={false}>
<EuiText>
<strong style={{ height: 38 }}>
Data already in Elasticsearch?
Have data?
</strong>
<EuiLink
style={{ marginLeft: 8 }}
href="#/management/kibana/index"
>
Set up index patterns
Connect to your Elasticsearch index
</EuiLink>
</EuiText>
</EuiFlexItem>

View file

@ -99,7 +99,7 @@ export class SampleDataSetCard extends React.Component {
href={this.props.launchUrl}
data-test-subj={`launchSampleDataSet${this.props.id}`}
>
Launch
View data
</EuiButton>
</EuiFlexItem>
</EuiFlexGroup>

View file

@ -77,7 +77,7 @@ export async function installSampleDataSet(id, name, defaultIndex, getConfig, se
clearIndexPatternsCache();
toastNotifications.addSuccess({
title: `${name} sample data set successfully installed`,
title: `${name} installed`,
['data-test-subj']: 'sampleDataSetInstallToast'
});
}
@ -109,7 +109,7 @@ export async function uninstallSampleDataSet(id, name, defaultIndex, getConfig,
clearIndexPatternsCache();
toastNotifications.addSuccess({
title: `${name} sample data set successfully uninstalled`,
title: `${name} uninstalled`,
['data-test-subj']: 'sampleDataSetUninstallToast'
});
}

View file

@ -23,7 +23,7 @@ export function flightsSpecProvider() {
return {
id: 'flights',
name: 'Sample flight data',
description: 'Installs fictional flight tracking data, visualizations and dashboards to monitor plane routes.',
description: 'Sample data, visualizations, and dashboards for monitoring flight routes.',
previewImagePath: '/plugins/kibana/home/sample_data_resources/flights/dashboard.png',
overviewDashboard: '7adfa750-4c81-11e8-b3d7-01146121b73d',
defaultIndex: 'd3d7af60-4c81-11e8-b3d7-01146121b73d',

View file

@ -218,7 +218,7 @@ export const savedObjects = [
"version": 1,
"attributes": {
"title": "[Flights] Markdown Instructions",
"visState": "{\"title\":\"[Flights] Markdown Instructions\",\"type\":\"markdown\",\"params\":{\"fontSize\":10,\"openLinksInNewTab\":true,\"markdown\":\"### Elastic Flights Sample Data\\nThis dashboard contains mock flight data. Use the input controls or click into a visualization to filter the entire dashboard, or simply search with the query bar . Click `Edit` to move around, resize or edit any visualizations. For more information about Kibana, be sure to check out our [docs](https://www.elastic.co/guide/en/kibana/current/index.html).\"},\"aggs\":[]}",
"visState": "{\"title\":\"[Flights] Markdown Instructions\",\"type\":\"markdown\",\"params\":{\"fontSize\":10,\"openLinksInNewTab\":true,\"markdown\":\"### Sample Flight data\\nThis dashboard contains sample data for you to play with. You can view it, search it, and interact with the visualizations. For more information about Kibana, check our [docs](https://www.elastic.co/guide/en/kibana/current/index.html).\"},\"aggs\":[]}",
"uiStateJSON": "{}",
"description": "",
"version": 1,