This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-booster-ui.git
The following commit(s) were added to refs/heads/main by this push:
new 2fd5fb9 add sub menu for PostgreSQL layer (#140)
2fd5fb9 is described below
commit 2fd5fb9b1ed9e3c2ed9be273ac0a9c4c09a2642e
Author: Fine0830 <[email protected]>
AuthorDate: Mon Aug 22 21:48:02 2022 +0800
add sub menu for PostgreSQL layer (#140)
---
src/constants/data.ts | 2 ++
src/locales/lang/en.ts | 1 +
src/locales/lang/es.ts | 1 +
src/locales/lang/zh.ts | 1 +
src/router/database.ts | 19 +++++++++++++++++++
5 files changed, 24 insertions(+)
diff --git a/src/constants/data.ts b/src/constants/data.ts
index 9fc7fce..70b290e 100644
--- a/src/constants/data.ts
+++ b/src/constants/data.ts
@@ -52,4 +52,6 @@ export const RoutesMap: { [key: string]: string } = {
KubernetesServiceActiveTabIndex: "K8S_SERVICE",
MySQL: "MYSQL",
MySQLActiveTabIndex: "MYSQL",
+ PostgreSQL: "PostgreSQL",
+ PostgreSQLActiveTabIndex: "PostgreSQL",
};
diff --git a/src/locales/lang/en.ts b/src/locales/lang/en.ts
index cfc9921..be66b68 100644
--- a/src/locales/lang/en.ts
+++ b/src/locales/lang/en.ts
@@ -150,6 +150,7 @@ const msg = {
duplicateName: "Duplicate name",
enableAssociate: "Enable association",
text: "Text",
+ postgreSQL: "PostgreSQL",
seconds: "Seconds",
hourTip: "Select Hour",
minuteTip: "Select Minute",
diff --git a/src/locales/lang/es.ts b/src/locales/lang/es.ts
index fc70298..c453571 100644
--- a/src/locales/lang/es.ts
+++ b/src/locales/lang/es.ts
@@ -150,6 +150,7 @@ const msg = {
nameTip:
"El nombre sólo admite chino e inglés, líneas horizontales y subrayado, y
la longitud del nombre no excederá de 300 caracteres",
enableAssociate: "Activar asociación",
+ postgreSQL: "PostgreSQL",
seconds: "Segundos",
hourTip: "Seleccione Hora",
minuteTip: "Seleccione Minuto",
diff --git a/src/locales/lang/zh.ts b/src/locales/lang/zh.ts
index 1713244..1d39000 100644
--- a/src/locales/lang/zh.ts
+++ b/src/locales/lang/zh.ts
@@ -147,6 +147,7 @@ const msg = {
nameTip: "该名称仅支持中文和英文、横线和下划线, 并且限制长度为300个字符",
duplicateName: "重复的名称",
text: "文本",
+ postgreSQL: "PostgreSQL",
seconds: "秒",
hourTip: "选择小时",
minuteTip: "选择分钟",
diff --git a/src/router/database.ts b/src/router/database.ts
index 5cf4c57..efa11f1 100644
--- a/src/router/database.ts
+++ b/src/router/database.ts
@@ -48,6 +48,25 @@ export const routesDatabase: Array<RouteRecordRaw> = [
component: () =>
import(/* webpackChunkName: "layer" */ "@/views/Layer.vue"),
},
+ {
+ path: "/postgreSQL",
+ name: "PostgreSQL",
+ meta: {
+ title: "postgreSQL",
+ exact: true,
+ },
+ component: () =>
+ import(/* webpackChunkName: "layer" */ "@/views/Layer.vue"),
+ },
+ {
+ path: "/postgreSQL/tab/:activeTabIndex",
+ name: "PostgreSQLActiveTabIndex",
+ meta: {
+ notShow: true,
+ },
+ component: () =>
+ import(/* webpackChunkName: "layer" */ "@/views/Layer.vue"),
+ },
],
},
];