fix: label the findings list in review coverage

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Yashas 2026-09-17 15:54:31 +05:30
parent 811a0ca283
commit 250c56b14d

View File

@ -170,7 +170,9 @@ function WorkStatement({ text, heading = 'Review coverage', bare = false }: { te
)} )}
{found && found.items.length > 0 && ( {found && found.items.length > 0 && (
<ul className="mt-3 space-y-1.5"> <>
<p className="mt-3 text-[11px] font-semibold tracking-wide text-faint uppercase">{found.label}</p>
<ul className="mt-1.5 space-y-1.5">
{found.items.map((it, i) => ( {found.items.map((it, i) => (
<li key={i} className="flex gap-2 text-[13px] leading-relaxed text-ink"> <li key={i} className="flex gap-2 text-[13px] leading-relaxed text-ink">
<span aria-hidden="true" className="mt-[7px] h-1.5 w-1.5 shrink-0 rounded-full bg-warn" /> <span aria-hidden="true" className="mt-[7px] h-1.5 w-1.5 shrink-0 rounded-full bg-warn" />
@ -178,6 +180,7 @@ function WorkStatement({ text, heading = 'Review coverage', bare = false }: { te
</li> </li>
))} ))}
</ul> </ul>
</>
)} )}
{rest.map((r) => ( {rest.map((r) => (