Remove Onyx.connect() for the key: ONYXKEYS.COLLECTION.POLICY_TAGS from handleMoneyRequestStepScanParticipants function#83906
Conversation
…-fork into Guccio163/onyx-connect/policy_tags/handleMoneyRequestStepScanParticipants
…-fork into Guccio163/onyx-connect/policy_tags/handleMoneyRequestStepScanParticipants
|
@shubham1206agra 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] |
src/pages/iou/request/step/IOURequestStepScan/useReceiptScan.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a334f24d79
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
Pulling it back to draft since it's a follow up after this one, this one will wait until previous one is merged |
|
No product review needed |
…github.com:software-mansion-labs/expensify-app-fork into Guccio163/onyx-connect/policy_tags/handleMoneyRequestStepScanParticipants
…equestStepScanParticipants
…github.com:software-mansion-labs/expensify-app-fork into Guccio163/onyx-connect/policy_tags/handleMoneyRequestStepScanParticipants
…github.com:software-mansion-labs/expensify-app-fork into Guccio163/onyx-connect/policy_tags/handleMoneyRequestStepScanParticipants
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.
|
…github.com:software-mansion-labs/expensify-app-fork into Guccio163/onyx-connect/policy_tags/handleMoneyRequestStepScanParticipants
…github.com:software-mansion-labs/expensify-app-fork into Guccio163/onyx-connect/policy_tags/handleMoneyRequestStepScanParticipants
|
@shubham1206agra |
…-fork into Guccio163/onyx-connect/policy_tags/handleMoneyRequestStepScanParticipants
…-fork into Guccio163/onyx-connect/policy_tags/handleMoneyRequestStepScanParticipants
|
@shubham1206agra kindly bump for a check 👀 |
…-fork into Guccio163/onyx-connect/policy_tags/handleMoneyRequestStepScanParticipants
…-fork into Guccio163/onyx-connect/policy_tags/handleMoneyRequestStepScanParticipants
|
All yours @shubham1206agra |
Reviewer Checklist
Screenshots/VideosScreen.Recording.2026-03-14.at.1.06.34.PM.mov |
…-fork into Guccio163/onyx-connect/policy_tags/handleMoneyRequestStepScanParticipants
|
@tgolen it looks like we're ready to merge 🏁 |
|
🚧 @tgolen 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! 🧪🧪
|
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/tgolen in version: 9.3.39-0 🚀
|
|
🚀 Deployed to production by https://github.com/cristipaval in version: 9.3.39-3 🚀
|
Explanation of Change
This PR is part of a refactor to remove Onyx.connect for the keys: ONYXKEYS.COLLECTION.POLICY_TAGS from the src/libs/actions/IOU/Split.ts file and replace it with useOnyx.
It isolates the
handleMoneyRequestStepScanParticipantsfunction from the ONYXKEYS.COLLECTION.POLICY_TAGS Onyx.connect key .Fixed Issues
$ #80401
PROPOSAL:
Tests
Case 1
Case 2
Offline 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
MacOS: Chrome / Safari
handleMoneyRequestStepScanParticipants_1.mov
handleMoneyRequestStepScanParticipants_2.mov