whisper-money/resources
Víctor Falcón 8e3871370a
fix(transactions): pad Category column when Date column is hidden (#585)
## Problem

On `/transactions`, hiding the Date column left the Category column
flush against the table edge (`pl-0`), despite #582/#583 trying to fix
exactly this.

## Root cause

The padding fix (commit `0424c737`) drove the Category left padding from
`isDateHidden`, but only wired it into `transaction-list.tsx` (used by
Accounts and budgets). The `/transactions` page builds its **own** table
and called `createTransactionColumns` without `isDateHidden`, so it
always defaulted to `false` → `pl-0`.

## Fix

Pass `isDateHidden: columnVisibility.transaction_date === false` (and
add `columnVisibility` to the `useMemo` deps) on the `/transactions`
page, mirroring `transaction-list.tsx`.

## Tests

`transaction-columns.test.tsx` already covers the `pl-0`/`pl-2` branch
driven by `isDateHidden`; the bug was missing wiring, not logic.
Verified manually on `/transactions` with the Date column hidden.
2026-06-22 17:21:15 +00:00
..
css fix(ui): make input borders visible in dark mode (#571) 2026-06-20 17:30:19 +00:00
js fix(transactions): pad Category column when Date column is hidden (#585) 2026-06-22 17:21:15 +00:00
views feat(drip): email users stuck on the paywall a day after onboarding (#562) 2026-06-19 14:11:12 +00:00