From 6e8cf569c0fa04495b37b673857b9b1d5c7a669b Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 24 Jun 2026 21:47:13 -0700 Subject: Paginate History: cap inline gifts at 3, transactions at 10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Outstanding gifts no longer dominate the History page — show at most 3 inline with a 'View all gifts (N)' button that opens a paginated gift-only list. Transactions paginate 10 per page with prev/next controls. Both reuse a shared pager helper; the all-gifts sub-view resets when leaving the History tab. Co-Authored-By: Claude Opus 4.8 (1M context) --- src/i18n.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/i18n.js') diff --git a/src/i18n.js b/src/i18n.js index 4ac9752..83c5ecb 100644 --- a/src/i18n.js +++ b/src/i18n.js @@ -203,6 +203,10 @@ const STR = { giftHistoryTitle: 'Gift link', giftUnclaimedTag: 'unclaimed', giftCancel: 'Cancel', + viewAllGifts: 'View all gifts ({n})', + prevPage: '‹ Prev', + nextPage: 'Next ›', + pageXofY: 'Page {x} of {y}', lockedInGifts: 'Locked in gifts', giftReserved: 'Unclaimed gift links ({n})', giftReclaim: 'Reclaim', -- cgit v1.2.3