From d81fd05eb0a7a7eb8b4133fce075fdf646786712 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 | 19 ------------------- translations/en-us.yaml | 2 -- 2 files changed, 21 deletions(-) diff --git a/app/instance-initializers/nav.js b/app/instance-initializers/nav.js index 27696661a5..11bf8d4896 100644 --- a/app/instance-initializers/nav.js +++ b/app/instance-initializers/nav.js @@ -106,14 +106,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', @@ -233,17 +225,6 @@ const rootNav = [ 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..57f0e9a4d7 100644 --- a/translations/en-us.yaml +++ b/translations/en-us.yaml @@ -10461,8 +10461,6 @@ nav: alerts: Alerts backups: Snapshots catalogs: Catalogs - logging: Logging - monitoring: Monitoring notifiers: Notifiers pipeline: Pipeline tab: Tools