This is an automated email from the ASF dual-hosted git repository.

liubao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicecomb-fence.git

commit 55b2f619640ab88c044c548071fa15c1f53d12a2
Author: liubao <[email protected]>
AuthorDate: Thu Aug 15 21:06:14 2024 +0800

    rename system menus
---
 .../src/main/web/src/components/menu/index.vue     | 108 +--------------------
 admin-website/src/main/web/src/locale/en-US.ts     |  15 +--
 admin-website/src/main/web/src/locale/zh-CN.ts     |  15 +--
 .../routes/modules/{cloud.ts => maintenance.ts}    |  16 +--
 .../web/src/views/cloud/problems/locale/en-US.ts   |   3 -
 .../web/src/views/cloud/problems/locale/zh-CN.ts   |   3 -
 .../web/src/views/{cloud => maintenance}/index.vue |   0
 .../problems/components/call-chain-list.vue        |   0
 .../problems/components/main.vue                   |   0
 .../problems/components/mock.json                  |   0
 .../problems/components/util.json                  |   0
 .../{cloud => maintenance}/problems/index.vue      |   2 +-
 .../src/views/maintenance/problems/locale/en-US.ts |   3 +
 .../src/views/maintenance/problems/locale/zh-CN.ts |   3 +
 14 files changed, 26 insertions(+), 142 deletions(-)

diff --git a/admin-website/src/main/web/src/components/menu/index.vue 
b/admin-website/src/main/web/src/components/menu/index.vue
index c5acd25..867d56e 100644
--- a/admin-website/src/main/web/src/components/menu/index.vue
+++ b/admin-website/src/main/web/src/components/menu/index.vue
@@ -63,116 +63,14 @@
       bold: 'title',
     },
     {
-      value: 'Work',
-      name: 'menu.work',
-      icon: null,
-      bold: 'title',
-    },
-    {
-      value: 'List',
-      name: 'menu.list',
-      icon: iconFiles,
-      bold: 'main-title',
-    },
-    {
-      value: 'Table',
-      name: 'menu.list.searchTable',
-      icon: null,
-      bold: 'title',
-    },
-    {
-      value: 'Form',
-      name: 'menu.form',
-      icon: iconSetting,
-      bold: 'main-title',
-    },
-    {
-      value: 'Base',
-      name: 'menu.form.base',
-      icon: null,
-      bold: 'title',
-    },
-    {
-      value: 'Step',
-      name: 'menu.form.step',
-      icon: null,
-      bold: 'title',
-    },
-    {
-      value: 'Profile',
-      name: 'menu.profile',
-      icon: iconFiletext,
-      bold: 'main-title',
-    },
-    {
-      value: 'Detail',
-      name: 'menu.profile.detail',
-      icon: null,
-      bold: 'title',
-    },
-    {
-      value: 'Result',
-      name: 'menu.result',
-      icon: iconSuccessful,
-      bold: 'main-title',
-    },
-    {
-      value: 'Success',
-      name: 'menu.result.success',
-      icon: null,
-      bold: 'title',
-    },
-    {
-      value: 'Error',
-      name: 'menu.result.error',
-      icon: null,
-      bold: 'title',
-    },
-    {
-      value: 'Cloud',
-      name: 'menu.cloud',
+      value: 'Maintenance',
+      name: 'menu.maintenance',
       icon: iconDownloadCloud,
       bold: 'main-title',
     },
-    {
-      value: 'Hello',
-      name: 'menu.cloud.hello',
-      icon: null,
-      bold: 'title',
-    },
-    {
-      value: 'Contracts',
-      name: 'menu.cloud.contracts',
-      icon: null,
-      bold: 'title',
-    },
    {
       value: 'Problems',
-      name: 'menu.cloud.locate.problems',
-      icon: null,
-      bold: 'title',
-    },
-    {
-      value: 'Exception',
-      name: 'menu.exception',
-      icon: iconCueL,
-      bold: 'main-title',
-    },
-    {
-      value: '403',
-      name: 'menu.exception.403',
-      icon: null,
-      bold: 'title',
-    },
-    {
-      value: '404',
-      name: 'menu.exception.404',
-      icon: null,
-      bold: 'title',
-    },
-    {
-      value: '500',
-      name: 'menu.exception.500',
+      name: 'menu.maintenance.locate.problems',
       icon: null,
       bold: 'title',
     },
diff --git a/admin-website/src/main/web/src/locale/en-US.ts 
b/admin-website/src/main/web/src/locale/en-US.ts
index e274461..ff87ae6 100644
--- a/admin-website/src/main/web/src/locale/en-US.ts
+++ b/admin-website/src/main/web/src/locale/en-US.ts
@@ -4,9 +4,9 @@ import localeTheme from '@/components/theme/locale/en-US';
 import localeUserInfo from '@/views/user/info/locale/en-US';
 import localeUserSetting from '@/views/user/setting/locale/en-US';
 
-import localekanban from '@/views/board/locale/en-US';
+import localeKanban from '@/views/board/locale/en-US';
 
-import localeProblems from '@/views/cloud/problems/locale/en-US';
+import localeProblems from '@/views/maintenance/problems/locale/en-US';
 
 import localeSettings from './en-US/settings';
 
@@ -15,13 +15,6 @@ import localeHttpError from './en-US/httpError';
 export default {
   'menu.board': 'Dashboard Page',
   'menu.home': 'Monitoring page',
-  'menu.work': 'workbench',
-  'menu.list': 'List',
-  'menu.result': 'Result',
-  'menu.exception': 'Exception',
-  'menu.form': 'Form',
-  'menu.profile': 'Profile',
-  'menu.profile.detail': 'Basic details page',
   'menu.visualization': 'Data Visualization',
   'menu.user': 'User Center',
   'navbar.docs': 'Docs',
@@ -30,13 +23,13 @@ export default {
   'messageBox.userCenter': 'User Center',
   'messageBox.userSettings': 'User Settings',
   'messageBox.logout': 'Logout',
-  'menu.cloud': 'Cloud service capability',
+  'menu.maintenance': 'System Maintenance',
   ...localeTheme,
   ...localeSettings,
   ...localeLogin,
   ...localeUserInfo,
   ...localeUserSetting,
-  ...localekanban,
+  ...localeKanban,
   ...localeProblems,
   ...localeHttpError,
 };
diff --git a/admin-website/src/main/web/src/locale/zh-CN.ts 
b/admin-website/src/main/web/src/locale/zh-CN.ts
index 4d75e8c..0555edc 100644
--- a/admin-website/src/main/web/src/locale/zh-CN.ts
+++ b/admin-website/src/main/web/src/locale/zh-CN.ts
@@ -4,9 +4,9 @@ import localeTheme from '@/components/theme/locale/zh-CN';
 import localeUserInfo from '@/views/user/info/locale/zh-CN';
 import localeUserSetting from '@/views/user/setting/locale/zh-CN';
 
-import localekanban from '@/views/board/locale/zh-CN';
+import localeKanban from '@/views/board/locale/zh-CN';
 
-import localeProblems from '@/views/cloud/problems/locale/zh-CN';
+import localeProblems from '@/views/maintenance/problems/locale/zh-CN';
 
 import localeSettings from './zh-CN/settings';
 
@@ -15,13 +15,6 @@ import localeHttpError from './zh-CN/httpError';
 export default {
   'menu.board': '看板',
   'menu.home': '监控页',
-  'menu.work': '工作台',
-  'menu.list': '列表页',
-  'menu.result': '结果页',
-  'menu.exception': '异常页',
-  'menu.form': '表单页',
-  'menu.profile': '详情页',
-  'menu.profile.detail': '基础详情页',
   'menu.visualization': '数据可视化',
   'menu.user': '个人中心',
   'navbar.docs': '文档中心',
@@ -30,13 +23,13 @@ export default {
   'messageBox.userCenter': '用户中心',
   'messageBox.userSettings': '用户设置',
   'messageBox.logout': '退出登录',
-  'menu.cloud': '云服务能力展示',
+  'menu.maintenance': '系统运维',
   ...localeTheme,
   ...localeSettings,
   ...localeLogin,
   ...localeUserInfo,
   ...localeUserSetting,
-  ...localekanban,
+  ...localeKanban,
   ...localeProblems,
   ...localeHttpError,
 };
diff --git a/admin-website/src/main/web/src/router/routes/modules/cloud.ts 
b/admin-website/src/main/web/src/router/routes/modules/maintenance.ts
similarity index 51%
rename from admin-website/src/main/web/src/router/routes/modules/cloud.ts
rename to admin-website/src/main/web/src/router/routes/modules/maintenance.ts
index 1a63f2a..2e9d990 100644
--- a/admin-website/src/main/web/src/router/routes/modules/cloud.ts
+++ b/admin-website/src/main/web/src/router/routes/modules/maintenance.ts
@@ -1,13 +1,13 @@
 import { RoleType } from '@/types/roleType';
 
 export default {
-  path: 'cloud',
-  name: 'Cloud',
-  id: 'Cloud',
-  label: 'Cloud',
-  component: () => import('@/views/cloud/index.vue'),
+  path: 'maintenance',
+  name: 'Maintenance',
+  id: 'Maintenance',
+  label: 'Maintenance',
+  component: () => import('@/views/maintenance/index.vue'),
   meta: {
-    locale: 'menu.cloud',
+    locale: 'menu.maintenance',
     requiresAuth: true,
     order: 8,
     roles: [],
@@ -18,9 +18,9 @@ export default {
       name: 'Problems',
       id: 'Problems',
       label: 'Problems',
-      component: () => import('@/views/cloud/problems/index.vue'),
+      component: () => import('@/views/maintenance/problems/index.vue'),
       meta: {
-        locale: 'menu.cloud.locate.problems',
+        locale: 'menu.maintenance.locate.problems',
         requiresAuth: true,
         roles: [],
       },
diff --git 
a/admin-website/src/main/web/src/views/cloud/problems/locale/en-US.ts 
b/admin-website/src/main/web/src/views/cloud/problems/locale/en-US.ts
deleted file mode 100644
index d76c876..0000000
--- a/admin-website/src/main/web/src/views/cloud/problems/locale/en-US.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-export default {
-  'menu.cloud.locate.problems': 'Problem Locating',
-};
diff --git 
a/admin-website/src/main/web/src/views/cloud/problems/locale/zh-CN.ts 
b/admin-website/src/main/web/src/views/cloud/problems/locale/zh-CN.ts
deleted file mode 100644
index 68fe01f..0000000
--- a/admin-website/src/main/web/src/views/cloud/problems/locale/zh-CN.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-export default {
-  'menu.cloud.locate.problems': '问题定位',
-};
diff --git a/admin-website/src/main/web/src/views/cloud/index.vue 
b/admin-website/src/main/web/src/views/maintenance/index.vue
similarity index 100%
rename from admin-website/src/main/web/src/views/cloud/index.vue
rename to admin-website/src/main/web/src/views/maintenance/index.vue
diff --git 
a/admin-website/src/main/web/src/views/cloud/problems/components/call-chain-list.vue
 
b/admin-website/src/main/web/src/views/maintenance/problems/components/call-chain-list.vue
similarity index 100%
rename from 
admin-website/src/main/web/src/views/cloud/problems/components/call-chain-list.vue
rename to 
admin-website/src/main/web/src/views/maintenance/problems/components/call-chain-list.vue
diff --git 
a/admin-website/src/main/web/src/views/cloud/problems/components/main.vue 
b/admin-website/src/main/web/src/views/maintenance/problems/components/main.vue
similarity index 100%
rename from 
admin-website/src/main/web/src/views/cloud/problems/components/main.vue
rename to 
admin-website/src/main/web/src/views/maintenance/problems/components/main.vue
diff --git 
a/admin-website/src/main/web/src/views/cloud/problems/components/mock.json 
b/admin-website/src/main/web/src/views/maintenance/problems/components/mock.json
similarity index 100%
rename from 
admin-website/src/main/web/src/views/cloud/problems/components/mock.json
rename to 
admin-website/src/main/web/src/views/maintenance/problems/components/mock.json
diff --git 
a/admin-website/src/main/web/src/views/cloud/problems/components/util.json 
b/admin-website/src/main/web/src/views/maintenance/problems/components/util.json
similarity index 100%
rename from 
admin-website/src/main/web/src/views/cloud/problems/components/util.json
rename to 
admin-website/src/main/web/src/views/maintenance/problems/components/util.json
diff --git a/admin-website/src/main/web/src/views/cloud/problems/index.vue 
b/admin-website/src/main/web/src/views/maintenance/problems/index.vue
similarity index 85%
rename from admin-website/src/main/web/src/views/cloud/problems/index.vue
rename to admin-website/src/main/web/src/views/maintenance/problems/index.vue
index cc46d10..8967bf2 100644
--- a/admin-website/src/main/web/src/views/cloud/problems/index.vue
+++ b/admin-website/src/main/web/src/views/maintenance/problems/index.vue
@@ -1,7 +1,7 @@
 <template>
   <div class="container">
     <div class="contain">
-      <Breadcrumb :items="['menu.cloud', 'menu.cloud.locate.problems']" />
+      <Breadcrumb :items="['menu.maintenance', 
'menu.maintenance.locate.problems']" />
       <Main></Main>
     </div>
   </div>
diff --git 
a/admin-website/src/main/web/src/views/maintenance/problems/locale/en-US.ts 
b/admin-website/src/main/web/src/views/maintenance/problems/locale/en-US.ts
new file mode 100644
index 0000000..3a0130d
--- /dev/null
+++ b/admin-website/src/main/web/src/views/maintenance/problems/locale/en-US.ts
@@ -0,0 +1,3 @@
+export default {
+  'menu.maintenance.locate.problems': 'Problem Locating',
+};
diff --git 
a/admin-website/src/main/web/src/views/maintenance/problems/locale/zh-CN.ts 
b/admin-website/src/main/web/src/views/maintenance/problems/locale/zh-CN.ts
new file mode 100644
index 0000000..9ae1cda
--- /dev/null
+++ b/admin-website/src/main/web/src/views/maintenance/problems/locale/zh-CN.ts
@@ -0,0 +1,3 @@
+export default {
+  'menu.maintenance.locate.problems': '问题定位',
+};

Reply via email to