Skip to content

Commit e2a1308

Browse files
committed
chore: chart group
1 parent bae0134 commit e2a1308

File tree

4 files changed

+23
-6
lines changed

4 files changed

+23
-6
lines changed

src/components/charts/ChartGroupAdvanceDeploy.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ import {
2626
PageHeader,
2727
ToastVariantType,
2828
ToastManager,
29-
getApplicationManagementBreadcrumb
29+
getApplicationManagementBreadcrumb,
30+
BreadcrumbText,
3031
} from '@devtron-labs/devtron-fe-common-lib'
3132
import Tippy from '@tippyjs/react'
3233
import MultiChartSummary from './MultiChartSummary'
@@ -63,8 +64,8 @@ export default function ChartGroupAdvanceDeploy() {
6364
const { breadcrumbs } = useBreadcrumb(
6465
{
6566
alias: {
66-
...getApplicationManagementBreadcrumb(),
67-
'chart-store': 'Chart store',
67+
...getApplicationManagementBreadcrumb(),
68+
'chart-store': 'Chart Store',
6869
group: 'Chart groups',
6970
':groupId': {
7071
component: state.name,

src/components/charts/ChartGroupDetails.tsx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ import {
3131
ButtonVariantType,
3232
ButtonStyleType,
3333
ComponentSizeType,
34-
getApplicationManagementBreadcrumb
34+
getApplicationManagementBreadcrumb,
35+
BreadcrumbText,
3536
} from '@devtron-labs/devtron-fe-common-lib'
3637
import Tippy from '@tippyjs/react'
3738
import ChartGroupDeployments from './ChartGroupDeployments'
@@ -74,7 +75,11 @@ export default function ChartGroupDetails() {
7475
{
7576
alias: {
7677
...getApplicationManagementBreadcrumb(),
77-
'chart-store': null,
78+
'chart-store': {
79+
component: <BreadcrumbText heading="Chart Store" />,
80+
linked: true,
81+
},
82+
'discover': null,
7883
group: 'Chart groups',
7984
':groupId': {
8085
component: (

src/components/charts/ChartGroupUpdate.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ import {
2525
DetectBottom,
2626
ToastManager,
2727
ToastVariantType,
28-
getApplicationManagementBreadcrumb
28+
getApplicationManagementBreadcrumb,
29+
BreadcrumbText,
2930
} from '@devtron-labs/devtron-fe-common-lib'
3031
import ChartCard from './ChartCard'
3132
import { ChartGroupEntry, Chart, ChartListType } from './charts.types'
@@ -83,6 +84,11 @@ export default function ChartGroupUpdate({}) {
8384
{
8485
alias: {
8586
...getApplicationManagementBreadcrumb(),
87+
'chart-store': null,
88+
discover: {
89+
component: <BreadcrumbText heading="Chart Store" />,
90+
linked: true,
91+
},
8692
group: 'Chart Groups',
8793
':groupId': {
8894
component: state.name,

src/components/charts/list/ChartGroup.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import ChartGroupUpdate from '../ChartGroupUpdate'
2323
import ChartGroupDetails from '../ChartGroupDetails'
2424
import ChartGroupAdvanceDeploy from '../ChartGroupAdvanceDeploy'
2525
import { ReactComponent as Add } from '../../../assets/icons/ic-add.svg'
26+
import { BreadcrumbText } from '@devtron-labs/devtron-fe-common-lib'
2627

2728
const ChartGroupList = () => {
2829
const [loading, result] = useAsync(getChartGroups, [])
@@ -31,6 +32,10 @@ const ChartGroupList = () => {
3132
alias: {
3233
...getApplicationManagementBreadcrumb(),
3334
'chart-store': null,
35+
discover: {
36+
component: <BreadcrumbText heading="Chart Store" />,
37+
linked: true,
38+
},
3439
group: { component: 'Chart Groups', linked: false },
3540
},
3641
},

0 commit comments

Comments
 (0)