Skip to content

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

chore: tweak issue UI (#7697)

Tianzhou (天舟)882ee7bd9d8d
diff --git a/frontend/src/components/IssueV1/IssueDetailPage.vue b/frontend/src/components/IssueV1/IssueDetailPage.vue
index e28a53c913..82d8ca6243 100644
--- a/frontend/src/components/IssueV1/IssueDetailPage.vue
+++ b/frontend/src/components/IssueV1/IssueDetailPage.vue
@@ -6,7 +6,7 @@
<HeaderSection class="!border-t-0" />
- <div class="w-full border-t mt-4" />
+ <div class="w-full border-t mt-4 mb-2" />
<StageSection />
diff --git a/frontend/src/components/IssueV1/components/HeaderSection/Assignee/Assignee.vue b/frontend/src/components/IssueV1/components/HeaderSection/Assignee/Assignee.vue
index 67c4167cab..1adc01dc96 100644
--- a/frontend/src/components/IssueV1/components/HeaderSection/Assignee/Assignee.vue
+++ b/frontend/src/components/IssueV1/components/HeaderSection/Assignee/Assignee.vue
@@ -9,7 +9,7 @@
</div>
</template>
<template #default>
- <div class="max-w-[12rem]">
+ <div class="max-w-[14rem]">
{{ $t("issue.assignee-tooltip") }}
</div>
</template>
@@ -27,7 +27,7 @@
:disabled="!allowChangeAssignee || isUpdating"
:loading="isUpdating"
:filter="filterAssignee"
- style="width: 12rem"
+ style="width: 14rem"
@update:user="changeAssigneeUID"
/>
</template>
diff --git a/frontend/src/components/IssueV1/components/HeaderSection/Description.vue b/frontend/src/components/IssueV1/components/HeaderSection/Description.vue
index e3006593a1..2a738122c8 100644
--- a/frontend/src/components/IssueV1/components/HeaderSection/Description.vue
+++ b/frontend/src/components/IssueV1/components/HeaderSection/Description.vue
@@ -1,6 +1,6 @@
<template>
- <div class="flex items-center gap-x-4">
- <div class="flex items-center gap-x-1 text-sm">
+ <div class="flex items-center gap-x-4 py-1">
+ <div class="flex items-center gap-x-1">
<div class="textlabel">{{ $t("common.project") }}</div>
<div>-</div>
<ProjectV1Name :project="project" />
@@ -10,7 +10,7 @@
v-if="!isCreating && creator"
keypath="issue.opened-by-at"
tag="div"
- class="text-sm text-control-light"
+ class="text-control-light"
>
<template #creator>
<router-link
diff --git a/frontend/src/components/IssueV1/components/HeaderSection/HeaderSection.vue b/frontend/src/components/IssueV1/components/HeaderSection/HeaderSection.vue
index 1bcf038cc3..fb0b8f1ee5 100644
--- a/frontend/src/components/IssueV1/components/HeaderSection/HeaderSection.vue
+++ b/frontend/src/components/IssueV1/components/HeaderSection/HeaderSection.vue
@@ -1,5 +1,5 @@
<template>
- <div class="flex flex-col gap-2 px-4 py-2">
+ <div class="flex flex-col px-4 py-2">
<div
class="flex flex-col md:flex-row md:items-start md:justify-between gap-2"
>
@@ -16,6 +16,9 @@
<Actions />
</div>
+
+ <div class="w-full border-t mt-2 mb-4" />
+
<div
class="flex flex-col md:flex-row md:items-stretch md:justify-between gap-2"
>
diff --git a/frontend/src/components/IssueV1/components/HeaderSection/ReviewSection/ReviewSection.vue b/frontend/src/components/IssueV1/components/HeaderSection/ReviewSection/ReviewSection.vue
index fc35f3bfc1..d2a6acfb24 100644
--- a/frontend/src/components/IssueV1/components/HeaderSection/ReviewSection/ReviewSection.vue
+++ b/frontend/src/components/IssueV1/components/HeaderSection/ReviewSection/ReviewSection.vue
@@ -13,7 +13,7 @@
</template>
</NTooltip>
- <div class="flex-1 min-w-[12rem]">
+ <div class="flex-1 min-w-[14rem]">
<div
v-if="!ready"
class="flex items-center gap-x-2 text-sm text-control-placeholder"
diff --git a/frontend/src/components/IssueV1/components/StageSection/StageSection.vue b/frontend/src/components/IssueV1/components/StageSection/StageSection.vue
index bca59ae71c..3e8f85c980 100644
--- a/frontend/src/components/IssueV1/components/StageSection/StageSection.vue
+++ b/frontend/src/components/IssueV1/components/StageSection/StageSection.vue
@@ -1,6 +1,6 @@
<template>
- <div class="w-full pb-2 flex flex-col gap-y-2">
- <div class="flex flex-col lg:flex-row justify-between border-b px-4">
+ <div class="w-full flex flex-col px-4">
+ <div class="flex flex-col lg:flex-row justify-between">
<template v-for="(stage, index) in stageList" :key="stage.uid">
<StageCard :stage="stage" :index="index" class="h-[60px]" />
<div
@@ -25,7 +25,9 @@
</template>
</div>
- <div class="lg:flex items-start justify-between px-4">
+ <div class="w-full border-t mb-4" />
+
+ <div class="lg:flex items-start justify-between">
<StageInfo />
<Actions />
diff --git a/frontend/src/components/v2/Select/UserSelect.vue b/frontend/src/components/v2/Select/UserSelect.vue
index 2c23e7a849..3bf9f48d5e 100644
--- a/frontend/src/components/v2/Select/UserSelect.vue
+++ b/frontend/src/components/v2/Select/UserSelect.vue
@@ -232,9 +232,7 @@ const renderLabel = (option: SelectOption) => {
const avatar = renderAvatar(user);
const children = [h("span", {}, user.title)];
if (user.name !== UNKNOWN_USER_NAME) {
- children.push(
- h("span", { class: "text-sm text-gray-400" }, `(${user.email})`)
- );
+ children.push(h("span", { class: "text-gray-400" }, `(${user.email})`));
}
return h(
"div",