Reorder ES management nav (#65082)

This commit is contained in:
Alison Goryachev 2020-05-04 14:47:47 -04:00 committed by GitHub
parent 8813114e94
commit 85539ee855
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 5 deletions

View file

@ -39,7 +39,7 @@ export class CrossClusterReplicationPlugin implements Plugin {
const ccrApp = esSection!.registerApp({
id: MANAGEMENT_ID,
title: PLUGIN.TITLE,
order: 4,
order: 6,
mount: async ({ element, setBreadcrumbs }) => {
const { mountApp } = await import('./app');

View file

@ -40,7 +40,7 @@ export class IndexLifecycleManagementPlugin {
management.sections.getSection('elasticsearch')!.registerApp({
id: PLUGIN.ID,
title: PLUGIN.TITLE,
order: 2,
order: 3,
mount: async ({ element }) => {
const [coreStart] = await getStartServices();
const {

View file

@ -51,7 +51,7 @@ export class IndexMgmtUIPlugin {
management.sections.getSection('elasticsearch')!.registerApp({
id: PLUGIN.id,
title: i18n.translate('xpack.idxMgmt.appTitle', { defaultMessage: 'Index Management' }),
order: 1,
order: 2,
mount: async params => {
const { mountManagementSection } = await import('./application/mount_management_section');
const services = {

View file

@ -22,6 +22,7 @@ export class IngestPipelinesPlugin implements Plugin {
management.sections.getSection('elasticsearch')!.registerApp({
id: PLUGIN_ID,
order: 1,
title: i18n.translate('xpack.ingestPipelines.appTitle', {
defaultMessage: 'Ingest Node Pipelines',
}),

View file

@ -82,7 +82,7 @@ export class RollupPlugin implements Plugin {
esSection.registerApp({
id: 'rollup_jobs',
title: i18n.translate('xpack.rollupJobs.appTitle', { defaultMessage: 'Rollup Jobs' }),
order: 3,
order: 5,
async mount(params) {
params.setBreadcrumbs([
{

View file

@ -29,7 +29,7 @@ export class TransformUiPlugin {
title: kbnI18n.translate('xpack.transform.appTitle', {
defaultMessage: 'Transforms',
}),
order: 3,
order: 4,
mount: async params => {
const { mountManagementSection } = await import('./app/mount_management_section');
return mountManagementSection(coreSetup, params);