From fc68097821e3b05fea307fe0bade050cfe1a9c39 Mon Sep 17 00:00:00 2001 From: jramos Date: Thu, 9 Apr 2026 10:01:18 -0600 Subject: [PATCH] =?UTF-8?q?fix:=20remove=20dual-mode=20checkbox=20?= =?UTF-8?q?=E2=80=94=20clicks=20always=20toggle=20selection,=20no=20more?= =?UTF-8?q?=20popover=20on=20first=20click?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/pages/ReportingPage.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/frontend/src/components/pages/ReportingPage.js b/frontend/src/components/pages/ReportingPage.js index 2ce14c8..562e883 100644 --- a/frontend/src/components/pages/ReportingPage.js +++ b/frontend/src/components/pages/ReportingPage.js @@ -3107,13 +3107,6 @@ export default function VulnerabilityTriagePage({ filterDate, filterEXC }) { style={{ padding: '0.45rem 0.5rem', textAlign: 'center', width: '36px' }} onClick={(e) => { if (queued) return; - // If nothing selected and not shift-click, open single-add popover - if (selectedIds.size === 0 && !e.shiftKey) { - const rect = e.currentTarget.getBoundingClientRect(); - setAddPopover({ finding, anchorRect: rect }); - setQueueForm({ vendor: '', workflowType: 'FP' }); - return; - } // Shift-click range select if (e.shiftKey && lastClickedId) { const lastIdx = sorted.findIndex((f) => f.id === lastClickedId); @@ -3130,7 +3123,7 @@ export default function VulnerabilityTriagePage({ filterDate, filterEXC }) { }); } } else { - // Toggle selection + // Regular click — toggle selection setSelectedIds((prev) => { const next = new Set(prev); if (next.has(finding.id)) next.delete(finding.id); else next.add(finding.id);