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: tweak styles of change type radio group (#16551)
boojackb51680403a47
diff --git a/frontend/src/components/DatabaseAndGroupSelector/DatabaseAndGroupSelector.vue b/frontend/src/components/DatabaseAndGroupSelector/DatabaseAndGroupSelector.vueindex 4f4b0ef485..591f50bf49 100644--- a/frontend/src/components/DatabaseAndGroupSelector/DatabaseAndGroupSelector.vue+++ b/frontend/src/components/DatabaseAndGroupSelector/DatabaseAndGroupSelector.vue@@ -13,7 +13,7 @@:scope-options="scopeOptions"/><PagedDatabaseTable- mode="PROJECT"+ mode="PROJECT_SHORT":show-selection="true":custom-click="true":parent="project.name"diff --git a/frontend/src/components/Plan/components/AddSpecDrawer.vue b/frontend/src/components/Plan/components/AddSpecDrawer.vueindex 7eb1a48d26..e79011b154 100644--- a/frontend/src/components/Plan/components/AddSpecDrawer.vue+++ b/frontend/src/components/Plan/components/AddSpecDrawer.vue@@ -4,12 +4,12 @@:width="640":mask-closable="true"placement="right"- class="!w-[100vw] sm:!w-[80vw]"+ class="!w-[1024px] !max-w-[100vw]"><DrawerContent :title="title ?? $t('plan.add-spec')" closable><div class="flex flex-col gap-y-4"><!-- Steps indicator -->- <NSteps :current="currentStep" size="small">+ <NSteps :current="currentStep"><NStep:title="currentStep === 1@@ -29,26 +29,66 @@<NRadioGroupv-model:value="changeType"size="large"- class="space-x-3"+ class="space-y-4 w-full">- <NRadio value="MIGRATE">- <div class="flex items-center gap-2">- <FileDiffIcon class="w-5 h-5" />- <span>{{ $t("plan.schema-migration") }}</span>- </div>- <div class="text-sm text-control-light ml-7">- {{ $t("plan.schema-migration-description") }}- </div>- </NRadio>- <NRadio value="DATA">- <div class="flex items-center gap-2">- <EditIcon class="w-5 h-5" />- <span>{{ $t("plan.data-change") }}</span>- </div>- <div class="text-sm text-control-light ml-7">- {{ $t("plan.data-change-description") }}- </div>- </NRadio>+ <div+ class="border border-gray-200 rounded-lg p-4 hover:border-gray-300 transition-colors"+ :class="{+ 'border-blue-500 bg-blue-50':+ changeType === Plan_ChangeDatabaseConfig_Type.MIGRATE,+ }"+ >+ <NRadio+ :value="Plan_ChangeDatabaseConfig_Type.MIGRATE"+ class="w-full"+ >+ <div class="flex items-start space-x-3 w-full">+ <FileDiffIcon+ class="w-6 h-6 mt-1 flex-shrink-0"+ :stroke-width="1.5"+ />+ <div class="flex-1">+ <div class="flex items-center space-x-2">+ <span class="text-lg font-medium text-gray-900">+ <span>{{ $t("plan.schema-migration") }}</span>+ </span>+ </div>+ <p class="text-sm text-gray-600 mt-1">+ {{ $t("plan.schema-migration-description") }}+ </p>+ </div>+ </div>+ </NRadio>+ </div>+ <div+ class="border border-gray-200 rounded-lg p-4 hover:border-gray-300 transition-colors"+ :class="{+ 'border-blue-500 bg-blue-50':+ changeType === Plan_ChangeDatabaseConfig_Type.DATA,+ }"+ >+ <NRadio+ :value="Plan_ChangeDatabaseConfig_Type.DATA"+ class="w-full"+ >+ <div class="flex items-start space-x-3 w-full">+ <EditIcon+ class="w-6 h-6 mt-1 flex-shrink-0"+ :stroke-width="1.5"+ />+ <div class="flex-1">+ <div class="flex items-center space-x-2">+ <span class="text-lg font-medium text-gray-900">+ <span>{{ $t("plan.data-change") }}</span>+ </span>+ </div>+ <p class="text-sm text-gray-600 mt-1">+ {{ $t("plan.data-change-description") }}+ </p>+ </div>+ </div>+ </NRadio>+ </div></NRadioGroup></template>diff --git a/frontend/src/components/SyncDatabaseSchemaV1/TargetDatabasesSelectPanel.vue b/frontend/src/components/SyncDatabaseSchemaV1/TargetDatabasesSelectPanel.vueindex cd6c71373e..8adda37a15 100644--- a/frontend/src/components/SyncDatabaseSchemaV1/TargetDatabasesSelectPanel.vue+++ b/frontend/src/components/SyncDatabaseSchemaV1/TargetDatabasesSelectPanel.vue@@ -21,7 +21,7 @@<PagedDatabaseTableclass="mt-2"- mode="PROJECT"+ mode="PROJECT_SHORT":parent="project":filter="filter":custom-click="true"diff --git a/frontend/src/components/TransferDatabaseForm/TransferDatabaseForm.vue b/frontend/src/components/TransferDatabaseForm/TransferDatabaseForm.vueindex 5cc9c8c41b..ff1c868ff4 100644--- a/frontend/src/components/TransferDatabaseForm/TransferDatabaseForm.vue+++ b/frontend/src/components/TransferDatabaseForm/TransferDatabaseForm.vue@@ -28,7 +28,7 @@</template><div v-else class="w-full relative"><PagedDatabaseTable- mode="PROJECT"+ mode="PROJECT_SHORT":parent="sourceProjectName":filter="filter":show-selection="true"diff --git a/frontend/src/components/v2/Model/DatabaseV1Table/DatabaseV1Table.vue b/frontend/src/components/v2/Model/DatabaseV1Table/DatabaseV1Table.vueindex 3267f3d6a9..c5f3815de2 100644--- a/frontend/src/components/v2/Model/DatabaseV1Table/DatabaseV1Table.vue+++ b/frontend/src/components/v2/Model/DatabaseV1Table/DatabaseV1Table.vue@@ -113,6 +113,7 @@ const columnList = computed((): DatabaseDataTableColumn[] => {const SCHEMA_VERSION: DatabaseDataTableColumn = {key: "schema-version",title: t("common.schema-version"),+ minWidth: 140,resizable: true,hide: props.schemaless,render: (data) => (data as ComposedDatabase).schemaVersion || "-",diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.jsonindex a6d6a38ad4..ba867064c2 100644--- a/frontend/src/locales/en-US.json+++ b/frontend/src/locales/en-US.json@@ -1029,9 +1029,9 @@"add-spec": "Add Specification","change-type": "Change Type","schema-migration": "Schema Migration",- "schema-migration-description": "Modify database schema (DDL)",+ "schema-migration-description": "Database structural changes (DDL) including tables, columns, indexes, constraints and schema alterations","data-change": "Data Change",- "data-change-description": "Modify data (DML)",+ "data-change-description": "Database content modifications (DML) including inserts, updates, deletes and data transformations","select-targets": "Select Targets","overview": {"description": "View and manage all specifications in this plan",diff --git a/frontend/src/locales/es-ES.json b/frontend/src/locales/es-ES.jsonindex 47fbd01319..aaf32053e8 100644--- a/frontend/src/locales/es-ES.json+++ b/frontend/src/locales/es-ES.json@@ -1029,9 +1029,9 @@"add-spec": "Agregar especificación","change-type": "Cambiar tipo","schema-migration": "Migración de esquemas",- "schema-migration-description": "Modificar el esquema de la base de datos (DDL)",+ "schema-migration-description": "Cambios estructurales de la base de datos (DDL), incluidas tablas, columnas, índices, restricciones y modificaciones del esquema","data-change": "Cambio de datos",- "data-change-description": "Modificar datos (DML)",+ "data-change-description": "Modificaciones del contenido de la base de datos (DML), incluidas inserciones, actualizaciones, eliminaciones y transformaciones de datos","select-targets": "Seleccionar objetivos","overview": {"description": "Ver y administrar todas las especificaciones de este plan",diff --git a/frontend/src/locales/ja-JP.json b/frontend/src/locales/ja-JP.jsonindex 7a17034a7c..47977b9ace 100644--- a/frontend/src/locales/ja-JP.json+++ b/frontend/src/locales/ja-JP.json@@ -1029,9 +1029,9 @@"add-spec": "仕様を追加","change-type": "変更タイプ","schema-migration": "スキーマの移行",- "schema-migration-description": "データベーススキーマの変更(DDL)",+ "schema-migration-description": "テーブル、列、インデックス、制約、スキーマの変更を含むデータベース構造の変更 (DDL)","data-change": "データの変更",- "data-change-description": "データの変更 (DML)",+ "data-change-description": "挿入、更新、削除、データ変換を含むデータベースコンテンツの変更(DML)","select-targets": "ターゲットを選択","overview": {"description": "このプランのすべての仕様を表示および管理します",diff --git a/frontend/src/locales/vi-VN.json b/frontend/src/locales/vi-VN.jsonindex 2538805d40..d012926f6b 100644--- a/frontend/src/locales/vi-VN.json+++ b/frontend/src/locales/vi-VN.json@@ -1029,9 +1029,9 @@"add-spec": "Thêm thông số kỹ thuật","change-type": "Thay đổi loại","schema-migration": "Di chuyển lược đồ",- "schema-migration-description": "Sửa đổi lược đồ cơ sở dữ liệu (DDL)",+ "schema-migration-description": "Thay đổi cấu trúc cơ sở dữ liệu (DDL) bao gồm bảng, cột, chỉ mục, ràng buộc và thay đổi lược đồ","data-change": "Thay đổi dữ liệu",- "data-change-description": "Sửa đổi dữ liệu (DML)",+ "data-change-description": "Sửa đổi nội dung cơ sở dữ liệu (DML) bao gồm chèn, cập nhật, xóa và chuyển đổi dữ liệu","select-targets": "Chọn mục tiêu","overview": {"description": "Xem và quản lý tất cả các thông số kỹ thuật trong kế hoạch này",diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.jsonindex c2691f83ff..af321119f3 100644--- a/frontend/src/locales/zh-CN.json+++ b/frontend/src/locales/zh-CN.json@@ -1029,9 +1029,9 @@"add-spec": "添加变更项","change-type": "变更类型","schema-migration": "Schema 变更",- "schema-migration-description": "修改数据库 Schema (DDL)",+ "schema-migration-description": "数据库结构变更(DDL),包括表、列、索引、约束和模式变更","data-change": "数据变更",- "data-change-description": "修改数据(DML)",+ "data-change-description": "数据库数据修改(DML),包括插入、更新、删除和数据迁移","select-targets": "选择变更对象","overview": {"description": "查看和管理此变更计划中的所有变更项",@@ -2787,4 +2787,4 @@"last-visit": "上次访问","changelog-for-version": "{version} 的更新日志"}-}+}\ No newline at end of file