Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: add stage section in rollout panel (#8808)
Liu Ji698ad81380f8
diff --git a/frontend/src/components/IssueV1/components/Panel/TaskRolloutActionPanel.vue b/frontend/src/components/IssueV1/components/Panel/TaskRolloutActionPanel.vueindex 8c18a09b6a..093fe97793 100644--- a/frontend/src/components/IssueV1/components/Panel/TaskRolloutActionPanel.vue+++ b/frontend/src/components/IssueV1/components/Panel/TaskRolloutActionPanel.vue@@ -11,6 +11,17 @@v-if="action"class="flex flex-col gap-y-4 h-full overflow-y-hidden px-1">+ <div+ v-if="stage"+ class="flex flex-col gap-y-1 shrink overflow-y-hidden justify-start"+ >+ <label class="font-medium text-control">+ {{ $t("common.stage") }}+ </label>+ <div class="textinfolabel break-all">+ {{ stage.title }}+ </div>+ </div><divclass="flex flex-col gap-y-1 shrink overflow-y-hidden justify-start">@@ -110,7 +121,7 @@</template><script setup lang="ts">-import { groupBy, uniqBy } from "lodash-es";+import { groupBy, head, uniqBy } from "lodash-es";import { NButton, NCheckbox, NInput, NTooltip } from "naive-ui";import { computed, reactive, ref } from "vue";import { useI18n } from "vue-i18n";@@ -176,6 +187,12 @@ const distinctTaskList = computed(() => {});});+const stage = computed(() => {+ const firstTask = head(props.taskList);+ if (!firstTask) return undefined;+ return stageForTask(issue.value, firstTask);+});+const planCheckRunList = computed(() => {const list = props.taskList.flatMap((task) =>planCheckRunListForTask(issue.value, task)