Skip to content

Commit

Permalink
Removing monitoring
Browse files Browse the repository at this point in the history
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.

rancher/dashboard#10617
  • Loading branch information
codyrancher committed Apr 24, 2024
1 parent 8160702 commit b797390
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 47 deletions.
43 changes: 0 additions & 43 deletions app/instance-initializers/nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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',
Expand Down Expand Up @@ -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',
Expand All @@ -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',
Expand Down
4 changes: 0 additions & 4 deletions translations/en-us.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b797390

Please sign in to comment.