Skip to content

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

feat(frontend): add a label to task check bar (#4086)

Liu Ji94f4e492b105
diff --git a/frontend/src/components/Issue/TaskCheckBar.vue b/frontend/src/components/Issue/TaskCheckBar.vue
index 9940cb7398..ce37183a2f 100644
--- a/frontend/src/components/Issue/TaskCheckBar.vue
+++ b/frontend/src/components/Issue/TaskCheckBar.vue
@@ -3,6 +3,10 @@
v-if="task.taskCheckRunList.length > 0"
class="flex items-start space-x-4"
>
+ <div class="textlabel h-[26px] inline-flex items-center">
+ {{ $t("task.task-checks") }}
+ </div>
+
<TaskCheckBadgeBar
:task-check-run-list="task.taskCheckRunList"
@select-task-check-type="viewCheckRunDetail"
diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.json
index 87ce8a17bd..bed324ef85 100644
--- a/frontend/src/locales/en-US.json
+++ b/frontend/src/locales/en-US.json
@@ -291,7 +291,8 @@
},
"n-similar-tasks": "({count} similar tasks)",
"skip": "Skip",
- "skip-modal-title": "Skip task [{name}]?"
+ "skip-modal-title": "Skip task [{name}]?",
+ "task-checks": "Task checks"
},
"banner": {
"demo-intro": "This is a demo version of Bytebase.",
diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.json
index 1ecbbb51cd..11b6f8d924 100644
--- a/frontend/src/locales/zh-CN.json
+++ b/frontend/src/locales/zh-CN.json
@@ -291,7 +291,8 @@
},
"n-similar-tasks": "({count} 个相似的任务)",
"skip": "跳过",
- "skip-modal-title": "跳过任务[{name}]?"
+ "skip-modal-title": "跳过任务[{name}]?",
+ "task-checks": "任务检查项"
},
"banner": {
"demo-intro": "这是 Bytebase 的演示版本。",