Skip to content

Commit 5515469

Browse files
Merge pull request #2947 from devtron-labs/feat/storage-backup
chore: storage backup base routes
2 parents d32ba57 + a6e737b commit 5515469

File tree

5 files changed

+21
-40
lines changed

5 files changed

+21
-40
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"homepage": "/dashboard",
66
"dependencies": {
7-
"@devtron-labs/devtron-fe-common-lib": "1.20.3-pre-10",
7+
"@devtron-labs/devtron-fe-common-lib": "1.20.3-pre-12",
88
"@esbuild-plugins/node-globals-polyfill": "0.2.3",
99
"@rjsf/core": "^5.13.3",
1010
"@rjsf/utils": "^5.13.3",

src/components/Navigation/constants.ts

Lines changed: 13 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -414,58 +414,38 @@ export const NAVIGATION_LIST: NavigationGroupType[] = [
414414
],
415415
},
416416
{
417-
title: 'Backup & Restore',
418-
id: 'backup-and-restore',
417+
title: 'Data Protection Management',
418+
id: 'data-protection-management',
419419
icon: 'ic-database-backup',
420-
disabled: true,
421420
items: [
422421
{
423422
title: 'Overview',
424-
dataTestId: 'backup-and-restore-overview',
425-
id: 'backup-and-restore-overview',
423+
dataTestId: 'data-protection-overview',
424+
id: 'data-protection-overview',
426425
icon: 'ic-speedometer',
427426
disabled: true,
428-
href: COMMON_URLS.BACKUP_AND_RESTORE_OVERVIEW,
427+
href: COMMON_URLS.DATA_PROTECTION_OVERVIEW,
429428
},
430429
{
431430
title: 'Backup & Schedule',
432-
dataTestId: 'backup-and-restore-backup-and-schedule',
433-
id: 'backup-and-restore-backup-and-schedule',
431+
dataTestId: 'data-protection-backup-and-schedule',
432+
id: 'data-protection-backup-and-schedule',
434433
icon: 'ic-floppy-disk',
435-
href: '/dummy-url',
436-
disabled: true,
434+
href: COMMON_URLS.DATA_PROTECTION_BACKUP_AND_SCHEDULE,
437435
},
438436
{
439437
title: 'Restores',
440-
dataTestId: 'backup-and-restore-restores',
441-
id: 'backup-and-restore-restores',
438+
dataTestId: 'data-protection-restores',
439+
id: 'data-protection-restores',
442440
icon: 'ic-clock-counterclockwise',
443-
href: '/dummy-url',
444-
disabled: true,
445-
},
446-
{
447-
title: 'Backup Repositories',
448-
dataTestId: 'backup-repositories',
449-
id: 'backup-and-restore-backup-repositories',
450-
icon: 'ic-folder',
451-
href: '/dummy-url',
452-
disabled: true,
441+
href: COMMON_URLS.DATA_PROTECTION_RESTORES,
453442
},
454443
{
455444
title: 'Backup Locations',
456445
dataTestId: 'backup-locations',
457-
id: 'backup-and-restore-backup-locations',
446+
id: 'data-protection-backup-locations',
458447
icon: 'ic-storage',
459-
href: '/dummy-url',
460-
disabled: true,
461-
},
462-
{
463-
title: 'History & Logs',
464-
dataTestId: 'history-and-logs',
465-
id: 'backup-and-restore-history-and-logs',
466-
icon: 'ic-clipboard',
467-
href: '/dummy-url',
468-
disabled: true,
448+
href: COMMON_URLS.DATA_PROTECTION_BACKUP_LOCATIONS,
469449
},
470450
],
471451
},

src/components/Navigation/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export type NavigationRootItemID =
1919
| 'cost-visibility'
2020
| 'security-center'
2121
| 'automation-and-enablement'
22-
| 'backup-and-restore'
22+
| 'data-protection-management'
2323
| 'global-configuration'
2424
| 'ai-recommendations'
2525

src/components/common/navigation/NavigationRoutes.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -682,6 +682,7 @@ const NavigationRoutes = ({ reloadVersionConfig }: Readonly<NavigationRoutesType
682682
CommonURLS.APPLICATION_MANAGEMENT,
683683
CommonURLS.COST_VISIBILITY,
684684
CommonURLS.AI_RECOMMENDATIONS,
685+
CommonURLS.DATA_PROTECTION,
685686
]}
686687
>
687688
<CostVisibilityRenderProvider renderClusterForm={renderClusterForm}>

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1722,9 +1722,9 @@ __metadata:
17221722
languageName: node
17231723
linkType: hard
17241724

1725-
"@devtron-labs/devtron-fe-common-lib@npm:1.20.3-pre-10":
1726-
version: 1.20.3-pre-10
1727-
resolution: "@devtron-labs/devtron-fe-common-lib@npm:1.20.3-pre-10"
1725+
"@devtron-labs/devtron-fe-common-lib@npm:1.20.3-pre-12":
1726+
version: 1.20.3-pre-12
1727+
resolution: "@devtron-labs/devtron-fe-common-lib@npm:1.20.3-pre-12"
17281728
dependencies:
17291729
"@codemirror/autocomplete": "npm:6.18.6"
17301730
"@codemirror/lang-json": "npm:6.0.1"
@@ -1776,7 +1776,7 @@ __metadata:
17761776
react-select: 5.8.0
17771777
rxjs: ^7.8.1
17781778
yaml: ^2.4.1
1779-
checksum: 10c0/16e11c69fb84aeb11b56335fdbfbe38c036ddf83d1df169cbf94bd3ce234c5d31fef710f1ba0c665574227c1660ef3891b6f8fae822ce4de35cf7dc8e49ce68f
1779+
checksum: 10c0/33b9aec93cc00f5aadd38ac8ff47f05aa5f0872360b96cec7f4cd97197914fd26da39a173bade82e723ab2661f7142b76291df60bac203643b4f6387143cab48
17801780
languageName: node
17811781
linkType: hard
17821782

@@ -5581,7 +5581,7 @@ __metadata:
55815581
version: 0.0.0-use.local
55825582
resolution: "dashboard@workspace:."
55835583
dependencies:
5584-
"@devtron-labs/devtron-fe-common-lib": "npm:1.20.3-pre-10"
5584+
"@devtron-labs/devtron-fe-common-lib": "npm:1.20.3-pre-12"
55855585
"@esbuild-plugins/node-globals-polyfill": "npm:0.2.3"
55865586
"@playwright/test": "npm:^1.32.1"
55875587
"@rjsf/core": "npm:^5.13.3"

0 commit comments

Comments
 (0)