refactor openReport to have 1 param#83790
Conversation
|
@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✅ Changes either increased or maintained existing code coverage, great job!
|
|
@DylanDylann bump |
|
I will complete all reviews in this week |
| * @param reportID The ID of the report to open | ||
| * @param reportActionID The ID used to fetch a specific range of report actions related to the current reportActionID when opening a chat. | ||
| * @param participantLoginList The list of users that are included in a new chat, not including the user creating it | ||
| * @param newReportObject The optimistic report object created when making a new chat, saved as optimistic data | ||
| * @param parentReportActionID The parent report action that a thread was created from (only passed for new threads) | ||
| * @param isFromDeepLink Whether or not this report is being opened from a deep link | ||
| * @param participantAccountIDList The list of accountIDs that are included in a new chat, not including the user creating it | ||
| * @param isNewThread Whether this is a new thread being created | ||
| * @param transaction The transaction object for legacy transactions that don't have a transaction thread or money request preview yet | ||
| * @param transactionViolations The violations for the transaction, if any | ||
| * @param parentReportID The parent report ID for the transaction thread (optional, defaults to transaction.reportID) | ||
| * @param optimisticSelfDMReport The optimistic selfDM report when it exists on the server but was filtered out from OpenApp response (e.g., no actions yet) |
There was a problem hiding this comment.
I think we should keep these comments
|
@dukenv0307 Could you merge the new main? |
Reviewer Checklist
Screenshots/VideosScreen.Recording.2026-03-05.at.17.43.24.mov |
|
@DylanDylann it's ready for review |
|
This is a code refactor so doesn't need product involvement. |
|
🚧 @mjasikowski 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. |
Explanation of Change
Fixed Issues
$ #66424
PROPOSAL:
Tests
Offline tests
QA Steps
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