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: adjust default column width (#12366)
Liu Jiba3e96676d39
diff --git a/frontend/src/components/Changelist/ChangelistDetail/AddChangePanel/form/ChangeHistoryTable/ChangeHistoryTable.vue b/frontend/src/components/Changelist/ChangelistDetail/AddChangePanel/form/ChangeHistoryTable/ChangeHistoryTable.vueindex 4e9b835f1b..80b5f1e2e1 100644--- a/frontend/src/components/Changelist/ChangelistDetail/AddChangePanel/form/ChangeHistoryTable/ChangeHistoryTable.vue+++ b/frontend/src/components/Changelist/ChangelistDetail/AddChangePanel/form/ChangeHistoryTable/ChangeHistoryTable.vue@@ -59,7 +59,7 @@ const dataTableColumns = computed(() => {{key: "version",title: t("common.version"),- width: "20rem",+ width: "14rem",resizable: true,render: (changeHistory) => {return (@@ -73,6 +73,7 @@ const dataTableColumns = computed(() => {{key: "issueId",title: t("common.issue"),+ minWidth: "10rem",resizable: true,render: (changeHistory) => {return (@@ -83,7 +84,9 @@ const dataTableColumns = computed(() => {{key: "tables",title: t("changelist.change-source.change-history.tables"),- width: "minmax(auto, 1fr)",+ minWidth: "10rem",+ maxWidth: "30rem",+ className: "truncate",resizable: true,render: (changeHistory) => {return <Tables changeHistory={changeHistory} />;@@ -92,7 +95,9 @@ const dataTableColumns = computed(() => {{key: "sql",title: t("common.sql"),- width: "3fr",+ minWidth: "10rem",+ maxWidth: "30rem",+ className: "truncate",resizable: true,render: (changeHistory) => {return <SQL changeHistory={changeHistory} />;diff --git a/frontend/src/components/Changelist/ChangelistDetail/AddChangePanel/form/ChangeHistoryTable/IssueUID.vue b/frontend/src/components/Changelist/ChangelistDetail/AddChangePanel/form/ChangeHistoryTable/IssueUID.vueindex 43faf9eb28..1a794b6a87 100644--- a/frontend/src/components/Changelist/ChangelistDetail/AddChangePanel/form/ChangeHistoryTable/IssueUID.vue+++ b/frontend/src/components/Changelist/ChangelistDetail/AddChangePanel/form/ChangeHistoryTable/IssueUID.vue@@ -1,5 +1,8 @@<template>- <div v-if="changeHistory.issueEntity" class="flex items-center space-x-1">+ <div+ v-if="changeHistory.issueEntity"+ class="flex items-center overflow-hidden space-x-1"+ ><router-link:to="{path: `/${changeHistory.issueEntity.name}`,@@ -10,14 +13,17 @@>#{{ changeHistory.issueEntity.uid }}</router-link>- <!-- eslint-disable-next-line vue/no-v-html -->- <span class="textinfo" v-html="issueTitle" />+ <NPerformantEllipsis class="flex-1 truncate">+ <!-- eslint-disable-next-line vue/no-v-html -->+ <span class="textinfo" v-html="issueTitle" />+ </NPerformantEllipsis></div><span v-else>-</span></template><script setup lang="ts">import { escape } from "lodash-es";+import { NPerformantEllipsis } from "naive-ui";import { computed } from "vue";import { type ComposedChangeHistory } from "@/types";import { getHighlightHTMLByRegExp } from "@/utils";