[Management] Update landing page links (#162608)

This commit is contained in:
Ignacio Rivas 2023-08-01 13:59:29 +03:00 committed by GitHub
parent 6085444190
commit f82ca84251
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 71 additions and 69 deletions

View file

@ -71,6 +71,13 @@ const getEnabledAppsByCategory = (sections: AppRegistrySections[], hideLinksTo:
}),
apps: getAppsForCategory(appCategories.DATA, filteredApps),
},
{
id: appCategories.ALERTS,
title: i18n.translate('management.landing.withCardNavigation.alertsTitle', {
defaultMessage: 'Alerts and insights',
}),
apps: getAppsForCategory(appCategories.ALERTS, filteredApps),
},
{
id: appCategories.CONTENT,
title: i18n.translate('management.landing.withCardNavigation.contentTitle', {

View file

@ -18,7 +18,6 @@ export enum appIds {
INDEX_MANAGEMENT = 'index_management',
TRANSFORM = 'transform',
ML = 'jobsListLink',
DATA_VIEW = 'data_view',
SAVED_OBJECTS = 'objects',
TAGS = 'tags',
FILES_MANAGEMENT = 'filesManagement',
@ -35,29 +34,12 @@ export type AppId = `${appIds}`;
export const appCategories = {
DATA: 'data',
ALERTS: 'alerts',
CONTENT: 'content',
OTHER: 'other',
};
export const appDefinitions: Record<AppId, AppDefinition> = {
[appIds.INGEST_PIPELINES]: {
category: appCategories.DATA,
description: i18n.translate(
'management.landing.withCardNavigation.ingestPipelinesDescription',
{
defaultMessage:
'Use pipelines to remove or transform fields, extract values from text, and enrich your data before indexing.',
}
),
icon: <EuiIcon size="l" type="logstashInput" />,
},
[appIds.PIPELINES]: {
category: appCategories.DATA,
description: i18n.translate('management.landing.withCardNavigation.ingestDescription', {
defaultMessage: 'Manage Logstash event processing and see the result visually.',
}),
icon: <EuiIcon size="l" type="logstashQueue" />,
},
[appIds.INDEX_MANAGEMENT]: {
category: appCategories.DATA,
description: i18n.translate(
@ -76,50 +58,16 @@ export const appDefinitions: Record<AppId, AppDefinition> = {
}),
icon: <EuiIcon size="l" type="indexFlush" />,
},
[appIds.ML]: {
[appIds.INGEST_PIPELINES]: {
category: appCategories.DATA,
description: i18n.translate('management.landing.withCardNavigation.mlDescription', {
defaultMessage:
'View, export, and import machine learning analytics and anomaly detection items.',
}),
icon: <EuiIcon size="l" type="indexMapping" />,
},
[appIds.DATA_VIEW]: {
category: appCategories.DATA,
description: i18n.translate('management.landing.withCardNavigation.dataViewsDescription', {
defaultMessage:
'Create and manage the data views that help you retrieve your data from Elasticsearch.',
}),
icon: <EuiIcon size="l" type="indexEdit" />,
},
[appIds.SAVED_OBJECTS]: {
category: appCategories.CONTENT,
description: i18n.translate('management.landing.withCardNavigation.objectsDescription', {
defaultMessage:
'Manage and share your saved objects. To edit the underlying data of an object, go to its associated application.',
}),
icon: <EuiIcon size="l" type="save" />,
},
[appIds.TAGS]: {
category: appCategories.CONTENT,
description: i18n.translate('management.landing.withCardNavigation.tagsDescription', {
defaultMessage: 'Use tags to categorize and easily find your objects.',
}),
icon: <EuiIcon size="l" type="tag" />,
},
[appIds.FILES_MANAGEMENT]: {
category: appCategories.CONTENT,
description: i18n.translate('management.landing.withCardNavigation.fileManagementDescription', {
defaultMessage: 'Any files created will be listed here.',
}),
icon: <EuiIcon size="l" type="documents" />,
},
[appIds.API_KEYS]: {
category: appCategories.OTHER,
description: i18n.translate('management.landing.withCardNavigation.apiKeysDescription', {
defaultMessage: 'Allow applications to access Elastic on your behalf.',
}),
icon: <EuiIcon size="l" type="lockOpen" />,
description: i18n.translate(
'management.landing.withCardNavigation.ingestPipelinesDescription',
{
defaultMessage:
'Use pipelines to remove or transform fields, extract values from text, and enrich your data before indexing.',
}
),
icon: <EuiIcon size="l" type="logstashInput" />,
},
[appIds.DATA_VIEWS]: {
category: appCategories.DATA,
@ -129,22 +77,38 @@ export const appDefinitions: Record<AppId, AppDefinition> = {
}),
icon: <EuiIcon size="l" type="indexEdit" />,
},
[appIds.CONNECTORS]: {
category: appCategories.OTHER,
description: i18n.translate('management.landing.withCardNavigation.connectorsDescription', {
defaultMessage: 'Connect third-party software with your alerting data.',
[appIds.ML]: {
category: appCategories.DATA,
description: i18n.translate('management.landing.withCardNavigation.mlDescription', {
defaultMessage:
'View, export, and import machine learning analytics and anomaly detection items.',
}),
icon: <EuiIcon size="l" type="desktop" />,
icon: <EuiIcon size="l" type="indexMapping" />,
},
[appIds.PIPELINES]: {
category: appCategories.DATA,
description: i18n.translate('management.landing.withCardNavigation.ingestDescription', {
defaultMessage: 'Manage Logstash event processing and see the result visually.',
}),
icon: <EuiIcon size="l" type="logstashQueue" />,
},
[appIds.RULES]: {
category: appCategories.OTHER,
category: appCategories.ALERTS,
description: i18n.translate('management.landing.withCardNavigation.rulesDescription', {
defaultMessage: 'Detect conditions using rules.',
}),
icon: <EuiIcon size="l" type="editorChecklist" />,
},
[appIds.CONNECTORS]: {
category: appCategories.ALERTS,
description: i18n.translate('management.landing.withCardNavigation.connectorsDescription', {
defaultMessage: 'Connect third-party software with your alerting data.',
}),
icon: <EuiIcon size="l" type="desktop" />,
},
[appIds.MAINTENANCE_WINDOWS]: {
category: appCategories.OTHER,
category: appCategories.ALERTS,
description: i18n.translate(
'management.landing.withCardNavigation.maintenanceWindowsDescription',
{
@ -153,6 +117,22 @@ export const appDefinitions: Record<AppId, AppDefinition> = {
),
icon: <EuiIcon size="l" type="wrench" />,
},
[appIds.SAVED_OBJECTS]: {
category: appCategories.CONTENT,
description: i18n.translate('management.landing.withCardNavigation.objectsDescription', {
defaultMessage:
'Manage and share your saved objects. To edit the underlying data of an object, go to its associated application.',
}),
icon: <EuiIcon size="l" type="save" />,
},
[appIds.FILES_MANAGEMENT]: {
category: appCategories.CONTENT,
description: i18n.translate('management.landing.withCardNavigation.fileManagementDescription', {
defaultMessage: 'Any files created will be listed here.',
}),
icon: <EuiIcon size="l" type="documents" />,
},
[appIds.REPORTING]: {
category: appCategories.CONTENT,
description: i18n.translate('management.landing.withCardNavigation.reportingDescription', {
@ -160,6 +140,21 @@ export const appDefinitions: Record<AppId, AppDefinition> = {
}),
icon: <EuiIcon size="l" type="visPie" />,
},
[appIds.TAGS]: {
category: appCategories.CONTENT,
description: i18n.translate('management.landing.withCardNavigation.tagsDescription', {
defaultMessage: 'Use tags to categorize and easily find your objects.',
}),
icon: <EuiIcon size="l" type="tag" />,
},
[appIds.API_KEYS]: {
category: appCategories.OTHER,
description: i18n.translate('management.landing.withCardNavigation.apiKeysDescription', {
defaultMessage: 'Allow applications to access Elastic on your behalf.',
}),
icon: <EuiIcon size="l" type="lockOpen" />,
},
};
// Compose a list of app ids that belong to a given category