mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
Grouped features for space management (#74151)
* Grouped features for space management * Apply suggestions from code review Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com> * Address PR Feedback * docs changes * updating types/docs * update APM feature name * Reintroduce extraAction following EUI update * change ordering of infra features, and render callout for management category Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
parent
cdb3c30ab9
commit
9f3992f6c2
70 changed files with 965 additions and 313 deletions
|
@ -5,6 +5,7 @@
|
|||
*/
|
||||
import { i18n } from '@kbn/i18n';
|
||||
import { KibanaFeatureConfig } from '../common';
|
||||
import { DEFAULT_APP_CATEGORIES } from '../../../../src/core/server';
|
||||
|
||||
export interface BuildOSSFeaturesParams {
|
||||
savedObjectTypes: string[];
|
||||
|
@ -19,6 +20,7 @@ export const buildOSSFeatures = ({ savedObjectTypes, includeTimelion }: BuildOSS
|
|||
defaultMessage: 'Discover',
|
||||
}),
|
||||
order: 100,
|
||||
category: DEFAULT_APP_CATEGORIES.kibana,
|
||||
icon: 'discoverApp',
|
||||
navLinkId: 'discover',
|
||||
app: ['discover', 'kibana'],
|
||||
|
@ -78,7 +80,8 @@ export const buildOSSFeatures = ({ savedObjectTypes, includeTimelion }: BuildOSS
|
|||
name: i18n.translate('xpack.features.visualizeFeatureName', {
|
||||
defaultMessage: 'Visualize',
|
||||
}),
|
||||
order: 200,
|
||||
order: 700,
|
||||
category: DEFAULT_APP_CATEGORIES.kibana,
|
||||
icon: 'visualizeApp',
|
||||
navLinkId: 'visualize',
|
||||
app: ['visualize', 'lens', 'kibana'],
|
||||
|
@ -138,7 +141,8 @@ export const buildOSSFeatures = ({ savedObjectTypes, includeTimelion }: BuildOSS
|
|||
name: i18n.translate('xpack.features.dashboardFeatureName', {
|
||||
defaultMessage: 'Dashboard',
|
||||
}),
|
||||
order: 300,
|
||||
order: 200,
|
||||
category: DEFAULT_APP_CATEGORIES.kibana,
|
||||
icon: 'dashboardApp',
|
||||
navLinkId: 'dashboards',
|
||||
app: ['dashboards', 'kibana'],
|
||||
|
@ -217,6 +221,7 @@ export const buildOSSFeatures = ({ savedObjectTypes, includeTimelion }: BuildOSS
|
|||
defaultMessage: 'Dev Tools',
|
||||
}),
|
||||
order: 1300,
|
||||
category: DEFAULT_APP_CATEGORIES.management,
|
||||
icon: 'devToolsApp',
|
||||
navLinkId: 'dev_tools',
|
||||
app: ['dev_tools', 'kibana'],
|
||||
|
@ -254,6 +259,7 @@ export const buildOSSFeatures = ({ savedObjectTypes, includeTimelion }: BuildOSS
|
|||
defaultMessage: 'Advanced Settings',
|
||||
}),
|
||||
order: 1500,
|
||||
category: DEFAULT_APP_CATEGORIES.management,
|
||||
icon: 'advancedSettingsApp',
|
||||
app: ['kibana'],
|
||||
catalogue: ['advanced_settings'],
|
||||
|
@ -293,6 +299,7 @@ export const buildOSSFeatures = ({ savedObjectTypes, includeTimelion }: BuildOSS
|
|||
defaultMessage: 'Index Pattern Management',
|
||||
}),
|
||||
order: 1600,
|
||||
category: DEFAULT_APP_CATEGORIES.management,
|
||||
icon: 'indexPatternApp',
|
||||
app: ['kibana'],
|
||||
catalogue: ['indexPatterns'],
|
||||
|
@ -332,6 +339,7 @@ export const buildOSSFeatures = ({ savedObjectTypes, includeTimelion }: BuildOSS
|
|||
defaultMessage: 'Saved Objects Management',
|
||||
}),
|
||||
order: 1700,
|
||||
category: DEFAULT_APP_CATEGORIES.management,
|
||||
icon: 'savedObjectsApp',
|
||||
app: ['kibana'],
|
||||
catalogue: ['saved_objects'],
|
||||
|
@ -375,6 +383,7 @@ const timelionFeature: KibanaFeatureConfig = {
|
|||
id: 'timelion',
|
||||
name: 'Timelion',
|
||||
order: 350,
|
||||
category: DEFAULT_APP_CATEGORIES.kibana,
|
||||
icon: 'timelionApp',
|
||||
navLinkId: 'timelion',
|
||||
app: ['timelion', 'kibana'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue