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: update issue data table (#13555)
boojack03d1feb70421
diff --git a/frontend/src/components/IssueV1/components/IssueStatusIcon.vue b/frontend/src/components/IssueV1/components/IssueStatusIcon.vueindex 2bedfdc271..dbbdf150c9 100644--- a/frontend/src/components/IssueV1/components/IssueStatusIcon.vue+++ b/frontend/src/components/IssueV1/components/IssueStatusIcon.vue@@ -2,7 +2,7 @@<NTooltip :disabled="!isUnfinishedResolvedIssue"><template #trigger><span- class="flex items-center justify-center rounded-full select-none overflow-hidden"+ class="flex items-center justify-center rounded-full select-none overflow-hidden shrink-0":class="issueIconClass()"><template v-if="issueStatus === IssueStatus.OPEN">diff --git a/frontend/src/components/IssueV1/components/IssueStatusIconWithTaskSummary.vue b/frontend/src/components/IssueV1/components/IssueStatusIconWithTaskSummary.vueindex 918f8a4939..f67c3e4600 100644--- a/frontend/src/components/IssueV1/components/IssueStatusIconWithTaskSummary.vue+++ b/frontend/src/components/IssueV1/components/IssueStatusIconWithTaskSummary.vue@@ -2,7 +2,7 @@<NTooltip v-if="showFailedTaskCountTooltip"><template #trigger><span- class="flex items-center justify-center rounded-full select-none overflow-hidden w-5 h-5 bg-white border-2 border-warning text-warning"+ class="flex items-center justify-center rounded-full select-none overflow-hidden w-5 h-5 bg-white border-2 border-warning text-warning shrink-0"><spanclass="h-1.5 w-1.5 bg-warning rounded-full"diff --git a/frontend/src/components/IssueV1/components/IssueTableV1.vue b/frontend/src/components/IssueV1/components/IssueTableV1.vueindex c11be5575c..e0b89f2388 100644--- a/frontend/src/components/IssueV1/components/IssueTableV1.vue+++ b/frontend/src/components/IssueV1/components/IssueTableV1.vue@@ -37,7 +37,7 @@</div></template>-<script lang="ts" setup>+<script lang="tsx" setup>import { useElementSize } from "@vueuse/core";import { orderBy } from "lodash-es";import type { DataTableColumn } from "naive-ui";@@ -73,7 +73,7 @@ const columnList = computed((): DataTableColumn<ComposedIssue>[] => {{type: "selection",width: 40,- cellProps: (issue, rowIndex) => {+ cellProps: () => {return {onClick: (e: MouseEvent) => {e.stopPropagation();@@ -87,99 +87,82 @@ const columnList = computed((): DataTableColumn<ComposedIssue>[] => {width: 0,expandable: (issue) => isIssueExpanded(issue),hide: !props.highlightText,- renderExpand: (issue) =>- h("div", {- class:- "max-h-[20rem] overflow-auto whitespace-pre-wrap break-words break-all",- innerHTML: highlight(issue.description),- }),+ renderExpand: (issue) => (+ <div+ class="max-h-[20rem] overflow-auto whitespace-pre-wrap break-words break-all"+ innerHTML={highlight(issue.description)}+ ></div>+ ),},{key: "title",title: t("issue.table.name"),+ ellipsis: true,resizable: true,- render: (issue) =>- h("div", { class: "flex items-center overflow-hidden space-x-2" }, [- h(IssueStatusIconWithTaskSummary, { issue }),- h(- "div",- { class: "whitespace-nowrap text-control" },- props.mode == "ALL"- ? `${issue.projectEntity.key}-${extractIssueUID(issue.name)}`- : `#${extractIssueUID(issue.name)}`- ),- h(- NPerformantEllipsis,- {- class: "flex-1 truncate",- },- {- default: () => h("span", { innerHTML: highlight(issue.title) }),- tooltip: () =>- h(- "div",- { class: "whitespace-pre-wrap break-words break-all" },- issue.title- ),- }- ),- ]),- },- {- key: "labels",- title: t("common.labels"),- resizable: true,- minWidth: 120,- hide: !showExtendedColumns.value,+ minWidth: 300,render: (issue) => {const labels = getValidIssueLabels(issue.labels,issue.projectEntity.issueLabels);- if (labels.length === 0) {- return h("span", {}, "-");- }-- return h(IssueLabelSelector, {- disabled: true,- selected: labels,- size: "small",- maxTagCount: "responsive",- project: issue.projectEntity,- });+ return (+ <div class="flex items-center space-x-2">+ <IssueStatusIconWithTaskSummary issue={issue} />+ <div class="whitespace-nowrap text-control">+ {props.mode == "ALL"+ ? `${issue.projectEntity.key}-${extractIssueUID(issue.name)}`+ : `#${extractIssueUID(issue.name)}`}+ </div>+ <NPerformantEllipsis>+ {{+ default: () => (+ <span+ class="min-w-32 shrink"+ innerHTML={highlight(issue.title)}+ ></span>+ ),+ tooltip: () => issue.title,+ }}+ </NPerformantEllipsis>+ {labels.length > 0 && (+ <IssueLabelSelector+ class="!w-auto shrink-0"+ size="small"+ selected={labels}+ maxTagCount={3}+ project={issue.projectEntity}+ disabled+ />+ )}+ </div>+ );},},{key: "updateTime",title: t("issue.table.updated"),- minWidth: 130,- resizable: true,+ width: 150,hide: !showExtendedColumns.value,render: (issue) => humanizeTs((issue.updateTime?.getTime() ?? 0) / 1000),},{key: "approver",width: 150,- resizable: true,title: t("issue.table.current-approver"),hide: !showExtendedColumns.value,- render: (issue) => h(CurrentApproverV1, { issue }),+ render: (issue) => <CurrentApproverV1 issue={issue} />,},{key: "creator",- resizable: true,width: 150,title: t("issue.table.creator"),hide: !showExtendedColumns.value,- render: (issue) =>- h(- "div",- { class: "flex flex-row items-center overflow-hidden gap-x-2" },- [- h(BBAvatar, { size: "SMALL", username: issue.creatorEntity.title }),- h("span", { class: "truncate" }, issue.creatorEntity.title),- ]- ),+ render: (issue) => (+ <div class="flex flex-row items-center overflow-hidden gap-x-2">+ <BBAvatar size="SMALL" username="issue.creatorEntity.title" />+ <span class="truncate">{issue.creatorEntity.title}</span>+ </div>+ ),},];return columns.filter((column) => !column.hide);