Remove the verification badge from the dashboard
Verification now runs silently; the verdict lives only in the result JSON. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -190,15 +190,6 @@ function metaChips(result: BriefingResult): HTMLElement[] {
|
||||
];
|
||||
if (!p.krx_open_today) chips.push(el("span", "badge badge-warn", "한국 휴장"));
|
||||
if (result.degraded) chips.push(el("span", "badge badge-warn", "요약 없음"));
|
||||
const v = result.verification;
|
||||
if (v) {
|
||||
const hasMajor = v.issues.some((i) => i.severity === "major");
|
||||
chips.push(
|
||||
v.issues.length === 0
|
||||
? el("span", "badge badge-ok", "검증 통과")
|
||||
: el("span", `badge ${hasMajor ? "badge-error" : "badge-warn"}`, `검증 이슈 ${v.issues.length}`),
|
||||
);
|
||||
}
|
||||
for (const gap of p.data_gaps) chips.push(el("span", "badge badge-warn", gap));
|
||||
if (result.error) chips.push(el("span", "badge badge-error", result.error));
|
||||
return chips;
|
||||
|
||||
Reference in New Issue
Block a user