From 5e7565245d50f57a15e6d08ebe823dffef886e81 Mon Sep 17 00:00:00 2001 From: LongYinan Date: Tue, 1 Dec 2026 13:46:38 +0800 Subject: [PATCH] fix(admin): show project names on the security page as links The Findings, Scans, top spenders, public requests and bypasses tables already linked each project to its detail page, but the plain anchors looked like text. Give them the resource-link style the other admin tables use. Co-Authored-By: Claude Opus 5.5 --- .../src/admin/react/views/SecurityPage.tsx | 33 ++++++++++++++++--- 1 file changed, 28 insertions(+), 5 deletions(-) diff --git a/platform/packages/api/src/admin/react/views/SecurityPage.tsx b/platform/packages/api/src/admin/react/views/SecurityPage.tsx index bbda79ea5..bfd25f1ce 100644 --- a/platform/packages/api/src/admin/react/views/SecurityPage.tsx +++ b/platform/packages/api/src/admin/react/views/SecurityPage.tsx @@ -425,7 +425,12 @@ function FindingsSection({ {finding.id} - {finding.project} + + {finding.project} + {scans.topSpenders.map((spender) => (
  • - {spender.slug} + + {spender.slug} + {': '} {usd(spender.spentUsd)} ({spender.scans} scans)
  • @@ -559,7 +569,12 @@ function ScansSection({ {scan.trigger === 'gate' ? ' gate' : ''}
    - {scan.project} + + {scan.project} + {scan.coverageLabel ?? scan.tier ?? '-'} {scan.model ?? '-'} @@ -642,7 +657,10 @@ function RequestsSection({ {requests.requests.map((request) => ( - + {request.project} @@ -691,7 +709,12 @@ function RequestsSection({ {requests.bypasses.map((bypass) => ( - {bypass.project} + + {bypass.project} + {bypass.unseen ? ' ' : ''} {bypass.unseen && }