chore (eslint-config-expensify): enforce to use .find or .findLast instead of .filter#73284
chore (eslint-config-expensify): enforce to use .find or .findLast instead of .filter#73284roryabraham merged 11 commits intoExpensify:mainfrom
Conversation
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
|
|
@sobitneupane 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] |
|
LGTM 👍 Thank you for your hard work! |
|
Some ESLint checks are failing due to other unicorn rule |
src/libs/Navigation/AppNavigator/createSplitNavigator/SplitRouter.ts
Outdated
Show resolved
Hide resolved
|
PR doesn’t have any new product considerations. Unassigning and unsubscribing myself. |
Co-authored-by: Rory Abraham <47436092+roryabraham@users.noreply.github.com>
Co-authored-by: Rory Abraham <47436092+roryabraham@users.noreply.github.com>
|
Done ☑️ cc: @roryabraham |
|
Since:
I think we are good to merge this. |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
|
@roryabraham looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
@NJ-2020 what are the steps for the QA team to test? |
|
🚀 Deployed to staging by https://github.com/roryabraham in version: 9.2.55-3 🚀
|
|
🚀 Deployed to staging by https://github.com/roryabraham in version: 9.2.57-0 🚀
|
|
🚀 Deployed to production by https://github.com/cristipaval in version: 9.2.57-4 🚀
|
Explanation of Change
.findwhen matching 1 specific item (first item the on list) i.e.at(0)/.[0], or.findLastwhen matching the last item of the lists instead of .filterFixed Issues
$ #67423
PROPOSAL: #67423 (comment)
Tests
Offline tests
Same as Tests
QA Steps
Same as Tests
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
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop