Skip to content

Transactions fetching for many wallets, resolves BAB-287 - #2080

Merged
babkenmes merged 3 commits into
devfrom
BAB-287
Jul 23, 2026
Merged

Transactions fetching for many wallets, resolves BAB-287#2080
babkenmes merged 3 commits into
devfrom
BAB-287

Conversation

@yasha-meursault

Copy link
Copy Markdown
Contributor

feat: cap swap history filtering at 6 wallet addresses

Limit the swap history wallet filter to MAX_HISTORY_ADDRESSES (6) with a default selection of the first 6 connected addresses. Add UI affordances: disabled checkbox rows once the limit is reached, a "Select up to N" hint, and a banner when more than 6 addresses are connected.

Extract address-list building into lib/historyWalletAddresses.ts, track custom vs default selection in useHistoryFilters (walletSelectionCustomized), and filter localStorage swaps by the selected addresses in useSwapHistoryData.

Limit the swap history wallet filter to MAX_HISTORY_ADDRESSES (6) with a
default selection of the first 6 connected addresses. Add UI affordances:
disabled checkbox rows once the limit is reached, a "Select up to N" hint,
and a banner when more than 6 addresses are connected.

Extract address-list building into lib/historyWalletAddresses.ts, track
custom vs default selection in useHistoryFilters (walletSelectionCustomized),
and filter localStorage swaps by the selected addresses in useSwapHistoryData.

Co-authored-by: Codex <noreply@openai.com>
@vercel

vercel Bot commented Jul 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
layerswapapp Ready Ready Preview Jul 23, 2026 10:55am

Request Review

@github-actions

Copy link
Copy Markdown
Contributor

🚀 Storybook preview: https://layerswap.github.io/layerswapapp/pr-preview/pr-2080/

@babkenmes
babkenmes merged commit 7618bf4 into dev Jul 23, 2026
2 checks passed
@babkenmes
babkenmes deleted the BAB-287 branch July 23, 2026 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants