From 32e40f134f3f3bdd762d5d85dd4f2e90d4f55f22 Mon Sep 17 00:00:00 2001 From: rcourtman Date: Wed, 25 Mar 2026 16:55:12 +0000 Subject: [PATCH] Remove duplicate Patrol findings card header Remove the redundant Patrol findings card header so the selected tab remains the sole owner of findings-surface framing and count context. --- .../src/components/AI/FindingsPanel.tsx | 27 ------------------- .../AI/__tests__/FindingsPanel.test.ts | 4 ++- 2 files changed, 3 insertions(+), 28 deletions(-) diff --git a/frontend-modern/src/components/AI/FindingsPanel.tsx b/frontend-modern/src/components/AI/FindingsPanel.tsx index 24fbaaa1b..0a7b2fe15 100644 --- a/frontend-modern/src/components/AI/FindingsPanel.tsx +++ b/frontend-modern/src/components/AI/FindingsPanel.tsx @@ -1074,35 +1074,8 @@ export const FindingsPanel: Component = (props) => { - {/* Patrol findings section */} - {/* Header */} -
-
-
- - - - Patrol findings - 0}> - - {patrolFindings().length} - - -
-
-
{/* Content */}
diff --git a/frontend-modern/src/components/AI/__tests__/FindingsPanel.test.ts b/frontend-modern/src/components/AI/__tests__/FindingsPanel.test.ts index 32eece73e..5fd5c49c4 100644 --- a/frontend-modern/src/components/AI/__tests__/FindingsPanel.test.ts +++ b/frontend-modern/src/components/AI/__tests__/FindingsPanel.test.ts @@ -167,7 +167,9 @@ describe('aiFindingPresentation', () => { }); it('keeps the findings card header functional instead of repeating product marketing copy', () => { - expect(findingsPanelSource).toContain('Patrol findings'); + expect(findingsPanelSource).not.toContain( + 'Patrol findings', + ); expect(findingsPanelSource).not.toContain('Pulse Patrol Findings'); expect(findingsPanelSource).not.toContain('AI-discovered insights'); });