]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: Rename Cluster > Monitoring to Alerts and change Cluster>Users to... 51530/head
authorAashish Sharma <aasharma@li-e74156cc-2f67-11b2-a85c-e98659a63c5c.ibm.com>
Wed, 17 May 2023 11:17:15 +0000 (16:47 +0530)
committerAashish Sharma <aasharma@li-e74156cc-2f67-11b2-a85c-e98659a63c5c.ibm.com>
Thu, 18 May 2023 08:50:56 +0000 (14:20 +0530)
Fixes: https://tracker.ceph.com/issues/61213
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
src/pybind/mgr/dashboard/frontend/cypress/integration/cluster/users.e2e-spec.ts
src/pybind/mgr/dashboard/frontend/cypress/integration/ui/navigation.po.ts
src/pybind/mgr/dashboard/frontend/src/app/app-routing.module.ts
src/pybind/mgr/dashboard/frontend/src/app/core/navigation/navigation/navigation.component.html

index 8374e7c7500fd90209a3463bb410d6ec07d00f95..87acda97fd83cb7d75dd9d544e7fe79ec6544a94 100644 (file)
@@ -1,6 +1,6 @@
 import { UsersPageHelper } from './users.po';
 
-describe('Cluster Users', () => {
+describe('Cluster Ceph Users', () => {
   const users = new UsersPageHelper();
 
   beforeEach(() => {
@@ -11,7 +11,7 @@ describe('Cluster Users', () => {
 
   describe('breadcrumb and tab tests', () => {
     it('should open and show breadcrumb', () => {
-      users.expectBreadcrumbText('Users');
+      users.expectBreadcrumbText('Ceph Users');
     });
   });
 
index 3713bd772c1a5f6596ad0faded44c8a74de5a289..3bad05559907f469c825e0d3f5839cc2d4b66169 100644 (file)
@@ -27,9 +27,9 @@ export class NavigationPageHelper extends PageHelper {
         { menu: 'Configuration', component: 'cd-configuration' },
         { menu: 'CRUSH map', component: 'cd-crushmap' },
         { menu: 'Manager Modules', component: 'cd-mgr-module-list' },
-        { menu: 'Users', component: 'cd-crud-table' },
+        { menu: 'Ceph Users', component: 'cd-crud-table' },
         { menu: 'Logs', component: 'cd-logs' },
-        { menu: 'Monitoring', component: 'cd-prometheus-tabs' }
+        { menu: 'Alerts', component: 'cd-prometheus-tabs' }
       ]
     },
     { menu: 'Pools', component: 'cd-pool-list' },
index 3d404b6f04360d7e037c0c081e15010c34036b16..640e838909f46c95d014d2c660f7443070669972 100644 (file)
@@ -121,7 +121,7 @@ const routes: Routes = [
         path: 'ceph-users',
         component: CRUDTableComponent,
         data: {
-          breadcrumbs: 'Cluster/Users',
+          breadcrumbs: 'Cluster/Ceph Users',
           resource: 'api.cluster.user@1.0'
         }
       },
@@ -129,7 +129,7 @@ const routes: Routes = [
         path: 'cluster/user/create',
         component: CrudFormComponent,
         data: {
-          breadcrumbs: 'Cluster/Users',
+          breadcrumbs: 'Cluster/Ceph Users/Create',
           resource: 'api.cluster.user@1.0'
         }
       },
@@ -137,7 +137,7 @@ const routes: Routes = [
         path: 'cluster/user/import',
         component: CrudFormComponent,
         data: {
-          breadcrumbs: 'Cluster/Users',
+          breadcrumbs: 'Cluster/Ceph Users/Import',
           resource: 'api.cluster.user@1.0'
         }
       },
@@ -145,7 +145,7 @@ const routes: Routes = [
         path: 'cluster/user/edit',
         component: CrudFormComponent,
         data: {
-          breadcrumbs: 'Cluster/Users',
+          breadcrumbs: 'Cluster/Ceph Users/Edit',
           resource: 'api.cluster.user@1.0'
         }
       },
@@ -237,7 +237,7 @@ const routes: Routes = [
       },
       {
         path: 'monitoring',
-        data: { breadcrumbs: 'Cluster/Monitoring' },
+        data: { breadcrumbs: 'Cluster/Alerts' },
         children: [
           { path: '', redirectTo: 'active-alerts', pathMatch: 'full' },
           {
index 0ea5e8dc3e38871957af8164b5d5c89cbe82b564..159f249d5d9e749cc97924d2cd3a8d2009921825 100644 (file)
               class="tc_submenuitem tc_submenuitem_users"
               *ngIf="permissions.configOpt.read">
             <a i18n
-               routerLink="/ceph-users">Users</a>
+               routerLink="/ceph-users">Ceph Users</a>
           </li>
           <li routerLinkActive="active"
               class="tc_submenuitem tc_submenuitem_log"
               class="tc_submenuitem tc_submenuitem_monitoring"
               *ngIf="permissions.prometheus.read">
             <a routerLink="/monitoring">
-              <ng-container i18n>Monitoring</ng-container>
+              <ng-container i18n>Alerts</ng-container>
               <small *ngIf="prometheusAlertService.activeCriticalAlerts > 0"
                      class="badge badge-danger ms-1">{{ prometheusAlertService.activeCriticalAlerts }}</small>
               <small *ngIf="prometheusAlertService.activeWarningAlerts > 0"