Skip to content

Commit 7dc31c2

Browse files
committed
feat: update icons and breadcrumbs
1 parent 8bed121 commit 7dc31c2

20 files changed

Lines changed: 84 additions & 48 deletions

File tree

Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading

src/Assets/IconV2/ic-cloud.svg

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading

src/Common/BreadCrumb/BreadCrumb.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export function useBreadcrumb(props?: UseBreadcrumbOptionalProps, deps?: any[]):
6161
const { res: breadcrumbs } = useMemo(
6262
() =>
6363
levels.reduce(
64-
(agg, curr, idx) => {
64+
(agg, curr) => {
6565
const { res, prefix } = agg
6666
const { to, name } = curr
6767
res.push({

src/Common/Constants.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ import { SelectPickerOptionType } from '@Shared/Components'
1818
import { CostBreakdownItemViewParamsType, CostBreakdownViewType } from '@PagesDevtron2.0/CostVisibility'
1919
import { BackupAndScheduleListViewEnum, BackupLocationsTypes } from '@PagesDevtron2.0/DataProtectionManagement'
2020

21+
import { InfrastructureManagementAppListType } from './Types'
22+
2123
export const FALLBACK_REQUEST_TIMEOUT = 60000
2224
export const Host = window?.__ORCHESTRATOR_ROOT__ ?? '/orchestrator'
2325

@@ -89,9 +91,9 @@ export const URLS = {
8991
APPLICATION_MANAGEMENT: APPLICATION_MANAGEMENT_ROOT,
9092
APPLICATION_MANAGEMENT_OVERVIEW: `${APPLICATION_MANAGEMENT_ROOT}/overview`,
9193
APPLICATION_MANAGEMENT_APP: `${APPLICATION_MANAGEMENT_ROOT}/app`,
94+
APPLICATION_MANAGEMENT_APP_LIST: `${APPLICATION_MANAGEMENT_ROOT}/devtron-apps`,
95+
APPLICATION_MANAGEMENT_CREATE_DEVTRON_APP: `${APPLICATION_MANAGEMENT_ROOT}/devtron-apps/create-app`,
9296
APPLICATION_MANAGEMENT_APPLICATION_GROUP: `${APPLICATION_MANAGEMENT_ROOT}/application-group`,
93-
APPLICATION_MANAGEMENT_CHART_STORE: `${APPLICATION_MANAGEMENT_ROOT}/chart-store`,
94-
APPLICATION_MANAGEMENT_CHART_STORE_DISCOVER: `${APPLICATION_MANAGEMENT_ROOT}/chart-store/discover`,
9597
APPLICATION_MANAGEMENT_TEMPLATES_DEVTRON_APP,
9698
APPLICATION_MANAGEMENT_TEMPLATES_DEVTRON_APP_CREATE: `${APPLICATION_MANAGEMENT_TEMPLATES_DEVTRON_APP}/create`,
9799
// NOTE: using appId since we are re-using AppConfig component
@@ -106,6 +108,10 @@ export const URLS = {
106108
// INFRASTRUCTURE MANAGEMENT
107109
INFRASTRUCTURE_MANAGEMENT: INFRASTRUCTURE_MANAGEMENT_ROOT,
108110
INFRASTRUCTURE_MANAGEMENT_OVERVIEW: `${INFRASTRUCTURE_MANAGEMENT_ROOT}/overview`,
111+
INFRASTRUCTURE_MANAGEMENT_APP_LIST: `${INFRASTRUCTURE_MANAGEMENT_ROOT}/apps/:appType(${Object.values(InfrastructureManagementAppListType).join('|')})`,
112+
INFRASTRUCTURE_MANAGEMENT_APP: `${INFRASTRUCTURE_MANAGEMENT_ROOT}/app`,
113+
INFRASTRUCTURE_MANAGEMENT_CHART_STORE: `${INFRASTRUCTURE_MANAGEMENT_ROOT}/chart-store`,
114+
INFRASTRUCTURE_MANAGEMENT_CHART_STORE_DISCOVER: `${INFRASTRUCTURE_MANAGEMENT_ROOT}/chart-store/discover`,
109115
INFRASTRUCTURE_MANAGEMENT_RESOURCE_BROWSER: `${INFRASTRUCTURE_MANAGEMENT_ROOT}/resource-browser`,
110116
INFRASTRUCTURE_MANAGEMENT_RESOURCE_WATCHER: `${INFRASTRUCTURE_MANAGEMENT_ROOT}/resource-watcher`,
111117
// SOFTWARE RELEASE MANAGEMENT

0 commit comments

Comments
 (0)