Conversation
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
@dukenv0307 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] |
| }); | ||
| } | ||
| }; | ||
| }, [addNewCard?.data.selectedCountry, currentCountry, doesCountrySupportPlaid]); |
There was a problem hiding this comment.
❌ PERF-6 (docs)
The dependency doesCountrySupportPlaid is a derived value computed from currentCountry (line 55: isPlaidSupportedCountry(currentCountry)). Since currentCountry is already in the dependency array, including the derived value is redundant and causes unnecessary re-creation of the callback when the derived value changes but the source hasn't.
Suggested fix:
}, [addNewCard?.data.selectedCountry, currentCountry]);The doesCountrySupportPlaid value will automatically be up-to-date inside the callback because it's recalculated on each render based on the current value of currentCountry.
There was a problem hiding this comment.
I would leave it as it is cause it doesn't make any change and removing it will cause eslint errors
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppScreen.Recording.2025-11-26.at.10.10.25.movAndroid: mWeb ChromeScreen.Recording.2025-11-26.at.10.02.22.moviOS: HybridAppScreen.Recording.2025-11-26.at.10.10.10.moviOS: mWeb SafariScreen.Recording.2025-11-26.at.10.01.26.movMacOS: Chrome / SafariScreen.Recording.2025-11-26.at.10.00.52.mov |
|
🚀 Deployed to staging by https://github.com/grgia in version: 9.2.65-0 🚀
|
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.2.65-6 🚀
|
Explanation of Change
Fixed Issues
$ #72972
PROPOSAL:
Tests
WorkspacesCompany cardsenabledAdd cardsOffline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand 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.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
Screen.Recording.2025-11-25.at.13.26.31.mov
iOS: mWeb Safari
MacOS: Chrome / Safari
Screen.Recording.2025-11-25.at.13.23.29.mov
MacOS: Desktop