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(frontend): add placeholder for plan check run detail (#14358)
Liu Ji1e9eba7814e8
diff --git a/frontend/src/components/PlanCheckRun/PlanCheckRunDetail.vue b/frontend/src/components/PlanCheckRun/PlanCheckRunDetail.vueindex 2236248c74..fc58363c16 100644--- a/frontend/src/components/PlanCheckRun/PlanCheckRunDetail.vue+++ b/frontend/src/components/PlanCheckRun/PlanCheckRunDetail.vue@@ -219,6 +219,23 @@</template></div></div>++ <div v-if="showPlaceholder" class="py-3 px-2 first:pt-2 space-y-2">+ <div class="flex items-center space-x-3">+ <div+ class="relative w-5 h-5 flex flex-shrink-0 items-center justify-center rounded-full select-none"+ :class="statusIconClass(PlanCheckRun_Result_Status.SUCCESS)"+ >+ <heroicons-solid:check class="w-4 h-4" />+ </div>+ <div class="font-semibold">OK</div>+ </div>+ <div class="textinfolabel">+ <span>+ {{ $t("sql-review.all-checks-passed") }}+ </span>+ </div>+ </div></div><SQLRuleEditDialog@@ -470,6 +487,13 @@ const standardTableRows = computed(() => {return tableRows.value.filter((row) => !highlightRowFilter(row));});+const showPlaceholder = computed(() => {+ return (+ highlightTableRows.value.length === 0 &&+ standardTableRows.value.length === 0+ );+});+const showCategoryColumn = computed((): boolean =>tableRows.value.some((row) => row.category !== ""));diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.jsonindex fd7a2f23c5..b95af999dc 100644--- a/frontend/src/locales/en-US.json+++ b/frontend/src/locales/en-US.json@@ -3049,7 +3049,8 @@"enabled-rules": "Enabled rules","rule-detail": "Rule detail","view-definition": "View definition",- "other-engines": "Other engines"+ "other-engines": "Other engines",+ "all-checks-passed": "All checkes passed."},"audit-log": {"no-logs": "No audit logs",diff --git a/frontend/src/locales/es-ES.json b/frontend/src/locales/es-ES.jsonindex b6f3ddf87a..6fc9e6b9fa 100644--- a/frontend/src/locales/es-ES.json+++ b/frontend/src/locales/es-ES.json@@ -3049,7 +3049,8 @@"enabled-rules": "Reglas habilitadas","rule-detail": "Detalle de la regla","view-definition": "Ver definición",- "other-engines": "Otros motores"+ "other-engines": "Otros motores",+ "all-checks-passed": "Todos los controles pasaron."},"audit-log": {"no-logs": "Sin registros de auditoría",@@ -3849,4 +3850,4 @@"setup": {"self": "Configuración"}-}\ No newline at end of file+}diff --git a/frontend/src/locales/ja-JP.json b/frontend/src/locales/ja-JP.jsonindex 51ce07f70b..0ae41e74aa 100644--- a/frontend/src/locales/ja-JP.json+++ b/frontend/src/locales/ja-JP.json@@ -3049,7 +3049,8 @@"enabled-rules": "開かれたルールの数","rule-detail": "ルールの詳細","view-definition": "ビューの定義",- "other-engines": "他の種類のデータベース"+ "other-engines": "他の種類のデータベース",+ "all-checks-passed": "すべてのチェックに合格しました。"},"audit-log": {"no-logs": "監査ログはまだありません",@@ -3849,4 +3850,4 @@"setup": {"self": "設定"}-}\ No newline at end of file+}diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.jsonindex d7b6b4d051..8b99b9023c 100644--- a/frontend/src/locales/zh-CN.json+++ b/frontend/src/locales/zh-CN.json@@ -3049,7 +3049,8 @@"enabled-rules": "开启的规则数","rule-detail": "规则详情","view-definition": "查看定义",- "other-engines": "其他数据库类型"+ "other-engines": "其他数据库类型",+ "all-checks-passed": "所有检查都通过了。"},"audit-log": {"no-logs": "暂无审计日志",@@ -3849,4 +3850,4 @@"setup": {"self": "设置"}-}\ No newline at end of file+}