From da789914c15257968c0963348fe746d912592fd4 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 27696661a5..2bd0656c94 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 c714b32f0c..40f4a9c208 100644 --- a/translations/en-us.yaml +++ b/translations/en-us.yaml @@ -10458,12 +10458,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