Repository navigation
[Payment due @thelullabyy] Use useSortedReportActionsData instead of useSortedActions - #100947
Conversation
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
@codex review |
|
@AndrewGable 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: Didn't find any major issues. Breezy! Reviewed commit: ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
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". |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / SafariScreen.Recording.2026-09-15.at.18.47.18.mov |
|
🎯 @thelullabyy, thanks for reviewing and testing this PR! 🎉 A payment issue will be created for your review once this PR is deployed to production. If payment is not needed (e.g., regression PR review fix etc), react with 👎 to this comment to prevent the payment issue from being created. |
|
🚧 mountiny 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/mountiny in version: 9.4.80-0 🚀
|
|
🤖 No help site changes are required. I did not create a draft docs PR. This PR is a pure internal refactor: it renames the What I checkedEvery changed file is source or test code — none are under
Help site scan: I grepped Help site articles would only need an update if this PR changed what someone sees or does in the product — for example a new filter, a renamed tab, or different search results. This PR changes none of those. @sosek108, please review the linked help site PR and confirm it reflects the current behavior. Then mark the linked help site PR Note: there is no linked help site PR to review, because this refactor requires no documentation changes. If you believe a user-facing behavior did change here that I missed, reply with the specific flow and I'll draft the docs update. |
|
🚀 Deployed to production by https://github.com/luacmartins in version: 9.4.80-0 🚀
Bundle Size Analysis (Sentry): |
|
🤖 Payment issue created: #101368 |
Explanation of Change
Prep PR 4/4 decomposing #99062 ("Route Search previews through the shared LHN alternate text pipeline").
Replaces the narrow
useSortedActionshook (which only returnedsortedActions) withuseSortedReportActionsData, which returns the wholeRAM_ONLY_SORTED_REPORT_ACTIONSderived value. Every consumer keeps behaving identically by destructuringsortedActionsoff the returned object; no other behavior changes.$ #98958
PROPOSAL:
Tests
main(no visible change is expected).Offline tests
N/A — no data-fetching or network-dependent behavior is touched by this rename.
QA Steps
Same as tests.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, 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.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
Nagranie.z.ekranu.2026-09-11.o.14.45.55.mov