I-028 — OCBC tx table page-size dropdown malfunctions¶
Symptom¶
On Bank Access > OCBC, the transaction table's "N / page" size-changer dropdown appears to do nothing — picking 20/50/100 doesn't change how many transactions show per page (it reverts to 10). Surfaced while using the now-continuous ledger (T-149), where more rows load and the owner wanted a bigger page size.
Root cause¶
The Ant Design <Table> pagination prop hardcoded pageSize: 10. In antd,
pagination.pageSize is a controlled value: the size-changer fires, but the very
next render re-applies pageSize: 10, snapping the page size back. There was no
pageSize state / onShowSizeChange handler to hold the user's choice.
Fix¶
Changed pageSize: 10 → defaultPageSize: 10 (uncontrolled initial value) so antd
manages the page size internally and the size-changer actually updates rows-per-page.
One-line change; no other pagination state was involved.
Verification¶
tsc --noEmit + next build type-check clean. Behavioural check is owner-gated (no
OCBC session in the sandbox): on Bank Access > OCBC, pick 20/50/100 and confirm the
table shows that many rows per page.
Decision log¶
2026-07-02 — ✅ Read AGENTS.md. Small UI fix on the Bank Access OCBC page; ticket-only (no structural task needed). Found while the owner exercised T-149. Source: Bank Access (Diagnosticcs) · https://claude.ai/code/session_01S4ztAsDZfR97qXjhPdwLn4