feat: reporter clickable rows, CAPA owner action buttons, triage segmented severity

This commit is contained in:
2026-07-12 16:42:49 +08:00
parent 180b0dc0a3
commit f6064b9580
11 changed files with 694 additions and 16 deletions
+2 -2
View File
@@ -84,7 +84,7 @@ export default async function ReporterPage() {
{rows.map(inc => {
const siteName = (inc.sites as unknown as { name: string } | null)?.name
return (
<div key={inc.id} className="p-4">
<Link key={inc.id} href={`/reporter/incidents/${inc.id}`} className="block p-4 cursor-pointer hover:bg-gray-50 transition-colors">
<div className="flex items-start justify-between gap-3">
<div className="flex-1 min-w-0">
<p className="text-sm font-semibold text-gray-900">
@@ -107,7 +107,7 @@ export default async function ReporterPage() {
{STATUS_LABELS[inc.status] ?? inc.status}
</span>
</div>
</div>
</Link>
)
})}
</div>