Skip to content

Commit

Permalink
workspace icon
Browse files Browse the repository at this point in the history
Signed-off-by: Hailong Cui <[email protected]>
  • Loading branch information
Hailong-am committed Aug 22, 2024
1 parent 6c57a4d commit 5196017
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/core/utils/default_nav_groups.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ const defaultNavGroups = {
defaultMessage: 'This is a use case contains all the features.',
}),
order: 3000,
icon: 'wsAnalytics',
},
observability: {
id: 'observability',
Expand All @@ -51,6 +52,7 @@ const defaultNavGroups = {
'Gain visibility into system health, performance, and reliability through monitoring and analysis of logs, metrics, and traces.',
}),
order: 4000,
icon: 'wsObservability',
},
'security-analytics': {
id: 'security-analytics',
Expand All @@ -62,6 +64,7 @@ const defaultNavGroups = {
'Detect and investigate potential security threats and vulnerabilities across your systems and data.',
}),
order: 5000,
icon: 'wsSecurityAnalytics',
},
essentials: {
id: 'analytics',
Expand All @@ -73,6 +76,7 @@ const defaultNavGroups = {
'Analyze data to derive insights, identify patterns and trends, and make data-driven decisions.',
}),
order: 7000,
icon: 'wsEssentials',
},
search: {
id: 'search',
Expand All @@ -84,6 +88,7 @@ const defaultNavGroups = {
"Quickly find and explore relevant information across your organization's data sources.",
}),
order: 6000,
icon: 'wsSearch',
},
} as const;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,8 @@ export const registerAnalyticsAllOverviewContent = (
getContent: () => ({
id: card.id,
kind: 'card',
getIcon: () => React.createElement(EuiIcon, { size: 'xl', type: 'spacesApp' }),
getIcon: () =>
React.createElement(EuiIcon, { size: 'xl', type: card.icon || 'wsSelector' }),
order: card.order || index,
description: card.description,
title: card.title,
Expand Down

0 comments on commit 5196017

Please sign in to comment.