From 3a33119bea1617789b267c04ce772825e425e973 Mon Sep 17 00:00:00 2001 From: peter Date: Wed, 21 Jan 2026 01:51:15 +0100 Subject: [PATCH] Add bulk deletion with checkboxes to Dashboard - Add checkbox column with Select All in header - Show selection count badge and Delete Selected button - Enhanced confirmation modal for bulk operations - Row highlighting for selected items - Fixed button spacing (gap between View and Delete) - Scrollable list in modal for many selected items Co-Authored-By: Claude Opus 4.5 --- .../Components/Pages/Dashboard.razor | 212 ++++++++++++++++-- 1 file changed, 195 insertions(+), 17 deletions(-) diff --git a/src/TrueCV.Web/Components/Pages/Dashboard.razor b/src/TrueCV.Web/Components/Pages/Dashboard.razor index f493f6e..3fb4127 100644 --- a/src/TrueCV.Web/Components/Pages/Dashboard.razor +++ b/src/TrueCV.Web/Components/Pages/Dashboard.razor @@ -153,15 +153,38 @@
-
Recent CV Checks
- @_checks.Count total +
+
Recent CV Checks
+ @if (_selectedIds.Count > 0) + { + @_selectedIds.Count selected + } +
+
+ @if (_selectedIds.Count > 0) + { + + } + @_checks.Count total +
- + + @@ -171,9 +194,14 @@ @foreach (var check in _checks) { - - +
Candidate + + Candidate Uploaded Status Score
+ + +
@@ -245,7 +273,7 @@ }
-
+
@if (check.Status == "Completed") { @@ -264,7 +292,7 @@ Retry } -
+ +@if (_showDeleteModal) +{ + +} +