Repository navigation
Conversation
Codecov Report❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.
|
|
@MelvinBot review |
|
@codex review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
🤖 Web test steps verification results: Testing on dev NewDot web was blocked by navigation and unavailable fixtures. No product regression was demonstrated, and no payment was attempted.
Code review: No blocking issues found at |
|
Codex Review: Didn't find any major issues. Delightful! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@thelullabyy Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
@codex review |
|
@MelvinBot deep review |
Deep reviewNo blocking regressions found at Traced the changed helpers through their callers, including:
Non-blocking follow-ups
ValidationRan five targeted suites covering policy utilities, report previews, alternate text, sidebar utilities, and search selectors: 3,014 tests passed. Jest emitted duplicate-mock warnings but no failures. This was a code-level review; browser verification was not rerun. No source changes made. |
|
Codex Review: Didn't find any major issues. Delightful! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
# Conflicts: # src/selectors/BankAccount.ts
JmillsExpensify
left a comment
There was a problem hiding this comment.
No product review required

Explanation of Change
Part 25 of the
import/no-cyclecleanup.PolicyUtils/members.tsandReportUtils.tsno longer import theBankAccountsaction, which cuts 5 findings insrc(25 to 20, measured with oxlint with theeslint-disablecomments stripped).getEligibleBankAccountShareRecipientEmailsandhasEligibleBankAccountShareRecipienttake the bank account itself instead of its ID.ShareBankAccountreads it with a newbankAccountByIDSelector(src/selectors/BankAccount.ts), andWalletPagelooks it up in the list it already had. Three Wallet pages that had the same inline selector now use the shared one.getReportPreviewMessagereads the account a settled invoice was paid with from itsbankAccountListparam, which is now required.OptionsListUtils,useSearchSelectorand the Search autocomplete pass the list in.getBankAccountFromIDhad no callers left, so it is removed.Side effect: Search autocomplete and the task share picker now receive
bankAccountList, so they use the same fallback as the LHN and report actions: when a business bank account payment's action has noaccountNumber(e.g. an older payment), the last 4 digits are looked up inbankAccountListinstead of showing blank. New payments made in the app recordaccountNumberon the optimistic action, so they show the digits either way.Fixed Issues
$ #99650
PROPOSAL:
Tests
shareeslist is always empty, so the admin stays in the list and a second share fails with an error. This is a known test-account limitation, see Wallet - Error shows up when owner shares bank account with admin for the second time #78365 (comment).The invoice last-4 lookup is covered by the
ReportUtilsTestunit testnames the invoice payment account from the passed bankAccountList.Offline tests
No offline-specific behavior changes
QA Steps
Same as tests.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, I verified the components usingAvatarare working as expected)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.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
android.mov
Android: mWeb Chrome
iOS: Native
ios.1-3.mov
ios.4-5.mov
iOS: mWeb Safari
MacOS: Chrome / Safari
web.1-3.mov
web.4-5.mov