Add bank account filter to Search#90791
Conversation
…arch-filter # Conflicts: # config/eslint/eslint.seatbelt.tsv # src/components/Search/SearchPageHeader/useSearchPageInput.tsx
|
@allgandalf conflicts |
|
@Eskalifer1 back to you |
|
Hi @JS00001! I have checked, and already approved it! |
|
@allgandalf is this one ready to merge then? |
|
yessss! |
|
nice, reviewing! |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚧 JS00001 has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/JS00001 in version: 9.4.25-0 🚀
|
|
Deploy Blocker #94967 was identified to be related to this PR. |
|
@allgandalf @heyjennahay We don't see an option to add 2nd withdrawal account on a workspace. How should we add that
|
Please add it on another workspace |
|
Deploy Blocker #95053 was identified to be related to this PR. |
|
🚀 Deployed to production by https://github.com/cristipaval in version: 9.4.25-2 🚀
Bundle Size Analysis (Sentry): |

Explanation of Change
Adds a new
bankAccountfilter on the expense Search advanced filters page so users with multiple settlement bank accounts can scope results to a single bank. Picker source is the user'sbankAccountList, multi-select, displayed as${bankName} xx${last4}to match the existing "Bank account" column on withdrawalID grouping. Filter row is gated to expense type and only renders when the user has at least one bank account. Backend half lands in Expensify/Auth#21649.Fixed Issues
$ #88385
PROPOSAL: #88385 (comment)
Tests
Preconditions (one-time setup):
./script/clitools.sh generator:bankaccount(choose Withdrawal, validated, upgraded). Run twiceSeed data:
./script/clitools.sh generator:report(answer Y to submit and approve)./script/clitools.sh generator:reportFilter checks:
${bankName} xx${last4}with the bank iconbankAccount:<id>(or<id1>,<id2>) and reloading the page rehydrates the selectionbank-account:in the autocomplete bar and confirm the user-friendly suggestions for each bank account appear, alphabetically sortedOffline tests
The filter UI reads from Onyx
bankAccountListso the picker, chip rendering, and autocomplete substitution all work offline once the data has been cached. Saving the filter queues a Search request that will be sent on reconnect. Steps:bankAccountfilterQA Steps
Preconditions:
Steps:
${bankName} xx${last4}with the bank iconbank-account:in the autocomplete bar and confirm the user-friendly suggestions appear, alphabetically sortedPR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screen.Recording.2026-05-23.at.3.31.33.PM.mov