Skip to content

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

chore: bring task spinner back (#8354)

Liu Ji2918cb476316
diff --git a/frontend/src/components/IssueV1/components/PlanCheckSection/PlanCheckBar/PlanCheckBadge.vue b/frontend/src/components/IssueV1/components/PlanCheckSection/PlanCheckBar/PlanCheckBadge.vue
index 8cba84535c..bfeb3f6d8a 100644
--- a/frontend/src/components/IssueV1/components/PlanCheckSection/PlanCheckBar/PlanCheckBadge.vue
+++ b/frontend/src/components/IssueV1/components/PlanCheckSection/PlanCheckBar/PlanCheckBadge.vue
@@ -52,6 +52,7 @@ import {
PlanCheckRun_Status,
PlanCheckRun_Type,
} from "@/types/proto/v1/rollout_service";
+import { TaskSpinner } from "../../common";
const props = defineProps<{
planCheckRunList: PlanCheckRun[];
diff --git a/frontend/src/components/IssueV1/components/common/TaskSpinner.vue b/frontend/src/components/IssueV1/components/common/TaskSpinner.vue
new file mode 100644
index 0000000000..5ce2098fc7
--- /dev/null
+++ b/frontend/src/components/IssueV1/components/common/TaskSpinner.vue
@@ -0,0 +1,22 @@
+<template>
+ <svg
+ class="animate-spin"
+ xmlns="http://www.w3.org/2000/svg"
+ fill="none"
+ viewBox="0 0 24 24"
+ >
+ <circle
+ class="opacity-25"
+ cx="12"
+ cy="12"
+ r="10"
+ stroke="currentColor"
+ stroke-width="4"
+ />
+ <path
+ class="opacity-75"
+ fill="currentColor"
+ d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"
+ />
+ </svg>
+</template>
diff --git a/frontend/src/components/IssueV1/components/common/index.ts b/frontend/src/components/IssueV1/components/common/index.ts
index 75f8cf399f..0cdc6f3693 100644
--- a/frontend/src/components/IssueV1/components/common/index.ts
+++ b/frontend/src/components/IssueV1/components/common/index.ts
@@ -1,4 +1,5 @@
import DropdownItemWithErrorList from "./DropdownItemWithErrorList.vue";
import ErrorList from "./ErrorList.vue";
+import TaskSpinner from "./TaskSpinner.vue";
-export { ErrorList, DropdownItemWithErrorList };
+export { ErrorList, DropdownItemWithErrorList, TaskSpinner };