Skip to content

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

chore: styles (#7488)

Liu Jic974beca03a5
diff --git a/frontend/src/components/IssueV1/components/HeaderSection/ReviewSection/ReviewSection.vue b/frontend/src/components/IssueV1/components/HeaderSection/ReviewSection/ReviewSection.vue
index a6a8554c57..fc35f3bfc1 100644
--- a/frontend/src/components/IssueV1/components/HeaderSection/ReviewSection/ReviewSection.vue
+++ b/frontend/src/components/IssueV1/components/HeaderSection/ReviewSection/ReviewSection.vue
@@ -1,5 +1,5 @@
<template>
- <div class="flex items-center gap-x-3">
+ <div class="flex items-center gap-x-3 min-h-[34px]">
<NTooltip :disabled="!showApprovalTooltip">
<template #trigger>
<div class="textlabel flex items-center gap-x-1">
diff --git a/frontend/src/components/IssueV1/components/StageSection/Actions/EarliestAllowedTime.vue b/frontend/src/components/IssueV1/components/StageSection/Actions/EarliestAllowedTime.vue
index 1c4ba974b1..cb47eeb0c5 100644
--- a/frontend/src/components/IssueV1/components/StageSection/Actions/EarliestAllowedTime.vue
+++ b/frontend/src/components/IssueV1/components/StageSection/Actions/EarliestAllowedTime.vue
@@ -1,5 +1,5 @@
<template>
- <div class="flex items-center gap-x-3">
+ <div v-if="shouldShowEarliestAllowedTime" class="flex items-center gap-x-3">
<h2 class="flex flex-col items-end">
<NTooltip>
<template #trigger>
@@ -70,6 +70,13 @@ const { isCreating, issue, isTenantMode, selectedTask, events } =
useIssueContext();
const isUpdating = ref(false);
+const shouldShowEarliestAllowedTime = computed(() => {
+ if (isTenantMode.value) {
+ return false;
+ }
+ return true;
+});
+
// `null` to "Unset"
const earliestAllowedTime = computed(() => {
const spec = specForTask(issue.value.planEntity, selectedTask.value);
diff --git a/frontend/src/components/IssueV1/components/StageSection/Actions/RollbackSection/RollbackSection.vue b/frontend/src/components/IssueV1/components/StageSection/Actions/RollbackSection/RollbackSection.vue
index e1f8d84364..9a58d4709c 100644
--- a/frontend/src/components/IssueV1/components/StageSection/Actions/RollbackSection/RollbackSection.vue
+++ b/frontend/src/components/IssueV1/components/StageSection/Actions/RollbackSection/RollbackSection.vue
@@ -1,5 +1,8 @@
<template>
- <div v-if="rollbackUIType !== 'NONE'" class="flex items-center gap-x-3">
+ <div
+ v-if="rollbackUIType !== 'NONE'"
+ class="flex items-center gap-x-3 min-h-[34px]"
+ >
<NTooltip>
<template #trigger>
<div class="textlabel flex items-center">
diff --git a/frontend/src/components/IssueV1/components/TaskRunSection/TaskRunStatusIcon.vue b/frontend/src/components/IssueV1/components/TaskRunSection/TaskRunStatusIcon.vue
index 0866623992..0ffe691c7c 100644
--- a/frontend/src/components/IssueV1/components/TaskRunSection/TaskRunStatusIcon.vue
+++ b/frontend/src/components/IssueV1/components/TaskRunSection/TaskRunStatusIcon.vue
@@ -3,12 +3,20 @@
class="relative w-5 h-5 flex flex-shrink-0 items-center justify-center rounded-full select-none"
:class="classes"
>
- <template v-if="status === TaskRun_Status.RUNNING">
- <span
- class="h-2.5 w-2.5 bg-info rounded-full"
- style="animation: pulse 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite"
- aria-hidden="true"
- />
+ <template v-if="status === TaskRun_Status.PENDING">
+ <span class="h-1.5 w-1.5 bg-info rounded-full" aria-hidden="true" />
+ </template>
+ <template v-else-if="status === TaskRun_Status.RUNNING">
+ <div class="flex h-2.5 w-2.5 relative overflow-visible">
+ <span
+ class="w-full h-full rounded-full z-0 absolute animate-ping-slow bg-blue-600/50"
+ aria-hidden="true"
+ />
+ <span
+ class="w-full h-full rounded-full z-[1] bg-info"
+ aria-hidden="true"
+ />
+ </div>
</template>
<template v-else-if="status === TaskRun_Status.DONE">
<heroicons-outline:check class="w-5 h-5" />
@@ -35,6 +43,8 @@ const props = defineProps<{
const classes = computed(() => {
switch (props.status) {
+ case TaskRun_Status.PENDING:
+ return "bg-white border-2 border-info text-info";
case TaskRun_Status.RUNNING:
return "bg-white border-2 border-info text-info";
case TaskRun_Status.DONE: