refactor isReportIneligibleForMoveExpenses and getTrackExpenseInformation to use data from useOnyx part 1#92964
Conversation
…tion to use data from useOnyx part 1
|
@DylanDylann 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] |
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.
|
|
No new product considerations - removing my assignment and unsubscribing. |
1 similar comment
|
No new product considerations - removing my assignment and unsubscribing. |
|
@daledah Please fill the test step |
|
@DylanDylann i updated the logic and added the test case |
|
@DylanDylann i updated |
Reviewer Checklist
Screenshots/VideosScreen.Recording.2026-07-02.at.15.28.53.mov |
|
@pecanoro this PR is ready to merge now |
|
🚧 pecanoro has triggered a test Expensify/App build. You can view the workflow run here. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/pecanoro in version: 9.4.28-0 🚀
|
|
🤖 No help site changes required. I reviewed the changes in this PR against the help site content in WhyThis is a pure internal code refactor — part 1 of deprecating
There is no change to user-facing behavior, feature names, tab names, settings labels, buttons, or product copy. The track/submit expense flows work exactly as before — only how the app reads draft-report state under the hood changed. Nothing in Since no docs changes are required, I did not create a draft help site PR. |
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.4.28-2 🚀
Bundle Size Analysis (Sentry): |
Explanation of Change
Fixed Issues
$ #66414
PROPOSAL:
Tests
Offline tests
Same as tests
QA Steps
Same as tests
PR 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.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
Screen.Recording.2026-06-29.at.23.10.32.mov