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: minor updates (#16418)
ecmadaob662ac94e2c4
diff --git a/frontend/src/components/BannersWrapper.vue b/frontend/src/components/BannersWrapper.vueindex 9950e2517a..e1ce778df5 100644--- a/frontend/src/components/BannersWrapper.vue+++ b/frontend/src/components/BannersWrapper.vue@@ -16,6 +16,8 @@</template><script lang="ts" setup>+import { storeToRefs } from "pinia";+import { computed } from "vue";import {LICENSE_EXPIRATION_THRESHOLD,useActuatorV1Store,@@ -29,22 +31,14 @@ import BannerDemo from "@/views/BannerDemo.vue";import BannerExternalUrl from "@/views/BannerExternalUrl.vue";import BannerSubscription from "@/views/BannerSubscription.vue";import BannerUpgradeSubscription from "@/views/BannerUpgradeSubscription.vue";-import { storeToRefs } from "pinia";-import { computed } from "vue";const actuatorStore = useActuatorV1Store();const subscriptionStore = useSubscriptionV1Store();const hideBanner = useAppFeature("bb.feature.hide-banner");-const { needConfigureExternalUrl } =- storeToRefs(actuatorStore);-const {- isExpired,- isTrialing,- currentPlan,- existTrialLicense,- daysBeforeExpire,-} = storeToRefs(subscriptionStore);+const { needConfigureExternalUrl } = storeToRefs(actuatorStore);+const { isExpired, isTrialing, currentPlan, daysBeforeExpire } =+ storeToRefs(subscriptionStore);const shouldShowDemoBanner = computed(() => {if (!actuatorStore.serverInfo) return false;@@ -56,8 +50,7 @@ const shouldShowSubscriptionBanner = computed(() => {isExpired.value ||isTrialing.value ||(currentPlan.value !== PlanType.FREE &&- daysBeforeExpire.value <= LICENSE_EXPIRATION_THRESHOLD) ||- (currentPlan.value === PlanType.FREE && existTrialLicense.value)+ daysBeforeExpire.value <= LICENSE_EXPIRATION_THRESHOLD));});diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.jsonindex 03f65a92fc..90f766ee7c 100644--- a/frontend/src/locales/en-US.json+++ b/frontend/src/locales/en-US.json@@ -306,7 +306,6 @@"license-expired": "Your license for {plan} has expired on {expireAt}.","license-expires": "Your license for {plan} will expires in {days} days on {expireAt}.","trial-expires": "Your free trial for {plan} will expire in {days} days on {expireAt}.",- "trial-expired": "Your free trial for {plan} has expired.","deploy": "Self Host","cloud": "Cloud","request-demo": "Book a 30-minute product demo.",diff --git a/frontend/src/locales/es-ES.json b/frontend/src/locales/es-ES.jsonindex f915264599..5d8249c9ce 100644--- a/frontend/src/locales/es-ES.json+++ b/frontend/src/locales/es-ES.json@@ -306,7 +306,6 @@"license-expired": "Su licencia para {plan} ha expirado el {expireAt}.","license-expires": "Su licencia para {plan} ha caducado el {expireAt}.","trial-expires": "Su prueba gratuita para {plan} caducará en {days} días el {expireAt}.",- "trial-expired": "Su prueba gratuita de {plan} ha caducado.","deploy": "Auto Hospedaje","cloud": "Cloud","request-demo": "Reserva una demo de producto de 30 minutos.",diff --git a/frontend/src/locales/ja-JP.json b/frontend/src/locales/ja-JP.jsonindex 89c7fb2c9a..3b572b473f 100644--- a/frontend/src/locales/ja-JP.json+++ b/frontend/src/locales/ja-JP.json@@ -306,7 +306,6 @@"license-expired": "{plan} のライセンスは {expireAt} に期限切れになりました。","license-expires": "{plan} ライセンスは {expireAt} に期限切れになりました","trial-expires": "{plan} トライアルは {days} 日後に期限切れになります",- "trial-expired": "{plan} のトライアル期間が終了しました","deploy": "ローカル展開","cloud": "クラウドサービス","request-demo": "30 分間の製品デモを予約してください。",diff --git a/frontend/src/locales/vi-VN.json b/frontend/src/locales/vi-VN.jsonindex 88692327b1..7ac0c85543 100644--- a/frontend/src/locales/vi-VN.json+++ b/frontend/src/locales/vi-VN.json@@ -306,7 +306,6 @@"license-expired": "Giấy phép {plan} của bạn đã hết hạn vào {expireAt}.","license-expires": "Giấy phép {plan} của bạn sẽ hết hạn sau {days} ngày vào {expireAt}.","trial-expires": "Bản dùng thử miễn phí {plan} của bạn sẽ hết hạn trong {days} ngày nữa vào {expireAt}.",- "trial-expired": "Bản dùng thử miễn phí {plan} của bạn đã hết hạn.","deploy": "Tự lưu trữ","cloud": "Đám mây","request-demo": "Đặt lịch giới thiệu sản phẩm 30 phút.",diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.jsonindex 4c41cf3238..686624211f 100644--- a/frontend/src/locales/zh-CN.json+++ b/frontend/src/locales/zh-CN.json@@ -306,7 +306,6 @@"license-expired": "您的{plan}证书已在 {expireAt} 过期","license-expires": "您的{plan}证书将在 {days} 天后过期","trial-expires": "您的{plan}试用将在 {days} 天后过期",- "trial-expired": "您的{plan}试用已过期","deploy": "本地部署","cloud": "云服务","request-demo": "预约一个 30 分钟的产品演示。",diff --git a/frontend/src/store/modules/v1/subscription.ts b/frontend/src/store/modules/v1/subscription.tsindex f38519b030..666a658743 100644--- a/frontend/src/store/modules/v1/subscription.ts+++ b/frontend/src/store/modules/v1/subscription.ts@@ -1,3 +1,7 @@+import dayjs from "dayjs";+import { defineStore } from "pinia";+import type { Ref } from "vue";+import { computed } from "vue";import { subscriptionServiceClient } from "@/grpcweb";import type { FeatureType } from "@/types";import { PLANS, getDateForPbTimestamp, instanceLimitFeature } from "@/types";@@ -11,10 +15,6 @@ import {planTypeFromJSON,planTypeToNumber,} from "@/types/proto/v1/subscription_service";-import dayjs from "dayjs";-import { defineStore } from "pinia";-import type { Ref } from "vue";-import { computed } from "vue";// The threshold of days before the license expiration date to show the warning.// Default is 7 days.@@ -144,9 +144,6 @@ export const useSubscriptionV1Store = defineStore("subscription_v1", {);return daysBeforeExpire / total < 0.5;},- existTrialLicense(): boolean {- return false;- },canTrial(state): boolean {if (!this.isSelfHostLicense) {return false;diff --git a/frontend/src/views/BannerSubscription.vue b/frontend/src/views/BannerSubscription.vueindex 3dcf5a84a2..7b3cb191de 100644--- a/frontend/src/views/BannerSubscription.vue+++ b/frontend/src/views/BannerSubscription.vue@@ -68,22 +68,10 @@ const content = computed(() => {expireAt: expireAt.value,});}- } else {- if (existTrialLicense.value) {- return t("banner.trial-expired", {- plan: t("subscription.plan.enterprise.title"),- });- }}return "";});-const {- expireAt,- isExpired,- isTrialing,- daysBeforeExpire,- existTrialLicense,- currentPlan,-} = storeToRefs(subscriptionStore);+const { expireAt, isExpired, isTrialing, daysBeforeExpire, currentPlan } =+ storeToRefs(subscriptionStore);</script>diff --git a/frontend/src/views/sql-editor/ConnectionPanel/ConnectionPane/ConnectionPane.vue b/frontend/src/views/sql-editor/ConnectionPanel/ConnectionPane/ConnectionPane.vueindex 6073f874ed..41a1000f93 100644--- a/frontend/src/views/sql-editor/ConnectionPanel/ConnectionPane/ConnectionPane.vue+++ b/frontend/src/views/sql-editor/ConnectionPanel/ConnectionPane/ConnectionPane.vue@@ -2,7 +2,7 @@<div class="sql-editor-tree gap-y-1 h-full flex flex-col relative"><div class="w-full px-4 mt-4"><div- class="textinfolabel mb-2 w-full leading-4 flex flex-col lg:flex-row items-start lg:items-center gap-x-1"+ class="textinfolabel mb-2 w-full leading-4 flex flex-col 2xl:flex-row items-start 2xl:items-center gap-x-1"><div class="flex items-center gap-x-1"><FeatureBadge feature="bb.feature.batch-query" />