Skip to content

Commit

Permalink
add rollups link to Kibana home (#24421)
Browse files Browse the repository at this point in the history
* add rollups link to Kibana home

* copy change

* copy edit

* Making rollup jobs empty message match home page copy

* copy edit

* copy edit
  • Loading branch information
bmcconaghy authored Oct 24, 2018
1 parent e6383d5 commit ae06fc1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions x-pack/plugins/rollup/public/crud_app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*/

import React from 'react';
import { FeatureCatalogueRegistryProvider, FeatureCatalogueCategory } from 'ui/registry/feature_catalogue';
import { render, unmountComponentAtNode } from 'react-dom';
import { Provider } from 'react-redux';
import { HashRouter } from 'react-router-dom';
Expand Down Expand Up @@ -77,3 +78,14 @@ routes.when(`${CRUD_APP_BASE_PATH}/:view?`, {
}
}
});
FeatureCatalogueRegistryProvider.register(() => {
return {
id: 'rollup_jobs',
title: 'Rollups',
description: 'Summarize and store historical data in a smaller index for future analysis.',
icon: 'indexRollupApp',
path: `#${CRUD_APP_BASE_PATH}/job_list`,
showOnHomePage: true,
category: FeatureCatalogueCategory.ADMIN
};
});
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export class JobListUi extends Component {
<FormattedMessage
id="xpack.rollupJobs.jobList.emptyPromptDescription"
defaultMessage={`
Rollup jobs summarize and store your data in a format that's compressed, yet aggregatable.
Rollup jobs summarize and store historical data in a smaller index for future analysis.
`}
/>
</p>
Expand Down

0 comments on commit ae06fc1

Please sign in to comment.