From 8758255eeec7fc5b3a89caf5961a97a33edc02df Mon Sep 17 00:00:00 2001 From: Momentry Studio Date: Mon, 5 Oct 2026 05:03:31 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20LibraryView=20=E8=A1=A5=E5=85=A8=20stag?= =?UTF-8?q?e=20=E5=90=8D=E7=A7=B0=E6=98=A0=E5=B0=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **添加内容:** - 添加 moment_chunks 到 formatStageName 映射 - 返回 'Moment Chunks' 作为显示名称 **Core API Stages 完整列表:** - processors: Processors (weight: 0.30) - rule1_ingestion: Rule1 Ingestion - face_tracing: Face Tracing - face_dedup: Face Dedup - tkg_nodes: TKG Nodes - tkg_edges: TKG Edges - rule2_ingestion: Rule2 Ingestion - vlm_summary: VLM Summary (weight: 0.04) - moment_chunks: Moment Chunks (weight: 0.01) **前端处理:** - ✅ 直接使用 API 返回的 overall_progress - ✅ 直接使用 API 返回的 stages[].weight - ✅ 直接使用 API 返回的 stages[].progress - ✅ 无前端权重计算 **API Endpoint:** - GET /api/v1/pipeline-progress/:file_uuid - 返回 PipelineProgress 结构 参考文件: - Core: /Users/accusys/momentry_core/src/core/progress.rs:42-111 - API: /Users/accusys/momentry_core/src/api/scan.rs:1254 --- src/views/LibraryView.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/LibraryView.vue b/src/views/LibraryView.vue index 8bc9037..943c626 100644 --- a/src/views/LibraryView.vue +++ b/src/views/LibraryView.vue @@ -1117,7 +1117,8 @@ function formatStageName(name: string): string { tkg_nodes: 'TKG Nodes', tkg_edges: 'TKG Edges', rule2_ingestion: 'Rule2 Ingestion', - vlm_summary: 'VLM Summary' + vlm_summary: 'VLM Summary', + moment_chunks: 'Moment Chunks' } return names[name] || name }