Remove Onyx.connect() key ONYXKEYS.COLLECTION.REPORT_ACTIONS in src/libs/OptionsListUtils.ts - part 4#92308
Conversation
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
@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] |
|
No new product considerations - removing my assignment and unsubscribing. |
Reviewer Checklist
Screenshots/Videos
|
|
@grgia kindly bump |
| translate?: LocalizedTranslate; | ||
| // TODO: conciergeReportID will be required eventually. Refactor issue: https://github.com/Expensify/App/issues/66411 | ||
| conciergeReportID?: string; | ||
| // TODO: Remove optional (?) once all callers pass sortedActions. Refactor issue: https://github.com/Expensify/App/issues/66381 |
There was a problem hiding this comment.
NAB given I see there's another above, but it's best not to add TODOs in code
|
🚧 @grgia 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! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/grgia in version: 9.4.2-0 🚀
Bundle Size Analysis (Sentry): |
|
🤖 No help site changes required. This PR is an internal code refactor — part 4 of migrating There are no user-facing changes: no new features, no UI/label/setting changes, and no behavior changes (the same last-message text is computed, just sourced differently). Nothing in @truph01, since no help site changes were required, there's no linked docs PR to review. Let me know if you believe a specific article needs updating. |
|
🚀 Deployed to staging by https://github.com/grgia in version: 9.4.4-1 🚀
Bundle Size Analysis (Sentry): |
Help site review — no changes requiredI reviewed the changes in this PR against Expensify's help site files under Conclusion: No help site updates are required. Why: This PR is a pure internal code refactor — the 4th part of migrating
Help site articles document customer-facing product behavior, and nothing observable to end users changes here, so there's nothing to add or update. @truph01, since there's no linked help site PR, there's nothing further to review on the docs side. Let me know if you believe a user-facing behavior did change and I'll take another look. |
|
🚀 Deployed to production by https://github.com/Julesssss in version: 9.4.4-3 🚀
|

Explanation of Change
This is the 4th PR in the migration of
Onyx.connect()forONYXKEYS.COLLECTION.REPORT_ACTIONSinOptionsListUtils. It refactors:Fixed Issues
$ #66381
PROPOSAL:
Tests
Offline tests
QA Steps
// TODO: These must be filled out, or the issue title must include ""[No QA].""
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