From d26853bf44abbc66ee46ded930cca2d90fa3d41b Mon Sep 17 00:00:00 2001 From: juansebsol Date: Sat, 17 Oct 2026 23:09:05 -0700 Subject: [PATCH] Knowledge: each card says when its TRIAGE.md was last updated, with the date, instead of when it's checked --- src/web/public/app.css | 6 +++--- src/web/public/app.js | 9 +++------ src/web/routes/triage-knowledge.ts | 12 ++---------- src/web/ui.ts | 2 +- test/knowledge.test.ts | 9 +++++---- 5 files changed, 14 insertions(+), 24 deletions(-) diff --git a/src/web/public/app.css b/src/web/public/app.css index 9c2ebd4..52c5bf5 100644 --- a/src/web/public/app.css +++ b/src/web/public/app.css @@ -1348,9 +1348,9 @@ a.feed-row:focus-visible { outline-offset: -2px; } .kn-file.is-failed > .ic { color: var(--warn); } .kn-card-lines { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; } .kn-card-lines > * { max-width: 100%; } -.kn-changes, .kn-check { display: inline-flex; align-items: flex-start; gap: 6px; min-width: 0; font-size: 12px; line-height: 16px; color: var(--muted); font-variant-numeric: tabular-nums; } -.kn-changes > .ic, .kn-check > .ic { flex: none; margin-top: 1px; } -.kn-changes > span, .kn-check > span { min-width: 0; } +.kn-changes { display: inline-flex; align-items: flex-start; gap: 6px; min-width: 0; font-size: 12px; line-height: 16px; color: var(--muted); font-variant-numeric: tabular-nums; } +.kn-changes > .ic { flex: none; margin-top: 1px; } +.kn-changes > span { min-width: 0; } .kn-changes.has { color: var(--text); } .kn-changes.has > .ic { color: var(--accent-text); } .kn-card-text { flex: 1; font-size: 13px; line-height: 20px; color: var(--muted); } diff --git a/src/web/public/app.js b/src/web/public/app.js index ec88248..17f90fb 100644 --- a/src/web/public/app.js +++ b/src/web/public/app.js @@ -16,16 +16,13 @@ // ---- Local times ---------------------------------------------------------------------------- - //