copy: 巡检目标与引擎统计摘要去掉「待处理」;格式化改动文件
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Cxwgnn2pbzQ7rXv3rq7fei
This commit is contained in:
1 parent
d9af105387
commit
25d0a074ca
7 files changed
+10
-8
No files matched your search
@@ -99,7 +99,9 @@ export function ScrapeRecordView({ record: s, showPath = false }: { record: Scra
|
||||
<div className="grid gap-2">
|
||||
<div className="flex flex-wrap items-center gap-2">
|
||||
<StatusBadge tone={SCRAPE_STATUS[s.status].tone}>{SCRAPE_STATUS[s.status].label}</StatusBadge>
|
||||
{showPath ? <span className="min-w-0 text-sm break-all text-foreground">{s.path || "(登记目录本身)"}</span> : null}
|
||||
{showPath ? (
|
||||
<span className="min-w-0 text-sm break-all text-foreground">{s.path || "(登记目录本身)"}</span>
|
||||
) : null}
|
||||
{done && (files.length || s.status === "succeeded") ? (
|
||||
<span className="text-sm text-muted-foreground">{scrapeCounts(s) || "没有要写的文件"}</span>
|
||||
) : null}
|
||||
|
||||
@@ -100,7 +100,8 @@ const when = (r: Rec) => r.finishedAt ?? r.startedAt ?? r.createdAt;
|
||||
/** 状态:成功不加徽章,其余徽章 + 一句原因;需要处理的再给行内动作 */
|
||||
function StatusCell({ r, onReorganize }: { r: Rec; onReorganize?: () => void }) {
|
||||
const progress = recordFileProgress(r);
|
||||
if (r.status === "succeeded" && !r.reason && !r.attention) return <span className="text-muted-foreground">已整理</span>;
|
||||
if (r.status === "succeeded" && !r.reason && !r.attention)
|
||||
return <span className="text-muted-foreground">已整理</span>;
|
||||
const line = attentionLine(r) ?? reasonLine(r.reason);
|
||||
return (
|
||||
<div className="flex flex-col items-start gap-0.5">
|
||||
|
||||
Reference in new issue
Block a user