feat(dashboard): add workflow tasks monitoring and stopping to team dashboard (#489)

* feat(dashboard): add workflow tasks monitoring and stopping to team dashboard

* fix(asset): retain workflow tasks on asset purge and mark active tasks as failed

* style(webui): add edge padding to audit logs and workflow tasks tables

* fix(workflow): atomically update asset status to failed when task is stopped

* fix(workflow): propagate cancellation errors, guard concurrent task stop, and localize UI

* docs(changelog): keep only added log for workflow tasks dashboard

* test(provider): mock upstream catalog api calls using saved fixtures

* feat(dashboard): show file name, size, and project name in workflow tasks list
This commit is contained in:
Yiling-J
2026-10-23 16:44:52 +08:00
committed by GitHub
parent 7a0ffca629
commit d87fe43b0f
22 changed files with 2450 additions and 26 deletions
+32
View File
@@ -1184,6 +1184,38 @@
"search_item_id": "搜索条目 ID...",
"select_actions": "选择操作",
"select_users": "选择用户",
"workflow_tasks": "工作流任务",
"workflow_tasks_description": "查看、监控和管理后台工作流执行任务。",
"no_workflow_tasks": "未找到工作流任务",
"filter_by_status": "按状态筛选",
"filter_by_type": "按类型筛选",
"select_status": "选择状态",
"select_type": "选择类型",
"clear_status": "清除状态",
"clear_types": "清除类型",
"clear_all": "清除全部",
"failed_to_load_workflow_tasks": "加载工作流任务失败。",
"stop_task": "停止任务",
"stopping": "正在停止...",
"stop_task_confirm_title": "停止工作流任务",
"stop_task_confirm_description": "确定要停止此任务吗?任何正在进行的处理都将被取消。",
"task_stopped_successfully": "工作流任务已停止。",
"task_details": "任务详情",
"task_id": "任务 ID",
"task_status": "状态",
"task_type": "类型",
"asset_id": "素材 ID",
"file_name": "文件名",
"payload": "负载数据",
"output": "输出结果",
"input_tokens": "输入 Token",
"output_tokens": "输出 Token",
"tokens_label": "Token",
"session_id": "会话 ID",
"heartbeat": "心跳时间",
"updated_at": "更新时间",
"view_details": "查看详情",
"refresh_tasks": "刷新任务",
"watermark": "水印",
"watermark_enabled": "启用水印",
"watermark_transcoding_processing": "水印媒体转码处理中...",