# DashboardTransactionsTable

## 2026-08-12 — Add exclude-from-calculations toggle per row

**Prompted by:** Thinh (dev feedback) — the transaction list was missing the exclude action the app has

### What changed
- New optional `onToggleExclude(transaction)` prop. When provided, each row shows a small
  exclude/restore icon button beside the amount (Ban → "Exclude from calculations", RotateCcw →
  "Restore transaction"), wrapped in a hover Tooltip (desktop).
- New `DashboardTransaction.isExcluded` flag. Excluded rows are dimmed (opacity) and their amount
  is struck through.

### Why
- Mirrors the app's transaction list, where a user can exclude a transaction from income/expense
  calculations and restore it later. Omitting `onToggleExclude` keeps the previous read-only rows.

### Affected tokens / files
- `packages/shadcn/src/components/ui/dashboard-transactions-table.tsx`
