Skip to content

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

chore: update batch query database table (#9817)

boojack672250266f7e
diff --git a/frontend/src/views/sql-editor/EditorCommon/BatchQueryDatabasesSelector.vue b/frontend/src/views/sql-editor/EditorCommon/BatchQueryDatabasesSelector.vue
index 98d20edbcc..4c0d9d6117 100644
--- a/frontend/src/views/sql-editor/EditorCommon/BatchQueryDatabasesSelector.vue
+++ b/frontend/src/views/sql-editor/EditorCommon/BatchQueryDatabasesSelector.vue
@@ -78,6 +78,8 @@
:checked-row-keys="selectedDatabaseNames"
:columns="dataTableColumns"
:data="filteredDatabaseList"
+ :max-height="640"
+ :virtual-scroll="true"
:row-key="(row: ComposedDatabase) => row.name"
@update:checked-row-keys="handleDatabaseRowCheck"
/>
@@ -170,6 +172,11 @@ const dataTableColumns = computed(() => {
{
title: t("common.database"),
key: "databaseName",
+ resizable: true,
+ width: 100,
+ ellipsis: {
+ tooltip: true,
+ },
render(row: ComposedDatabase) {
return row.databaseName;
},
@@ -177,6 +184,11 @@ const dataTableColumns = computed(() => {
{
title: t("common.environment"),
key: "environment",
+ resizable: true,
+ width: 100,
+ ellipsis: {
+ tooltip: true,
+ },
render(row: ComposedDatabase) {
return row.effectiveEnvironmentEntity.title;
},
@@ -184,6 +196,11 @@ const dataTableColumns = computed(() => {
{
title: t("common.instance"),
key: "instance",
+ resizable: true,
+ width: 100,
+ ellipsis: {
+ tooltip: true,
+ },
render(row: ComposedDatabase) {
return h(
"div",
@@ -200,6 +217,8 @@ const dataTableColumns = computed(() => {
{
title: t("common.labels"),
key: "labels",
+ resizable: true,
+ width: 100,
render(row: ComposedDatabase) {
return h(LabelsColumn, {
labels: row.labels,