From 6e3a110e2925df3c08d9a3d04822fbeb9485ad3d Mon Sep 17 00:00:00 2001 From: Vinta Chen Date: Fri, 2 Oct 2026 12:08:29 +0800 Subject: [PATCH] fix: name page and sections in the no-changes feedback text On a verdict preview page with no flipped rows, Copy feedback produced only a generic acceptance line, so a pasted acceptance did not say which page or sections it covered. Co-Authored-By: Claude --- .claude/skills/preview-verdicts/template.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.claude/skills/preview-verdicts/template.html b/.claude/skills/preview-verdicts/template.html index 45f9d53a..980fbc7e 100644 --- a/.claude/skills/preview-verdicts/template.html +++ b/.claude/skills/preview-verdicts/template.html @@ -149,7 +149,7 @@ function updateCounts() { function copyFeedback() { const fb = collect(); - const text = fb.length ? JSON.stringify(fb, null, 1) : "(no changes — all verdicts accepted as-is)"; + const text = fb.length ? JSON.stringify(fb, null, 1) : `(no changes — all verdicts accepted as-is: ${document.title} — ${[...new Set(DATA.map(g => g[0]))].join(", ")})`; const hint = document.getElementById("hint"); navigator.clipboard.writeText(text).then( () => { hint.textContent = `Copied ${fb.length ? fb.length + " row(s)" : "acceptance note"} — paste into the chat.`; },