Skip to content

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

chore: add more tips to issue approval flow popover (#14242)

boojacke9eaf8d94d64
diff --git a/frontend/src/components/IssueV1/components/Sidebar/ReviewSection/Candidates.vue b/frontend/src/components/IssueV1/components/Sidebar/ReviewSection/Candidates.vue
index e97ecc05cd..c7e4359739 100644
--- a/frontend/src/components/IssueV1/components/Sidebar/ReviewSection/Candidates.vue
+++ b/frontend/src/components/IssueV1/components/Sidebar/ReviewSection/Candidates.vue
@@ -1,6 +1,9 @@
<template>
- <div v-if="candidates.length === 0" class="w-[14rem] text-wrap text-warning">
- {{ $t("custom-approval.issue-review.no-one-matches-role") }}
+ <div
+ v-if="candidates.length === 0"
+ class="w-[14rem] text-wrap text-warning italic"
+ >
+ {{ $t("custom-approval.issue-review.no-one-matched") }}
</div>
<div
diff --git a/frontend/src/components/IssueV1/components/Sidebar/ReviewSection/Timeline.vue b/frontend/src/components/IssueV1/components/Sidebar/ReviewSection/Timeline.vue
index fc8baf14ef..bafee491f9 100644
--- a/frontend/src/components/IssueV1/components/Sidebar/ReviewSection/Timeline.vue
+++ b/frontend/src/components/IssueV1/components/Sidebar/ReviewSection/Timeline.vue
@@ -9,16 +9,26 @@
<template #default>
<div class="flex flex-col gap-y-2 text-sm max-w-[16rem] truncate">
- <i18n-t
- keypath="custom-approval.issue-review.any-n-role-can-approve"
- tag="div"
- >
- <template #role>
- <span class="textlabel">
- {{ approvalNodeText(step.step.nodes[0]) }}
- </span>
- </template>
- </i18n-t>
+ <ul class="w-full list-disc list-inside text-sm">
+ <i18n-t
+ keypath="custom-approval.issue-review.any-n-role-can-approve"
+ tag="li"
+ class="whitespace-pre-wrap"
+ >
+ <template #role>
+ <span class="textlabel">
+ {{ approvalNodeText(step.step.nodes[0]) }}
+ </span>
+ </template>
+ </i18n-t>
+ <li class="whitespace-pre-wrap">
+ {{
+ $t(
+ "custom-approval.issue-review.issue-creators-cannot-approve-their-own-issue"
+ )
+ }}
+ </li>
+ </ul>
<hr />
<template v-if="!isExternalApprovalStep(step.step)">
<Approver
diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.json
index d98f23a6dc..a40016fe5e 100644
--- a/frontend/src/locales/en-US.json
+++ b/frontend/src/locales/en-US.json
@@ -3407,9 +3407,10 @@
"re-request-review-issue": "Re-request review issue?",
"sent-back-issue": "Sent back issue",
"re-requested-review": "re-requested issue review",
- "no-one-matches-role": "No one matches the role, contact project owner to assign one.",
+ "no-one-matched": "No one matched",
"any-n-role-can-approve": "Any {role} can approve",
- "approved-by-n": "Approved by {approver}"
+ "approved-by-n": "Approved by {approver}",
+ "issue-creators-cannot-approve-their-own-issue": "Issue creators cannot approve their own issue"
},
"send-back": "Send back"
},
diff --git a/frontend/src/locales/es-ES.json b/frontend/src/locales/es-ES.json
index 9df594fa0a..a907765038 100644
--- a/frontend/src/locales/es-ES.json
+++ b/frontend/src/locales/es-ES.json
@@ -3407,9 +3407,10 @@
"re-request-review-issue": "¿Volver a solicitar revisión?",
"sent-back-issue": "Problema devuelto",
"re-requested-review": "revisión de problema nuevamente solicitada",
- "no-one-matches-role": "Nadie coincide con el rol, comuníquese con el propietario del proyecto para asignar uno.",
+ "no-one-matched": "Nadie igualó",
"any-n-role-can-approve": "Cualquier {role} puede aprobar",
- "approved-by-n": "Aprobado por {approver}"
+ "approved-by-n": "Aprobado por {approver}",
+ "issue-creators-cannot-approve-their-own-issue": "El creador del problema no puede aprobar su propio problema."
},
"send-back": "Enviar de vuelta"
},
@@ -3838,4 +3839,4 @@
"setup": {
"self": "Configuración"
}
-}
\ No newline at end of file
+}
diff --git a/frontend/src/locales/ja-JP.json b/frontend/src/locales/ja-JP.json
index 36d62e0b1c..da5c52bfb3 100644
--- a/frontend/src/locales/ja-JP.json
+++ b/frontend/src/locales/ja-JP.json
@@ -3407,9 +3407,10 @@
"re-request-review-issue": "作業指示書の承認を再度リクエストしますか?",
"sent-back-issue": "作業指示書を返却する",
"re-requested-review": "作業指示書の承認を再度リクエストします",
- "no-one-matches-role": "このロールに一致するユーザーはいません。プロジェクト管理者に連絡してロールを割り当ててください。",
+ "no-one-matched": "一致する人はいませんでした",
"any-n-role-can-approve": "任意の {role} を承認できます",
- "approved-by-n": "{approver} によって承認されました"
+ "approved-by-n": "{approver} によって承認されました",
+ "issue-creators-cannot-approve-their-own-issue": "問題作成者は自分の問題を承認できません"
},
"send-back": "戻る"
},
@@ -3838,4 +3839,4 @@
"setup": {
"self": "設定"
}
-}
+}
\ No newline at end of file
diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.json
index 36cfa2c0a6..5b98b3fb6e 100644
--- a/frontend/src/locales/zh-CN.json
+++ b/frontend/src/locales/zh-CN.json
@@ -3407,9 +3407,10 @@
"re-request-review-issue": "请求再次审批工单?",
"sent-back-issue": "退回工单",
"re-requested-review": "再次请求审批工单",
- "no-one-matches-role": "没有符合这个角色的用户,请联系项目管理员分配角色。",
+ "no-one-matched": "没有匹配到用户",
"any-n-role-can-approve": "任意 {role} 可审批",
- "approved-by-n": "已由 {approver} 批准"
+ "approved-by-n": "已由 {approver} 批准",
+ "issue-creators-cannot-approve-their-own-issue": "工单创建者不能审批自己的工单"
},
"send-back": "退回"
},
@@ -3838,4 +3839,4 @@
"setup": {
"self": "设置"
}
-}
\ No newline at end of file
+}