Skip to content

Commit cba985d

Browse files
Merge pull request #2933 from devtron-labs/fix/coming-soon-nav
chore: coming soon nav
2 parents 90ba94e + c08f65a commit cba985d

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/components/Navigation/Navigation.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ export const Navigation = ({
245245
onClick={handleNavGroupClick(item)}
246246
to={findActiveNavigationItemOfNavGroup(item.items)?.href}
247247
onHover={handleNavGroupHover(item)}
248+
showTooltip={item.disabled}
248249
/>
249250
))}
250251
{!window._env_.K8S_CLIENT && !isAirgapped && showStackManager && (

src/components/Navigation/constants.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,12 +432,14 @@ export const NAVIGATION_LIST: NavigationGroupType[] = [
432432
title: 'Backup & Restore',
433433
id: 'backup-and-restore',
434434
icon: 'ic-database-backup',
435+
disabled: true,
435436
items: [
436437
{
437438
title: 'Overview',
438439
dataTestId: 'backup-and-restore-overview',
439440
id: 'backup-and-restore-overview',
440441
icon: 'ic-speedometer',
442+
disabled: true,
441443
href: COMMON_URLS.BACKUP_AND_RESTORE_OVERVIEW,
442444
},
443445
{
@@ -486,12 +488,14 @@ export const NAVIGATION_LIST: NavigationGroupType[] = [
486488
id: 'ai-recommendations',
487489
title: 'AI Recommendations',
488490
icon: 'ic-openai',
491+
disabled: true,
489492
items: [
490493
{
491494
title: 'Overview',
492495
dataTestId: 'ai-recommendations-overview',
493496
id: 'ai-recommendations-overview',
494497
icon: 'ic-speedometer',
498+
disabled: true,
495499
href: COMMON_URLS.AI_RECOMMENDATIONS_OVERVIEW,
496500
},
497501
],

0 commit comments

Comments
 (0)