review card

This commit is contained in:
Ian Gulliver
2026-10-16 08:38:42 -07:00
parent c11871bd1c
commit 2624324b48
5 changed files with 3 additions and 10 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ function reviewResult(r, taskId) {
const res = (r.result ?? {});
const findings = findingsOf(r);
const md = { taskId };
return h("div", { class: "review-result" }, typeof res["change"] === "string" && res["change"] ? markdown(res["change"], "md review-change", md) : null, markdown(String(res["summary"] ?? ""), "md review-summary", md), reviewImages(res["images"]), findings.length > 0
return h("div", { class: "review-result" }, markdown(String(res["summary"] ?? ""), "md review-summary", md), reviewImages(res["images"]), findings.length > 0
? h("ol", { class: "findings" }, ...findings.map((f) => {
const severity = String(f["severity"] ?? "");
const path = typeof f["path"] === "string" ? f["path"] : "";
+1 -1
View File
File diff suppressed because one or more lines are too long