Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
fix(plan): show plan link and rollout guidance after approval (#19922)
boojack1c079fd02d5c
diff --git a/frontend/src/components/Plan/components/HeaderSection/Actions/Actions.vue b/frontend/src/components/Plan/components/HeaderSection/Actions/Actions.vueindex 1eec791a3a..a657bd65bc 100644--- a/frontend/src/components/Plan/components/HeaderSection/Actions/Actions.vue+++ b/frontend/src/components/Plan/components/HeaderSection/Actions/Actions.vue@@ -1,8 +1,8 @@<template><CreateButton v-if="isCreating" /><div v-else class="flex items-center gap-x-2">- <!-- Rollout ready link for database change issues -->- <RolloutReadyLink v-if="shouldShowRolloutReadyLink" />+ <!-- Plan link for database change issues -->+ <PlanLink v-if="shouldShowPlanLink" /><!-- Primary action: special components for specific actions --><CreateIssueButton@@ -60,7 +60,7 @@ import { useDialog } from "naive-ui";import { computed, ref } from "vue";import { useI18n } from "vue-i18n";import { useRouter } from "vue-router";-import { usePlanContext, useRolloutReadyLink } from "@/components/Plan/logic";+import { usePlanContext, usePlanLink } from "@/components/Plan/logic";import { useResourcePoller } from "@/components/Plan/logic/poller";import TaskRolloutActionPanel from "@/components/RolloutV1/components/Task/TaskRolloutActionPanel.vue";import {@@ -82,7 +82,7 @@ import {} from "@/types/proto-es/v1/rollout_service_pb";import { CreateButton, CreateIssueButton } from "./create";import { ExportArchiveDownloadAction } from "./export";-import RolloutReadyLink from "./RolloutReadyLink.vue";+import PlanLink from "./PlanLink.vue";import {ActionButton,ActionDropdown,@@ -103,7 +103,7 @@ const { project } = useCurrentProjectV1();const { isCreating, plan, issue, rollout, events } = usePlanContext();const planStore = usePlanStore();const creatingRollout = ref(false);-const { shouldShow: shouldShowRolloutReadyLink } = useRolloutReadyLink();+const { shouldShow: shouldShowPlanLink } = usePlanLink();// Use the action registryconst {diff --git a/frontend/src/components/Plan/components/HeaderSection/Actions/RolloutReadyLink.vue b/frontend/src/components/Plan/components/HeaderSection/Actions/PlanLink.vuesimilarity index 100%rename from frontend/src/components/Plan/components/HeaderSection/Actions/RolloutReadyLink.vuerename to frontend/src/components/Plan/components/HeaderSection/Actions/PlanLink.vuediff --git a/frontend/src/components/Plan/components/HeaderSection/Actions/registry/context.ts b/frontend/src/components/Plan/components/HeaderSection/Actions/registry/context.tsindex e4a86eaf7b..154c99607f 100644--- a/frontend/src/components/Plan/components/HeaderSection/Actions/registry/context.ts+++ b/frontend/src/components/Plan/components/HeaderSection/Actions/registry/context.ts@@ -1,8 +1,8 @@import { first, orderBy } from "lodash-es";+import { isApprovalCompleted } from "@/components/Plan/logic/approval";import { candidatesOfApprovalStepV1, extractUserEmail } from "@/store";import type { Issue } from "@/types/proto-es/v1/issue_service_pb";import {- Issue_ApprovalStatus,Issue_Approver_Status,Issue_Type,IssueStatus,@@ -52,9 +52,7 @@ function computeIsApprovalCandidate(): boolean {if (!issue) return false;- const issueApproved =- issue.approvalStatus === Issue_ApprovalStatus.APPROVED ||- issue.approvalStatus === Issue_ApprovalStatus.SKIPPED;+ const issueApproved = isApprovalCompleted(issue);if (issueApproved) return false;const { approvers, approvalTemplate } = issue;@@ -156,13 +154,6 @@ function computeExportArchiveReady(return true;}-// Check if issue has no approval required (empty approval flow)-function hasNoApprovalRequired(issue: Issue | undefined): boolean {- if (!issue) return false;- const roles = issue.approvalTemplate?.flow?.roles ?? [];- return roles.length === 0;-}-export function buildActionContext(input: ContextBuilderInput): ActionContext {const {plan,@@ -246,13 +237,9 @@ export function buildActionContext(input: ContextBuilderInput): ActionContext {);// Compute approval status- // Issue is considered approved if:- // - Status is APPROVED or SKIPPED, OR- // - Approval template has no roles (no approval required)- const issueApproved =- issue?.approvalStatus === Issue_ApprovalStatus.APPROVED ||- issue?.approvalStatus === Issue_ApprovalStatus.SKIPPED ||- hasNoApprovalRequired(issue);+ // Treat approval as complete only after the status is finalized, or after+ // approval finding resolves to an empty flow (no approval required).+ const issueApproved = isApprovalCompleted(issue);return {plan,diff --git a/frontend/src/components/Plan/components/HeaderSection/Actions/registry/types.ts b/frontend/src/components/Plan/components/HeaderSection/Actions/registry/types.tsindex 9f631656ba..fbdb039c8e 100644--- a/frontend/src/components/Plan/components/HeaderSection/Actions/registry/types.ts+++ b/frontend/src/components/Plan/components/HeaderSection/Actions/registry/types.ts@@ -73,7 +73,7 @@ export interface ActionContext {// Plans where rollout is created on-demand (export, create database)hasDeferredRollout: boolean;isCreator: boolean;- issueApproved: boolean; // approval is APPROVED or SKIPPED+ issueApproved: boolean; // approval is finalized or not requiredexportArchiveReady: boolean;allTasksFinished: boolean;hasDatabaseCreateOrExportTasks: boolean;diff --git a/frontend/src/components/Plan/components/IssueReviewView/Sidebar/Sidebar.vue b/frontend/src/components/Plan/components/IssueReviewView/Sidebar/Sidebar.vueindex 5224dcce57..fcffb73fde 100644--- a/frontend/src/components/Plan/components/IssueReviewView/Sidebar/Sidebar.vue+++ b/frontend/src/components/Plan/components/IssueReviewView/Sidebar/Sidebar.vue@@ -1,7 +1,12 @@<template><div class="w-full flex flex-col p-4 gap-4"><!-- 1. Checks - Health status -->- <ChecksSection v-if="isDatabaseChangePlan" />+ <div v-if="isDatabaseChangePlan" class="flex flex-col gap-2">+ <NAlert v-if="showChecksManualRolloutHint" type="warning">+ {{ $t("issue.checks-manual-rollout-hint") }}+ </NAlert>+ <ChecksSection />+ </div><!-- 2. Approval Flow - Reviewers --><ApprovalFlowSection :issue="issue" />@@ -18,16 +23,20 @@<script setup lang="ts">import { create } from "@bufbuild/protobuf";+import { NAlert } from "naive-ui";import { computed } from "vue";import { useI18n } from "vue-i18n";import IssueLabels from "@/components/IssueV1/components/Sidebar/IssueLabels.vue";+import { isApprovalCompleted } from "@/components/Plan/logic/approval";import { useResourcePoller } from "@/components/Plan/logic/poller";+import { usePlanCheckStatus } from "@/components/Plan/logic/usePlanCheckStatus";import { issueServiceClientConnect } from "@/connect";import { pushNotification, useCurrentProjectV1 } from "@/store";import {IssueStatus,UpdateIssueRequestSchema,} from "@/types/proto-es/v1/issue_service_pb";+import { Advice_Level } from "@/types/proto-es/v1/sql_service_pb";import { hasProjectPermissionV2 } from "@/utils";import { usePlanContextWithIssue } from "../../../logic/context";import ApprovalFlowSection from "./ApprovalFlowSection/ApprovalFlowSection.vue";@@ -37,6 +46,7 @@ const { t } = useI18n();const { plan, issue } = usePlanContextWithIssue();const { project } = useCurrentProjectV1();const { refreshResources } = useResourcePoller();+const { getOverallStatus: planCheckStatus } = usePlanCheckStatus(plan);const isDatabaseChangePlan = computed(() =>@@ -46,6 +56,16 @@ const isDatabaseChangePlan = computed());+const issueApprovalCompleted = computed(() => isApprovalCompleted(issue.value));++const showChecksManualRolloutHint = computed(() => {+ return (+ !plan.value.hasRollout &&+ planCheckStatus.value === Advice_Level.ERROR &&+ issueApprovalCompleted.value+ );+});+const allowChange = computed(() => {if (issue.value.status !== IssueStatus.OPEN) {return false;diff --git a/frontend/src/components/Plan/components/PlanDetailPage/DeployFutureAction.vue b/frontend/src/components/Plan/components/PlanDetailPage/DeployFutureAction.vueindex 1ffc7da7a6..0121334697 100644--- a/frontend/src/components/Plan/components/PlanDetailPage/DeployFutureAction.vue+++ b/frontend/src/components/Plan/components/PlanDetailPage/DeployFutureAction.vue@@ -1,27 +1,85 @@<template>- <p v-if="showCreateRollout" class="text-sm text-control-placeholder mt-0.5">- <i18n-t keypath="plan.phase.deploy-description-with-action" tag="span">- <template #action>- <span- class="text-accent cursor-pointer hover:underline"- @click="showRolloutCreatePanel = true"- >{{ $t("plan.phase.create-rollout-action") }}</span>- </template>- </i18n-t>+ <div class="mt-1.5">+ <p class="text-sm text-control-placeholder">+ {{ $t("plan.phase.deploy-description") }}+ </p>++ <ul class="mt-2.5 max-w-[28rem] space-y-1">+ <li+ v-for="item in requirementItems"+ :key="item.key"+ class="flex items-start gap-2 py-1"+ >+ <div class="flex items-start gap-2 min-w-0">+ <component+ :is="item.icon"+ class="mt-0.5 h-3.5 w-3.5 shrink-0"+ :class="item.iconClass"+ />+ <div class="min-w-0">+ <div class="flex items-center gap-1.5 flex-wrap">+ <span class="text-xs font-medium text-control">+ {{ item.label }}+ </span>+ <span+ v-if="item.required"+ class="text-[10px] font-medium text-error/80"+ >+ *+ </span>+ <span+ class="text-[11px] font-medium"+ :class="item.statusClass"+ >+ {{ item.tagLabel }}+ </span>+ </div>+ <p class="mt-0.5 text-[11px] text-control-placeholder">+ {{ item.description }}+ </p>+ </div>+ </div>+ </li>+ </ul>++ <div+ v-if="showManualCreateRolloutHint"+ class="mt-3 flex max-w-[28rem] flex-col items-start gap-y-2"+ >+ <p class="text-xs text-control-placeholder">+ {{ manualCreateRolloutDescription }}+ </p>+ <NButton+ v-if="canCreateRollout"+ secondary+ strong+ size="small"+ @click="showRolloutCreatePanel = true"+ >+ {{ $t("plan.phase.create-rollout-action") }}+ </NButton>+ </div>+<RolloutCreatePanel:show="showRolloutCreatePanel":context="actionContext"@close="showRolloutCreatePanel = false"@confirm="showRolloutCreatePanel = false"/>- </p>- <p v-else class="text-sm text-control-placeholder mt-0.5">- {{ $t("plan.phase.deploy-description") }}- </p>+ </div></template><script setup lang="ts">+import {+ CheckCircle2Icon,+ CircleAlertIcon,+ Clock3Icon,+ MinusCircleIcon,+} from "lucide-vue-next";+import { NButton } from "naive-ui";import { computed, ref } from "vue";+import { useI18n } from "vue-i18n";+import { useCurrentProjectV1 } from "@/store";import { State } from "@/types/proto-es/v1/common_pb";import { IssueStatus } from "@/types/proto-es/v1/issue_service_pb";import { usePlanContext } from "../../logic";@@ -30,10 +88,12 @@ import { useActionRegistry } from "../HeaderSection/Actions/registry/useActionReconst { plan, issue } = usePlanContext();const { context: actionContext } = useActionRegistry();+const { project } = useCurrentProjectV1();+const { t } = useI18n();const showRolloutCreatePanel = ref(false);-const showCreateRollout = computed(() => {+const canCreateRollout = computed(() => {if (!issue.value) return false;if (plan.value.hasRollout) return false;if (plan.value.state !== State.ACTIVE) return false;@@ -41,4 +101,115 @@ const showCreateRollout = computed(() => {if (!actionContext.value.permissions.createRollout) return false;return true;});++const showManualCreateRolloutHint = computed(() => {+ if (!issue.value) return false;+ if (plan.value.hasRollout) return false;+ if (plan.value.state !== State.ACTIVE) return false;+ if (issue.value.status !== IssueStatus.OPEN) return false;+ if (+ project.value.requireIssueApproval &&+ !actionContext.value.issueApproved+ ) {+ return false;+ }+ if (+ project.value.requirePlanCheckNoError &&+ actionContext.value.validation.planChecksFailed+ ) {+ return false;+ }+ return (+ !project.value.requireIssueApproval ||+ !project.value.requirePlanCheckNoError+ );+});++const manualCreateRolloutDescription = computed(() => {+ if (actionContext.value.permissions.createRollout) {+ return t("plan.phase.deploy-manual-create-description");+ }+ return t("plan.phase.deploy-manual-create-description-readonly");+});++const requirementItems = computed(() => {+ const approvalItem = project.value.requireIssueApproval+ ? actionContext.value.issueApproved+ ? {+ key: "approval",+ label: t("plan.phase.deploy-approval-must-complete"),+ description: t("plan.phase.deploy-approval-ready"),+ tagLabel: t("common.done"),+ statusClass: "text-success",+ icon: CheckCircle2Icon,+ iconClass: "text-success/80",+ required: true,+ }+ : {+ key: "approval",+ label: t("plan.phase.deploy-approval-must-complete"),+ description: t("plan.phase.deploy-approval-pending"),+ tagLabel: t("common.pending"),+ statusClass: "text-warning",+ icon: Clock3Icon,+ iconClass: "text-warning/80",+ required: true,+ }+ : {+ key: "approval",+ label: t("plan.phase.deploy-approval-must-complete"),+ description: t("plan.phase.deploy-approval-optional"),+ tagLabel: t("common.optional"),+ statusClass: "text-control-placeholder",+ icon: MinusCircleIcon,+ iconClass: "text-control-placeholder",+ required: false,+ };++ const checksItem = project.value.requirePlanCheckNoError+ ? actionContext.value.validation.planChecksRunning+ ? {+ key: "checks",+ label: t("plan.phase.deploy-checks-must-pass"),+ description: t("plan.phase.deploy-checks-running"),+ tagLabel: t("common.in-progress"),+ statusClass: "text-warning",+ icon: Clock3Icon,+ iconClass: "text-warning/80",+ required: true,+ }+ : actionContext.value.validation.planChecksFailed+ ? {+ key: "checks",+ label: t("plan.phase.deploy-checks-must-pass"),+ description: t("plan.phase.deploy-checks-blocked"),+ tagLabel: t("common.failed"),+ statusClass: "text-error",+ icon: CircleAlertIcon,+ iconClass: "text-error/80",+ required: true,+ }+ : {+ key: "checks",+ label: t("plan.phase.deploy-checks-must-pass"),+ description: t("plan.phase.deploy-checks-ready"),+ tagLabel: t("common.done"),+ statusClass: "text-success",+ icon: CheckCircle2Icon,+ iconClass: "text-success/80",+ required: true,+ }+ : {+ key: "checks",+ label: t("plan.phase.deploy-checks-must-pass"),+ description: t("plan.phase.deploy-checks-optional"),+ tagLabel: t("common.optional"),+ statusClass: "text-control-placeholder",+ icon: MinusCircleIcon,+ iconClass: "text-control-placeholder",+ required: false,+ };++ return [checksItem, approvalItem];+});</script>diff --git a/frontend/src/components/Plan/components/PlanDetailPage/PlanPhaseItem.vue b/frontend/src/components/Plan/components/PlanDetailPage/PlanPhaseItem.vueindex 9d14bf92ca..13a030750d 100644--- a/frontend/src/components/Plan/components/PlanDetailPage/PlanPhaseItem.vue+++ b/frontend/src/components/Plan/components/PlanDetailPage/PlanPhaseItem.vue@@ -1,5 +1,5 @@<template>- <div class="flex">+ <div class="flex" :class="isLast ? 'mb-48' : ''"><!-- Timeline column: dot + connecting line --><div class="flex flex-col items-center w-10 md:w-16 shrink-0"><divdiff --git a/frontend/src/components/Plan/logic/approval.ts b/frontend/src/components/Plan/logic/approval.tsnew file mode 100644index 0000000000..31364869d6--- /dev/null+++ b/frontend/src/components/Plan/logic/approval.ts@@ -0,0 +1,19 @@+import type { Issue } from "@/types/proto-es/v1/issue_service_pb";+import { Issue_ApprovalStatus } from "@/types/proto-es/v1/issue_service_pb";++export const hasNoApprovalRequired = (issue: Issue | undefined): boolean => {+ if (!issue) return false;+ if (issue.approvalStatus === Issue_ApprovalStatus.CHECKING) return false;+ const roles = issue.approvalTemplate?.flow?.roles ?? [];+ return roles.length === 0;+};++export const isApprovalCompleted = (issue: Issue | undefined): boolean => {+ if (!issue) return false;++ return (+ issue.approvalStatus === Issue_ApprovalStatus.APPROVED ||+ issue.approvalStatus === Issue_ApprovalStatus.SKIPPED ||+ hasNoApprovalRequired(issue)+ );+};diff --git a/frontend/src/components/Plan/logic/index.ts b/frontend/src/components/Plan/logic/index.tsindex 268e07e985..323be23831 100644--- a/frontend/src/components/Plan/logic/index.ts+++ b/frontend/src/components/Plan/logic/index.ts@@ -1,4 +1,5 @@export * from "./context";+export * from "./approval";export * from "./base";export * from "./plan";export * from "./initialize";@@ -9,5 +10,5 @@ export * from "./useResolvedPlanCheckStatus";export * from "./utils";export * from "./sidebar";export * from "./usePlanCheckStatus";-export * from "./useRolloutReadyLink";+export * from "./usePlanLink";export * from "./rolloutPreview";diff --git a/frontend/src/components/Plan/logic/useRolloutReadyLink.ts b/frontend/src/components/Plan/logic/usePlanLink.tssimilarity index 58%rename from frontend/src/components/Plan/logic/useRolloutReadyLink.tsrename to frontend/src/components/Plan/logic/usePlanLink.tsindex 85b68194be..cf6330c289 100644--- a/frontend/src/components/Plan/logic/useRolloutReadyLink.ts+++ b/frontend/src/components/Plan/logic/usePlanLink.ts@@ -1,24 +1,18 @@import { computed } from "vue";import { useRoute } from "vue-router";import { PROJECT_V1_ROUTE_ISSUE_DETAIL } from "@/router/dashboard/projectV1";+import { isApprovalCompleted } from "./approval";import { usePlanContext } from "./context";/**- * Composable that determines whether the "Plan" link should be shown.- * This link appears on the Issue page when:- * - The plan has an existing rollout- * - All specs are database change specs+ * Composable that determines whether the "Plan" link should be shown on the+ * Issue page for database change plans.*/-export const useRolloutReadyLink = () => {+export const usePlanLink = () => {const route = useRoute();- const { plan } = usePlanContext();-- const shouldShow = computed(() => {- // Only show on Issue page- if (route.name !== PROJECT_V1_ROUTE_ISSUE_DETAIL) return false;-- if (!plan.value.hasRollout) return false;+ const { plan, issue } = usePlanContext();+ const isDatabaseChangePlan = computed(() => {return (plan.value.specs.length > 0 &&plan.value.specs.every(@@ -27,6 +21,14 @@ export const useRolloutReadyLink = () => {);});+ const issueApproved = computed(() => isApprovalCompleted(issue.value));++ const shouldShow = computed(() => {+ if (route.name !== PROJECT_V1_ROUTE_ISSUE_DETAIL) return false;+ if (!isDatabaseChangePlan.value) return false;+ return plan.value.hasRollout || issueApproved.value;+ });+return {shouldShow,};diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.jsonindex 571119fe54..c3484b4cbf 100644--- a/frontend/src/locales/en-US.json+++ b/frontend/src/locales/en-US.json@@ -1171,6 +1171,7 @@"reopen": "Reopen","reopened": "reopened"},+ "checks-manual-rollout-hint": "Approval is complete, but rollout wasn't created automatically because this plan still has failed checks. Go to Plan to continue.","checks-warning-hint": "This plan has failed checks. A manual rollout will be required upon approval.","comment-editor": {"nothing-to-preview": "Nothing to preview",@@ -1396,9 +1397,19 @@"no-checks": "No checks"},"phase": {- "create-rollout-action": "create rollout",- "deploy-description": "Available when review is approved and checks pass",- "deploy-description-with-action": "Available when review is approved and checks pass. You can {action} to proceed manually.",+ "create-rollout-action": "Manually create rollout",+ "deploy-approval-must-complete": "Approval flow must be done.",+ "deploy-approval-optional": "Approval can be bypassed based on the current project settings.",+ "deploy-approval-pending": "Finish the approval flow before rollout can proceed automatically.",+ "deploy-approval-ready": "Approval is complete for this plan.",+ "deploy-checks-blocked": "Failed checks are blocking automatic rollout creation.",+ "deploy-checks-must-pass": "Checks must pass.",+ "deploy-checks-optional": "Failed checks won't block manual rollout in this project.",+ "deploy-checks-ready": "Checks are ready for automatic rollout creation.",+ "deploy-checks-running": "Wait for running checks to finish before automatic rollout can proceed.",+ "deploy-description": "Bytebase will automatically create the rollout when all checks pass and the issue is approved.",+ "deploy-manual-create-description": "Based on the current project settings, you can also create the rollout manually.",+ "deploy-manual-create-description-readonly": "User with Create Rollout permission can create the rollout manually.","hide-details": "Hide details ↑","review-description": "Submit for review to proceed","show-details": "Show details ↓"diff --git a/frontend/src/locales/es-ES.json b/frontend/src/locales/es-ES.jsonindex d4a04f4cfd..4edea08fb0 100644--- a/frontend/src/locales/es-ES.json+++ b/frontend/src/locales/es-ES.json@@ -1171,6 +1171,7 @@"reopen": "Reabrir","reopened": "reabierto"},+ "checks-manual-rollout-hint": "La aprobación ya se completó, pero el rollout no se creó automáticamente porque este plan todavía tiene verificaciones fallidas. Ve a Plan para continuar.","checks-warning-hint": "Este plan tiene verificaciones fallidas. Se requerirá un despliegue manual tras la aprobación.","comment-editor": {"nothing-to-preview": "Nada para previsualizar",@@ -1396,9 +1397,19 @@"no-checks": "Sin controles"},"phase": {- "create-rollout-action": "crear despliegue",- "deploy-description": "Disponible cuando la revisión está aprobada y las comprobaciones pasan",- "deploy-description-with-action": "Disponible cuando la revisión está aprobada y las comprobaciones pasan. Puede {action} para continuar manualmente.",+ "create-rollout-action": "Crear rollout manualmente",+ "deploy-approval-must-complete": "El flujo de aprobación debe completarse.",+ "deploy-approval-optional": "La aprobación puede omitirse según la configuración actual del proyecto.",+ "deploy-approval-pending": "Completa el flujo de aprobación antes de que el rollout pueda continuar automáticamente.",+ "deploy-approval-ready": "La aprobación ya está completa para este plan.",+ "deploy-checks-blocked": "Las verificaciones fallidas están bloqueando la creación automática del rollout.",+ "deploy-checks-must-pass": "Las comprobaciones deben aprobarse.",+ "deploy-checks-optional": "Las verificaciones fallidas no bloquearán el rollout manual en este proyecto.",+ "deploy-checks-ready": "Las verificaciones ya permiten la creación automática del rollout.",+ "deploy-checks-running": "Espera a que terminen las verificaciones en ejecución antes de que el rollout automático pueda continuar.",+ "deploy-description": "Bytebase creará automáticamente el rollout cuando todas las comprobaciones pasen y el issue esté aprobado.",+ "deploy-manual-create-description": "Según la configuración actual del proyecto, también puede crear el rollout manualmente.",+ "deploy-manual-create-description-readonly": "Un usuario con el permiso Create Rollout puede crear el rollout manualmente.","hide-details": "Ocultar detalles ↑","review-description": "Envíe para revisión para continuar","show-details": "Mostrar detalles ↓"diff --git a/frontend/src/locales/ja-JP.json b/frontend/src/locales/ja-JP.jsonindex a161caa09e..af0bed24a8 100644--- a/frontend/src/locales/ja-JP.json+++ b/frontend/src/locales/ja-JP.json@@ -1171,6 +1171,7 @@"reopen": "再開","reopened": "再開"},+ "checks-manual-rollout-hint": "承認は完了しましたが、このプランにはまだチェックエラーがあるため、ロールアウトは自動作成されていません。Plan に移動して続行してください。","checks-warning-hint": "このプランにはチェックエラーがあります。承認後、手動でロールアウトを作成する必要があります。","comment-editor": {"nothing-to-preview": "まだプレビューはありません",@@ -1396,9 +1397,19 @@"no-checks": "チェックなし"},"phase": {- "create-rollout-action": "ロールアウトを作成",- "deploy-description": "レビューが承認され、チェックが通過すると利用可能になります",- "deploy-description-with-action": "レビューが承認され、チェックが通過すると利用可能になります。手動で進めるには{action}できます。",+ "create-rollout-action": "手動でロールアウトを作成",+ "deploy-approval-must-complete": "承認フローが完了している必要があります。",+ "deploy-approval-optional": "現在のプロジェクト設定では、承認フローをスキップできます。",+ "deploy-approval-pending": "ロールアウトを自動的に進める前に承認フローを完了してください。",+ "deploy-approval-ready": "このプランの承認は完了しています。",+ "deploy-checks-blocked": "失敗したチェックによりロールアウトの自動作成が止まっています。",+ "deploy-checks-must-pass": "チェックに合格する必要があります。",+ "deploy-checks-optional": "このプロジェクトでは、チェック失敗は手動ロールアウトを妨げません。",+ "deploy-checks-ready": "チェックはロールアウトの自動作成が可能な状態です。",+ "deploy-checks-running": "実行中のチェックが終わるまで、ロールアウトの自動作成は続行されません。",+ "deploy-description": "すべてのチェックが通過し、Issue が承認されると、Bytebase は自動的にロールアウトを作成します。",+ "deploy-manual-create-description": "現在のプロジェクト設定に応じて、ロールアウトを手動で作成することもできます。",+ "deploy-manual-create-description-readonly": "Create Rollout 権限を持つユーザーがロールアウトを手動で作成できます。","hide-details": "詳細を非表示 ↑","review-description": "続行するにはレビューに提出してください","show-details": "詳細を表示 ↓"diff --git a/frontend/src/locales/vi-VN.json b/frontend/src/locales/vi-VN.jsonindex 6d7d4af4c9..5a68bdf72c 100644--- a/frontend/src/locales/vi-VN.json+++ b/frontend/src/locales/vi-VN.json@@ -1171,6 +1171,7 @@"reopen": "Mở lại","reopened": "đã mở lại"},+ "checks-manual-rollout-hint": "Phê duyệt đã hoàn tất, nhưng rollout không được tạo tự động vì kế hoạch này vẫn còn kiểm tra lỗi. Hãy vào Plan để tiếp tục.","checks-warning-hint": "Kế hoạch này có kiểm tra thất bại. Sẽ cần triển khai thủ công sau khi phê duyệt.","comment-editor": {"nothing-to-preview": "Không có gì để xem trước",@@ -1396,9 +1397,19 @@"no-checks": "Không kiểm tra"},"phase": {- "create-rollout-action": "tạo rollout",- "deploy-description": "Có sẵn khi việc xem xét được phê duyệt và kiểm tra đã đạt",- "deploy-description-with-action": "Có sẵn khi việc xem xét được phê duyệt và kiểm tra đã đạt. Bạn có thể {action} để tiếp tục thủ công.",+ "create-rollout-action": "Tạo rollout thủ công",+ "deploy-approval-must-complete": "Luồng phê duyệt phải hoàn tất.",+ "deploy-approval-optional": "Có thể bỏ qua luồng phê duyệt theo cấu hình dự án hiện tại.",+ "deploy-approval-pending": "Hoàn tất luồng phê duyệt trước khi rollout có thể tiếp tục tự động.",+ "deploy-approval-ready": "Phê duyệt cho kế hoạch này đã hoàn tất.",+ "deploy-checks-blocked": "Các kiểm tra lỗi đang chặn việc tạo rollout tự động.",+ "deploy-checks-must-pass": "Các kiểm tra phải đạt.",+ "deploy-checks-optional": "Các kiểm tra lỗi sẽ không chặn rollout thủ công trong dự án này.",+ "deploy-checks-ready": "Các kiểm tra đã sẵn sàng để tạo rollout tự động.",+ "deploy-checks-running": "Hãy chờ các kiểm tra đang chạy hoàn tất trước khi rollout tự động có thể tiếp tục.",+ "deploy-description": "Bytebase sẽ tự động tạo rollout khi tất cả kiểm tra đều đạt và issue đã được phê duyệt.",+ "deploy-manual-create-description": "Dựa trên cài đặt dự án hiện tại, bạn cũng có thể tạo rollout thủ công.",+ "deploy-manual-create-description-readonly": "Người dùng có quyền Create Rollout có thể tạo rollout thủ công.","hide-details": "Ẩn chi tiết ↑","review-description": "Gửi để xem xét để tiếp tục","show-details": "Hiển thị chi tiết ↓"diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.jsonindex ca03c3677e..7ec6294397 100644--- a/frontend/src/locales/zh-CN.json+++ b/frontend/src/locales/zh-CN.json@@ -1171,6 +1171,7 @@"reopen": "重开","reopened": "重开"},+ "checks-manual-rollout-hint": "审批已完成,但由于该计划仍有未通过的检查,系统未自动创建发布。请前往变更计划页继续。","checks-warning-hint": "此变更计划存在未通过的检查。审批通过后将需要手动创建发布。","comment-editor": {"nothing-to-preview": "暂无预览",@@ -1396,9 +1397,19 @@"no-checks": "没有检查"},"phase": {- "create-rollout-action": "创建发布",- "deploy-description": "审批通过且检查通过后可用",- "deploy-description-with-action": "审批通过且检查通过后可用。你可以{action}手动推进。",+ "create-rollout-action": "手动创建发布",+ "deploy-approval-must-complete": "审批流必须完成。",+ "deploy-approval-optional": "根据当前项目设置,审批流可以被绕过。",+ "deploy-approval-pending": "在系统自动创建发布前,需要先完成审批流。",+ "deploy-approval-ready": "该计划的审批已完成。",+ "deploy-checks-blocked": "未通过的检查正在阻止系统自动创建发布。",+ "deploy-checks-must-pass": "检查必须通过。",+ "deploy-checks-optional": "在当前项目中,未通过的检查不会阻止手动创建发布。",+ "deploy-checks-ready": "检查结果已满足系统自动创建发布的条件。",+ "deploy-checks-running": "请等待运行中的检查完成,系统才能继续自动创建发布。",+ "deploy-description": "当所有检查都通过且工单审批完成后,Bytebase 会自动创建发布。",+ "deploy-manual-create-description": "根据当前项目设置,你也可以手动创建发布。",+ "deploy-manual-create-description-readonly": "拥有“创建发布”权限的用户可以手动创建发布。","hide-details": "收起详情 ↑","review-description": "提交审批以继续","show-details": "展开详情 ↓"