--- id: TASK-4 title: Add selection total to transactions status: In Progress assignee: [] created_date: '2026-06-15 19:21' updated_date: '2026-06-15 19:24' labels: [] dependencies: [] priority: high ordinal: 4000 --- ## Description Add table selection controls on the transactions page so visible/filtered rows can be selected in bulk and the sum of selected transaction amounts is shown. ## Acceptance Criteria - [x] #1 A select-all control can select and clear all currently visible filtered transactions - [x] #2 Individual row selection continues to work alongside the select-all control - [x] #3 The UI displays the count and formatted euro total of selected transactions - [x] #4 Automated tests cover bulk selection and selected-total behavior ## Implementation Plan 1. Inspect current transaction table selection behavior 2. Add failing coverage for select-all and selected sum 3. Implement visible-row bulk selection and selected total UI 4. Run focused tests/build and update acceptance criteria ## Implementation Notes Added failing Vitest coverage for visible bulk selection and selected totals, then implemented transactionsSelection helpers and wired TransactionsPage header checkbox plus selected count/sum. Focused test and build pass. Global lint currently fails on pre-existing unrelated lint errors in Convex/generated/UI files.