copy(web): api 标签与整理状态统一
整理记录状态改为排队中 / 整理中 / 已整理 / 部分整理 / 整理失败(列表摘要、组汇总、队列面板同口径); 下载计划「等你批准」「准备提交」;资源评估「可下载」「信息不全」「已跳过」;任务状态带「中」; 识别等待提示改匹配「TMDB 结果在后台查询」。 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Cxwgnn2pbzQ7rXv3rq7fei
This commit is contained in:
1 parent
148b12f279
commit
592f40ccf8
23 files changed
+58
-59
No files matched your search
@@ -155,7 +155,7 @@ export function IdentifyPanel({
|
||||
})}
|
||||
</ul>
|
||||
) : it.skipped ? null : (
|
||||
<p className="text-caption text-muted-foreground">没有可信候选。整理时可以手动搜索作品。</p>
|
||||
<p className="text-caption text-muted-foreground">没有可信的候选作品。整理时可以手动搜索作品。</p>
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
|
||||
@@ -339,7 +339,7 @@ describe("识别远端回填(S-7)", () => {
|
||||
candidates: [],
|
||||
suggestion: { mediaEntityId: null, contentUnitId: null, contentUnit: null },
|
||||
existing: { assetId: null },
|
||||
warnings: ["远端候选在后台查询,查完自动补上"],
|
||||
warnings: ["TMDB 结果在后台查询,查完自动补上"],
|
||||
...over,
|
||||
});
|
||||
const base = { items: [item("a.mkv"), item("b.mkv")], truncated: false, remoteTaskId: "run-1", remotePending: 1 };
|
||||
|
||||
@@ -548,7 +548,7 @@ export function nameTaken(name: string, self: string, siblings: string[]): boole
|
||||
|
||||
const identifyKey = (it: Pick<FileIdentifyItem, "root" | "path">) => `${it.root}\u0000${it.path}`;
|
||||
/** 服务端给"远端在后台查"项加的提示;结果回来后去掉 */
|
||||
const REMOTE_PENDING_WARNING = /^远端候选在后台查询/;
|
||||
const REMOTE_PENDING_WARNING = /^TMDB 结果在后台查询/;
|
||||
|
||||
/**
|
||||
* SSE identify.completed 回填:taskId 与响应的 remoteTaskId 一致时,按 root + path 用完整结果替换条目;
|
||||
|
||||
Reference in new issue
Block a user