diff --git a/src/Assets/IconV2/ic-binoculars.svg b/src/Assets/IconV2/ic-binoculars.svg new file mode 100644 index 000000000..2eb3697bf --- /dev/null +++ b/src/Assets/IconV2/ic-binoculars.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/src/Common/Constants.ts b/src/Common/Constants.ts index 9a7e21daa..7e197f69e 100644 --- a/src/Common/Constants.ts +++ b/src/Common/Constants.ts @@ -56,6 +56,7 @@ const APPLICATION_MANAGEMENT_ROOT = '/application-management' const APPLICATION_MANAGEMENT_TEMPLATES_DEVTRON_APP = `${APPLICATION_MANAGEMENT_ROOT}/templates/devtron-app` const APPLICATION_MANAGEMENT_CONFIGURATIONS = `${APPLICATION_MANAGEMENT_ROOT}/configurations` const INFRASTRUCTURE_MANAGEMENT_ROOT = '/infrastructure-management' +const OBSERVABILITY_ROOT = '/observability' const SOFTWARE_RELEASE_MANAGEMENT_ROOT = '/software-release-management' const COST_VISIBILITY_ROOT = '/cost-visibility' const SECURITY_CENTER_ROOT = '/security-center' @@ -116,6 +117,10 @@ export const URLS = { INFRASTRUCTURE_MANAGEMENT_CHART_STORE_DISCOVER: `${INFRASTRUCTURE_MANAGEMENT_ROOT}/chart-store/discover`, INFRASTRUCTURE_MANAGEMENT_RESOURCE_BROWSER: `${INFRASTRUCTURE_MANAGEMENT_ROOT}/resource-browser`, INFRASTRUCTURE_MANAGEMENT_RESOURCE_WATCHER: `${INFRASTRUCTURE_MANAGEMENT_ROOT}/resource-watcher`, + // OBSERVABILITY + OBSERVABILITY: OBSERVABILITY_ROOT, + OBSERVABILITY_OVERVIEW: `${OBSERVABILITY_ROOT}/overview`, + OBSERVABILITY_CUSTOMER_LIST: `${OBSERVABILITY_ROOT}/customers`, // SOFTWARE RELEASE MANAGEMENT SOFTWARE_RELEASE_MANAGEMENT: SOFTWARE_RELEASE_MANAGEMENT_ROOT, // COST VISIBILITY diff --git a/src/Shared/Components/Icon/Icon.tsx b/src/Shared/Components/Icon/Icon.tsx index d3b340dc0..167c022e0 100644 --- a/src/Shared/Components/Icon/Icon.tsx +++ b/src/Shared/Components/Icon/Icon.tsx @@ -41,6 +41,7 @@ import { ReactComponent as ICBgProject } from '@IconsV2/ic-bg-project.svg' import { ReactComponent as ICBgScan } from '@IconsV2/ic-bg-scan.svg' import { ReactComponent as ICBgWebhook } from '@IconsV2/ic-bg-webhook.svg' import { ReactComponent as ICBharatpe } from '@IconsV2/ic-bharatpe.svg' +import { ReactComponent as ICBinoculars } from '@IconsV2/ic-binoculars.svg' import { ReactComponent as ICBitbucket } from '@IconsV2/ic-bitbucket.svg' import { ReactComponent as ICBookOpen } from '@IconsV2/ic-book-open.svg' import { ReactComponent as ICBot } from '@IconsV2/ic-bot.svg' @@ -342,6 +343,7 @@ export const iconMap = { 'ic-bg-scan': ICBgScan, 'ic-bg-webhook': ICBgWebhook, 'ic-bharatpe': ICBharatpe, + 'ic-binoculars': ICBinoculars, 'ic-bitbucket': ICBitbucket, 'ic-book-open': ICBookOpen, 'ic-bot': ICBot, diff --git a/src/Shared/Hooks/useUserPreferences/types.ts b/src/Shared/Hooks/useUserPreferences/types.ts index e0c9d015b..d4f50a37e 100644 --- a/src/Shared/Hooks/useUserPreferences/types.ts +++ b/src/Shared/Hooks/useUserPreferences/types.ts @@ -33,6 +33,8 @@ export type NavigationItemID = | 'infrastructure-management-resource-browser' | 'infrastructure-management-resource-watcher' | 'infrastructure-management-catalog-framework' + | 'observability-overview' + | 'observability-vms' | 'software-release-management-overview' | 'software-release-management-release-hub' | 'software-release-management-tenants'