Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: update plan config for bytebase.com (#2621)

ecmadaobd6f24b28b2e
diff --git a/frontend/src/locales/subscription/en-US.json b/frontend/src/locales/subscription/en-US.json
index d4e53cc1ff..fa8cb689e8 100644
--- a/frontend/src/locales/subscription/en-US.json
+++ b/frontend/src/locales/subscription/en-US.json
@@ -105,5 +105,22 @@
"branding-logo": "Customize the logo"
}
}
+ },
+ "main-features": {
+ "community-support": "Community support",
+ "review-workflow": "Schema and data change review workflow",
+ "sql-editor": "SQL Editor",
+ "database-backup-restore": "Database backup / restore",
+ "im-integration": "IM integration (e.g. Slack, Discord and etc)",
+ "email-support": "Email support",
+ "everything-in-free-plan": "Everything in free plan",
+ "rbac": "Owner, DBA and Developer roles",
+ "gitlab-login": "GitLab login",
+ "sql-check-anomaly-detection": "Advanced SQL check and anomaly detection",
+ "review-and-backup-policy": "Review and backup policy",
+ "sla": "SLA support",
+ "everything-in-team-plan": "Everything in team plan",
+ "multi-tenancy": "Multi-Region / Multi-Tenancy deployment",
+ "more-to-come": "More to come..."
}
}
diff --git a/frontend/src/locales/subscription/zh-CN.json b/frontend/src/locales/subscription/zh-CN.json
index e6533360a0..ac9077de60 100644
--- a/frontend/src/locales/subscription/zh-CN.json
+++ b/frontend/src/locales/subscription/zh-CN.json
@@ -105,5 +105,22 @@
"branding-logo": "自定义 Logo"
}
}
+ },
+ "main-features": {
+ "community-support": "社区支持",
+ "review-workflow": "Schema 和数据改动审核流",
+ "sql-editor": "SQL 编辑器",
+ "database-backup-restore": "数据库备份和恢复",
+ "im-integration": "IM 集成 (Slack, Discord 等)",
+ "email-support": "邮件支持",
+ "everything-in-free-plan": "所有免费版的功能",
+ "rbac": "RBAC 权限管理",
+ "gitlab-login": "通过 GitLab 登录",
+ "sql-check-anomaly-detection": "高阶 SQL 检查和异常检测",
+ "review-and-backup-policy": "审核和备份策略",
+ "sla": "SLA 支持",
+ "everything-in-team-plan": "所有团队版的功能",
+ "multi-tenancy": "多地域/多租户部署",
+ "more-to-come": "更多功能敬请期待..."
}
}
diff --git a/frontend/src/types/plan.ts b/frontend/src/types/plan.ts
index c009df1c87..1138913472 100644
--- a/frontend/src/types/plan.ts
+++ b/frontend/src/types/plan.ts
@@ -99,7 +99,7 @@ export const getFeatureLocalization = (feature: PlanFeature): PlanFeature => {
);
}
if (feature.tooltip) {
- res.content = t(
+ res.tooltip = t(
`subscription.feature-sections.${section.type}.features.${feature.tooltip}`
);
}
diff --git a/frontend/src/types/plan.yaml b/frontend/src/types/plan.yaml
index c7f925f26d..9f58c0318d 100644
--- a/frontend/src/types/plan.yaml
+++ b/frontend/src/types/plan.yaml
@@ -60,6 +60,12 @@ planList:
- type: im-integration
- type: inbox-notification
- type: activity-log
+ mainFeatureList:
+ - community-support
+ - review-workflow
+ - sql-editor
+ - database-backup-restore
+ - im-integration
- type: 1
title: team
trialDays: 14
@@ -97,6 +103,13 @@ planList:
- type: 3rd-party-auth
- type: sync-members-from-vcs
- type: branding-logo
+ mainFeatureList:
+ - email-support
+ - everything-in-free-plan
+ - rbac
+ - gitlab-login
+ - sql-check-anomaly-detection
+ - review-and-backup-policy
- type: 2
title: enterprise
trialDays: 0
@@ -135,3 +148,8 @@ planList:
- type: 3rd-party-auth
- type: sync-members-from-vcs
- type: branding-logo
+ mainFeatureList:
+ - sla
+ - everything-in-team-plan
+ - multi-tenancy
+ - more-to-come