Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: update plan config (#4452)
ecmadao29b6e139309e
diff --git a/frontend/src/components/PricingTable/PricingTable.vue b/frontend/src/components/PricingTable/PricingTable.vueindex 9f7dfb5f0b..a2c40c264e 100644--- a/frontend/src/components/PricingTable/PricingTable.vue+++ b/frontend/src/components/PricingTable/PricingTable.vue@@ -34,11 +34,16 @@{{ $t(`subscription.plan.${plan.title}.desc`) }}</p>- <p class="mt-4 flex items-baseline text-gray-900 text-xl">+ <p+ class="mt-4 flex items-baseline text-gray-900 text-xl space-x-2"+ >+ <span v-if="plan.pricePrefix" class="text-4xl">+ {{ plan.pricePrefix }}+ </span><span class="text-4xl">{{ plan.pricing }}</span>- {{ plan.priceUnit }}+ {{ plan.priceSuffix }}</p><div class="text-gray-400">@@ -156,12 +161,14 @@{{ $t(`subscription.plan.${plan.title}.desc`) }}</p>- <p class="mt-4 flex items-baseline text-gray-900 text-xl">- <span class="text-4xl"> {{ plan.pricing }} </span>- <span v-if="plan.type != PlanType.ENTERPRISE">- - {{ $t("subscription.per-month") }}+ <p class="mt-4 flex items-baseline text-gray-900 text-xl space-x-2">+ <span v-if="plan.pricePrefix" class="text-4xl">+ {{ plan.pricePrefix }}+ </span>+ <span class="text-4xl">+ {{ plan.pricing }}</span>+ {{ plan.priceSuffix }}</p><div class="text-gray-400">@@ -293,9 +300,15 @@ const plans = computed((): LocalPlan[] => {pricing:plan.type === PlanType.ENTERPRISE? t("subscription.contact-us")- : `$${plan.pricePerSeatPerMonth}`,- priceUnit:- plan.type === PlanType.ENTERPRISE ? "" : t("subscription.per-month"),+ : `$${plan.unitPrice}`,+ pricePrefix:+ plan.type === PlanType.TEAM ? t("subscription.start-from") : "",+ priceSuffix:+ plan.type === PlanType.TEAM+ ? t("subscription.price-unit-for-team")+ : plan.type === PlanType.ENTERPRISE+ ? ""+ : t("subscription.per-month"),}));});diff --git a/frontend/src/components/PricingTable/types.ts b/frontend/src/components/PricingTable/types.tsindex fafff7c5e1..a7ad4fcfb4 100644--- a/frontend/src/components/PricingTable/types.ts+++ b/frontend/src/components/PricingTable/types.ts@@ -8,5 +8,6 @@ export interface LocalPlan extends Plan {isFreePlan: boolean;isAvailable: boolean;pricing: string;- priceUnit: string;+ pricePrefix: string;+ priceSuffix: string;}diff --git a/frontend/src/locales/subscription/en-US.json b/frontend/src/locales/subscription/en-US.jsonindex f9a214bd39..535336bb5a 100644--- a/frontend/src/locales/subscription/en-US.json+++ b/frontend/src/locales/subscription/en-US.json@@ -11,12 +11,13 @@"disabled-feature": "This is a premium feature in subscription plan","upgrade": "Upgrade subscription","per-month": "/ month",- "price-unit-for-enterprise": "/ month",+ "price-unit-for-team": "/ month","start-from": "Start from","billed-annually": "Billed annually","billed-monthly": "Billed monthly","per-instance": "Per instance",- "free-price-intro": "Up to 10 seats",+ "per-seat": "Per seat",+ "free-price-intro": "Up to 10 seats and 5 instances","team-price-intro": "Per seat & Per instance, billed monthly","enterprise-price-intro": "Customized, billed annually","deploy": "Deploy",@@ -56,6 +57,7 @@"instance-customized": "Customized","instance-maximum-5": "Up to 5","instance-maximum-10": "Up to 10",+ "instance-maximum-10-tooltip": "Free for first 5 instances, maximum 10","instance-unlimited": "Unlimited","environment-count": "Environment count","environment-unlimited": "Unlimited",diff --git a/frontend/src/locales/subscription/zh-CN.json b/frontend/src/locales/subscription/zh-CN.jsonindex 8253b7467a..6ee0230808 100644--- a/frontend/src/locales/subscription/zh-CN.json+++ b/frontend/src/locales/subscription/zh-CN.json@@ -11,13 +11,13 @@"disabled-feature": "这是一个订阅版高级功能","upgrade": "升级订阅","per-month": "/ 月",- "price-unit-for-enterprise": "/ 月起",+ "price-unit-for-team": "/ 月起","start-from": "","billed-annually": "按年付费","billed-monthly": "按月付费","per-instance": "每个实例",- "free-price-intro": "最多 2 个席位",- "team-price-intro": "根据席位数量按月付费",+ "free-price-intro": "最多 10 个席位,5 个实例",+ "team-price-intro": "根据席位和实例数按月付费","enterprise-price-intro": "自定义席位和实例,按年付费","deploy": "部署","contact-us": "联系我们",@@ -56,6 +56,7 @@"instance-customized": "自定义","instance-maximum-5": "不超过 5 个","instance-maximum-10": "不超过 10 个",+ "instance-maximum-10-tooltip": "前 5 个实例免费,最多可增至 10 个实例","instance-unlimited": "无限制","environment-count": "环境数","environment-unlimited": "无限制",diff --git a/frontend/src/types/plan.yaml b/frontend/src/types/plan.yamlindex 283426b84c..3d0405816d 100644--- a/frontend/src/types/plan.yaml+++ b/frontend/src/types/plan.yaml@@ -45,9 +45,11 @@ planList:unitPrice: 0trialPrice: 0freeInstanceCount: 5+ freeSeatCount: 10maximumInstanceCount: 5maximumSeatCount: 10- pricePerSeatPerMonth: 0+ pricePerSeatPerMonth: 19+ pricePerInstancePerMonth: 79featureList:- type: instance-countcontent: instance-maximum-5@@ -93,15 +95,18 @@ planList:- type: 1title: teamtrialDays: 14- unitPrice: 29+ unitPrice: 19trialPrice: 0freeInstanceCount: 5+ freeSeatCount: 1maximumInstanceCount: 10maximumSeatCount: 10- pricePerSeatPerMonth: 29+ pricePerSeatPerMonth: 19+ pricePerInstancePerMonth: 79featureList:- type: instance-countcontent: instance-maximum-10+ tooltip: instance-maximum-10-tooltip- type: environment-countcontent: environment-unlimited- type: task-count-in-issue@@ -154,9 +159,11 @@ planList:unitPrice: 90trialPrice: 0freeInstanceCount: 5+ freeSeatCount: 1maximumInstanceCount: -1maximumSeatCount: -1- pricePerSeatPerMonth: 90+ pricePerSeatPerMonth: 19+ pricePerInstancePerMonth: 79featureList:- type: instance-countcontent: instance-customized