feat(ui): close confirm when changes not saved

This commit is contained in:
Fu Diwei
2025-01-06 00:44:06 +08:00
parent 6f1a375fee
commit 4ba7237326
22 changed files with 185 additions and 264 deletions

View File

@@ -12,6 +12,7 @@
"common.text.copied": "Copied",
"common.text.nodata": "No data available",
"common.text.operation_confirm": "Operation confirm",
"common.text.operation_succeeded": "Operation succeeded",
"common.text.operation_failed": "Operation failed",
"common.text.request_error": "Request error",

View File

@@ -49,6 +49,6 @@
"workflow.detail.orchestration.action.release.confirm": "Are you sure to release your changes?",
"workflow.detail.orchestration.action.release.failed.uncompleted": "Please complete the orchestration first",
"workflow.detail.orchestration.action.run": "Run",
"workflow.detail.orchestration.action.run.confirm": "There are unreleased changes, are you sure to run this workflow based on the latest released version?",
"workflow.detail.orchestration.action.run.confirm": "You have unreleased changes. Do you really want to run this workflow based on the latest released version?",
"workflow.detail.runs.tab": "History runs"
}

View File

@@ -5,6 +5,8 @@
"workflow_node.action.add_branch": "Add branch",
"workflow_node.action.delete_branch": "Delete branch",
"workflow_node.unsaved_changes.confirm": "You have unsaved changes. Do you really want to close the panel and drop those changes?",
"workflow_node.start.label": "Start",
"workflow_node.start.form.trigger.label": "Trigger",
"workflow_node.start.form.trigger.placeholder": "Please select trigger",

View File

@@ -12,6 +12,7 @@
"common.text.copied": "已复制",
"common.text.nodata": "暂无数据",
"common.text.operation_confirm": "操作确认",
"common.text.operation_succeeded": "操作成功",
"common.text.operation_failed": "操作失败",
"common.text.request_error": "请求错误",

View File

@@ -49,6 +49,6 @@
"workflow.detail.orchestration.action.release.confirm": "确定要发布更改吗?",
"workflow.detail.orchestration.action.release.failed.uncompleted": "流程编排未完成,请检查是否有节点未配置",
"workflow.detail.orchestration.action.run": "执行",
"workflow.detail.orchestration.action.run.confirm": "此工作流存在未发布的更改,将以最近一次发布的版本为准,确定要继续执行吗?",
"workflow.detail.orchestration.action.run.confirm": "你有尚未发布的更改。你确定要以最近一次发布的版本继续执行吗?",
"workflow.detail.runs.tab": "执行历史"
}

View File

@@ -5,6 +5,8 @@
"workflow_node.action.add_branch": "添加分支",
"workflow_node.action.delete_branch": "删除分支",
"workflow_node.unsaved_changes.confirm": "你有尚未保存的更改。你确定要关闭面板吗?",
"workflow_node.start.label": "开始",
"workflow_node.start.form.trigger.label": "触发方式",
"workflow_node.start.form.trigger.placeholder": "请选择触发方式",