From b797390a55c35fac5747c1a011f9a1ee1d783009 Mon Sep 17 00:00:00 2001 From: Cody Jackson Date: Mon, 22 Apr 2024 14:49:51 -0700 Subject: [PATCH] Removing monitoring Logging had already been removed from the navigation menu but the translation was still present. I removed the translation for completeness. I left the routes and pages just in case we need to allow the customer to visit those pages even if it's unlikely. We will eventually fully remove ember so I don't think there's a reason to tidy up too much in this scenario. https://github.com/rancher/dashboard/issues/10617 --- app/instance-initializers/nav.js | 43 -------------------------------- translations/en-us.yaml | 4 --- 2 files changed, 47 deletions(-) diff --git a/app/instance-initializers/nav.js b/app/instance-initializers/nav.js index e4d630ec56..8eb82fca16 100644 --- a/app/instance-initializers/nav.js +++ b/app/instance-initializers/nav.js @@ -90,14 +90,6 @@ const rootNav = [ resource: [], resourceScope: 'global', submenu: [ - { - id: 'tools-alerts', - localizedLabel: 'nav.tools.alerts', - route: 'authenticated.project.alert', - resource: [], - ctx: [getProjectId], - resourceScope: 'global', - }, { id: 'manage-catalogs', localizedLabel: 'nav.tools.catalogs', @@ -106,14 +98,6 @@ const rootNav = [ resource: ['catalog', 'project-catalog'], resourceScope: 'global', }, - { - id: 'tools-monitoring', - localizedLabel: 'nav.tools.monitoring', - route: 'authenticated.project.monitoring.project-setting', - resourceScope: 'global', - resource: [], - ctx: [getProjectId], - }, { id: 'tools-pipeline', localizedLabel: 'nav.tools.pipeline', @@ -197,14 +181,6 @@ const rootNav = [ resource: [], resourceScope: 'global', submenu: [ - { - id: 'cluster-tools-alert', - localizedLabel: 'nav.tools.alerts', - route: 'authenticated.cluster.alert', - resourceScope: 'global', - resource: [], - ctx: [getClusterId], - }, { id: 'cluster-tools-backups', localizedLabel: 'nav.tools.backups', @@ -225,25 +201,6 @@ const rootNav = [ resource: ['catalog', 'cluster-catalog'], resourceScope: 'global', }, - { - id: 'cluster-tools-notifiers', - localizedLabel: 'nav.tools.notifiers', - route: 'authenticated.cluster.notifier', - resourceScope: 'global', - resource: [], - ctx: [getClusterId], - }, - { - id: 'cluster-tools-monitoring', - localizedLabel: 'nav.tools.monitoring', - route: 'authenticated.cluster.monitoring.cluster-setting', - resourceScope: 'global', - resource: [], - ctx: [getClusterId], - condition() { - return get(this, 'cluster.isActive') - }, - }, { divider: true }, { id: 'cluster-tools-backup', diff --git a/translations/en-us.yaml b/translations/en-us.yaml index 0222896757..daa37030dd 100644 --- a/translations/en-us.yaml +++ b/translations/en-us.yaml @@ -10635,12 +10635,8 @@ nav: tab: Settings advanced: Advanced tools: - alerts: Alerts backups: Snapshots catalogs: Catalogs - logging: Logging - monitoring: Monitoring - notifiers: Notifiers pipeline: Pipeline tab: Tools istio: Istio