From 68898b3f96c38deb3d6f8955c39cbf4bc80a1147 Mon Sep 17 00:00:00 2001 From: ai-bot Date: Sat, 3 Oct 2026 18:49:40 +0000 Subject: [PATCH] Remove the BIP327/SLIP39 history card (section 24.2) --- static/history.js | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/static/history.js b/static/history.js index f02ead2..1f3d95d 100644 --- a/static/history.js +++ b/static/history.js @@ -127,29 +127,6 @@ function keyEntries(keyCheck) { return entries; } -function toolCheckTable(toolChecks) { - if (!toolChecks.length) { - // A key that was not available records no standards at all (section 22). - return emptyNote("No BIP327 or SLIP39 results were recorded for this check."); - } - const headers = ["Product", "BIP327", "SLIP39"]; - // Older records stored a version, a date, and notes for each product. - const hasLegacyColumns = toolChecks.some( - (entry) => entry.version || entry.checked_at || entry.notes, - ); - if (hasLegacyColumns) { - headers.push("Version", "Date checked", "Notes"); - } - const rows = toolChecks.map((entry) => { - const row = [entry.product, entry.bip327_status, entry.slip39_status]; - if (hasLegacyColumns) { - row.push(entry.version, entry.checked_at, entry.notes); - } - return row; - }); - return dataTable(headers, rows); -} - function securityTable(securityChecks) { if (!securityChecks.length) { return emptyNote("No security statuses were recorded for this check."); @@ -173,8 +150,6 @@ function renderDetail(record) { )); } - fragment.append(card("BIP327 and SLIP39", toolCheckTable(record.tool_checks || []))); - fragment.append(card("Security status", securityTable(record.ai_security_checks || []))); detailBody.replaceChildren(fragment);