Skip to content

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

fix: spiner size (#10935)

ecmadao225e54d6cc16
diff --git a/frontend/src/components/Branch/BranchMergeView/MergeBranchValidationStateView.vue b/frontend/src/components/Branch/BranchMergeView/MergeBranchValidationStateView.vue
index dfe0ee3b0a..30b587e9f0 100644
--- a/frontend/src/components/Branch/BranchMergeView/MergeBranchValidationStateView.vue
+++ b/frontend/src/components/Branch/BranchMergeView/MergeBranchValidationStateView.vue
@@ -6,7 +6,7 @@
</span>
<template v-else>
<template v-if="isValidating">
- <BBSpin class="!w-4 !h-4" />
+ <BBSpin :size="2" />
<span>{{ $t("branch.merge-rebase.validating-branch") }}</span>
</template>
<template v-else-if="validationState">
diff --git a/frontend/src/components/Branch/BranchRebaseView/RebaseBranchValidationStateView.vue b/frontend/src/components/Branch/BranchRebaseView/RebaseBranchValidationStateView.vue
index aa2a3049c3..4b4b08d47e 100644
--- a/frontend/src/components/Branch/BranchRebaseView/RebaseBranchValidationStateView.vue
+++ b/frontend/src/components/Branch/BranchRebaseView/RebaseBranchValidationStateView.vue
@@ -5,7 +5,7 @@
</span>
<template v-else>
<template v-if="isValidating">
- <BBSpin class="!w-4 !h-4" />
+ <BBSpin :size="2" />
<span>{{ $t("branch.merge-rebase.validating-branch") }}</span>
</template>
<template v-else-if="validationState">
diff --git a/frontend/src/components/Branch/BranchRebaseView/SelectBranchStep.vue b/frontend/src/components/Branch/BranchRebaseView/SelectBranchStep.vue
index 51f7df4270..973371c05b 100644
--- a/frontend/src/components/Branch/BranchRebaseView/SelectBranchStep.vue
+++ b/frontend/src/components/Branch/BranchRebaseView/SelectBranchStep.vue
@@ -49,7 +49,7 @@
</span>
<template v-else>
<template v-if="isValidating">
- <BBSpin class="!w-4 !h-4" />
+ <BBSpin :size="2" />
<span>{{ $t("branch.merge-rebase.validating-branch") }}</span>
</template>
<template v-else-if="validationState">
diff --git a/frontend/src/components/IssueV1/components/ActivitySection/Subscribers/SubscribeButton.vue b/frontend/src/components/IssueV1/components/ActivitySection/Subscribers/SubscribeButton.vue
index 12231e027e..07446064ee 100644
--- a/frontend/src/components/IssueV1/components/ActivitySection/Subscribers/SubscribeButton.vue
+++ b/frontend/src/components/IssueV1/components/ActivitySection/Subscribers/SubscribeButton.vue
@@ -1,6 +1,6 @@
<template>
<NButton text :disabled="isLoading" @click="handleClick">
- <BBSpin v-if="isLoading" class="!w-4 !h-4 mr-1" />
+ <BBSpin v-if="isLoading" :size="2" class="mr-1" />
<span>
{{ isSubscribed ? $t("issue.unsubscribe") : $t("issue.subscribe") }}
</span>
diff --git a/frontend/src/components/IssueV1/components/PlanCheckSection/PlanCheckBar/PlanCheckRunButton.vue b/frontend/src/components/IssueV1/components/PlanCheckSection/PlanCheckBar/PlanCheckRunButton.vue
index 7490278914..95bebf640e 100644
--- a/frontend/src/components/IssueV1/components/PlanCheckSection/PlanCheckBar/PlanCheckRunButton.vue
+++ b/frontend/src/components/IssueV1/components/PlanCheckSection/PlanCheckBar/PlanCheckRunButton.vue
@@ -8,7 +8,7 @@
@click="$emit('run-checks', ($event as ButtonAction).params.taskList)"
>
<template #icon>
- <BBSpin v-if="hasRunningPlanCheck" class="!w-4 !h-4" />
+ <BBSpin v-if="hasRunningPlanCheck" :size="2" />
<heroicons-outline:play v-else class="w-4 h-4" />
</template>
<template #default="{ action }">
diff --git a/frontend/src/components/IssueV1/components/Sidebar/ReviewSection/ReviewSection.vue b/frontend/src/components/IssueV1/components/Sidebar/ReviewSection/ReviewSection.vue
index 595da24e49..46a57590f1 100644
--- a/frontend/src/components/IssueV1/components/Sidebar/ReviewSection/ReviewSection.vue
+++ b/frontend/src/components/IssueV1/components/Sidebar/ReviewSection/ReviewSection.vue
@@ -25,7 +25,7 @@
v-if="!ready"
class="flex items-center gap-x-2 text-sm text-control-placeholder"
>
- <BBSpin class="!w-4 !h-4" />
+ <BBSpin :size="2" />
<span>
{{ $t("custom-approval.issue-review.generating-approval-flow") }}
</span>
diff --git a/frontend/src/components/IssueV1/components/Sidebar/RollbackSection/LoggingButton.vue b/frontend/src/components/IssueV1/components/Sidebar/RollbackSection/LoggingButton.vue
index f9feeeeed9..c76be9aadf 100644
--- a/frontend/src/components/IssueV1/components/Sidebar/RollbackSection/LoggingButton.vue
+++ b/frontend/src/components/IssueV1/components/Sidebar/RollbackSection/LoggingButton.vue
@@ -2,7 +2,7 @@
<div
class="select-none inline-flex items-center gap-x-1 h-[30px] text-control bg-white focus:ring-control focus:outline-none focus-visible:ring-2 focus:ring-offset-2"
>
- <BBSpin class="!w-4 !h-4" />
+ <BBSpin :size="2" />
<span class="text-sm leading-5 font-medium">{{
$t("task.rollback.generating")
}}</span>
diff --git a/frontend/src/components/SQLCheck/SQLCheckButton.vue b/frontend/src/components/SQLCheck/SQLCheckButton.vue
index 44c03ca04a..74904ece07 100644
--- a/frontend/src/components/SQLCheck/SQLCheckButton.vue
+++ b/frontend/src/components/SQLCheck/SQLCheckButton.vue
@@ -13,7 +13,7 @@
@click="runChecks"
>
<template #icon>
- <BBSpin v-if="isRunning" class="!w-4 !h-4" />
+ <BBSpin v-if="isRunning" :size="2" />
<heroicons-outline:play v-else class="w-4 h-4" />
</template>
<template #default>
diff --git a/frontend/src/components/SchemaTemplate/ClassificationLevelBadge.vue b/frontend/src/components/SchemaTemplate/ClassificationLevelBadge.vue
index ff6beda2e3..98fbce34ec 100644
--- a/frontend/src/components/SchemaTemplate/ClassificationLevelBadge.vue
+++ b/frontend/src/components/SchemaTemplate/ClassificationLevelBadge.vue
@@ -1,6 +1,6 @@
<template>
<NPerformantEllipsis v-if="showText" :line-clamp="1">
- {{ columnClassification?.title ?? placeholder }}
+ {{ columnClassification?.title ?? classification ?? placeholder }}
</NPerformantEllipsis>
<span v-if="level" :class="['px-1 py-0.5 rounded text-xs', levelColor]">
{{ level.title }}
diff --git a/frontend/src/components/misc/UploadProgressButton.vue b/frontend/src/components/misc/UploadProgressButton.vue
index 307fa4fed2..e9e3df1325 100644
--- a/frontend/src/components/misc/UploadProgressButton.vue
+++ b/frontend/src/components/misc/UploadProgressButton.vue
@@ -20,7 +20,7 @@
{{ `${Math.round(percent)}%` }}
</span>
</NProgress>
- <BBSpin v-else class="!w-4 !h-4" />
+ <BBSpin v-else :size="2" />
</template>
</template>
diff --git a/frontend/src/plugins/ai/components/DynamicSuggestions.vue b/frontend/src/plugins/ai/components/DynamicSuggestions.vue
index 3db40a2225..88f2d2db66 100644
--- a/frontend/src/plugins/ai/components/DynamicSuggestions.vue
+++ b/frontend/src/plugins/ai/components/DynamicSuggestions.vue
@@ -1,7 +1,7 @@
<template>
<div class="flex items-center overflow-hidden h-[22px]">
<template v-if="dynamicSuggestions && !ready">
- <BBSpin class="!w-4 !h-4 mr-2" />
+ <BBSpin :size="2" class="mr-2" />
<span class="text-sm">{{
$t("plugin.ai.conversation.tips.suggest-prompt")
}}</span>
@@ -25,7 +25,7 @@
</NEllipsis>
<div class="shrink-0 flex items-center">
- <BBSpin v-if="state === 'LOADING'" class="!w-4 !h-4" />
+ <BBSpin v-if="state === 'LOADING'" :size="2" />
<button
v-if="state === 'IDLE'"
class="text-gray-500 cursor-pointer py-0.5 px-1 rounded-md hover:bg-gray-200"