Stop creating the transaction thread reports optimistically for RequestMoney#62080
Conversation
…ating-optimistic-transaction-3
…ating-optimistic-transaction-3 # Conflicts: # src/components/MoneyReportHeader.tsx # src/pages/home/ReportScreen.tsx
…ating-optimistic-transaction-3 # Conflicts: # src/pages/Search/SearchMoneyRequestReportPage.tsx
…ating-optimistic-transaction-3 # Conflicts: # src/libs/API/parameters/RequestMoneyParams.ts # src/libs/actions/IOU.ts
|
@hungvu193 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] |
|
@hungvu193 I have some problems running the iOS platform after merging the latest main, could you please check it on your end? 🙏 |
I also can't build IOS |
|
@VickyStash Can you resolve the conflict in the mean time? |
…ating-optimistic-transaction-3 # Conflicts: # src/components/MoneyReportHeader.tsx # src/components/MoneyRequestReportView/MoneyRequestReportTransactionList.tsx # src/components/Search/index.tsx # src/libs/API/parameters/RequestMoneyParams.ts # src/libs/actions/IOU.ts # src/pages/home/ReportScreen.tsx
|
@hungvu193 Done! |
|
Thanks. I'm on it |
|
@VickyStash Is that correct when we don't show the Screen.Recording.2025-05-28.at.13.25.14.mov |
|
@hungvu193 I think you are encountering this bug #52401 which is not caused by these changes. |
|
I've just tried merging the latest main to resolve conflicts, but it seems that the main has several issues in the expense flow, which can prevent correct 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/iwiznia in version: 9.1.59-0 🚀
|
|
🚀 Deployed to production by https://github.com/roryabraham in version: 9.1.59-7 🚀
|
|
🚀 Deployed to staging by https://github.com/iwiznia in version: 9.1.60-1 🚀
|
|
🚀 Deployed to production by https://github.com/roryabraham in version: 9.1.61-0 🚀
|
|
🚀 Deployed to staging by https://github.com/iwiznia in version: 9.1.62-0 🚀
|
|
🚀 Deployed to production by https://github.com/Julesssss in version: 9.1.62-0 🚀
|
Explanation of Change
Re-apply changes of reverted PR: #60292 and fixes reported issues:
Fixed Issues
$ #58828
PROPOSAL: N/A
Tests
2.1 In the chat tap FAB -> Create expense. Go through the steps and create a manual expense. It will be the first expense in this 1-1 chat.
2.2 Check that the RequestMoney API call didn't create a transaction thread report.
2.3 Tap on the expense -> the transaction thread report should be created and opened.
1. Expense - "Review duplicates" button is unresponsive on expenses report.
#61973
2. Expense - Not here page opens after clicking Edit expense from the expense preview
#62012
3. Reports - Individual expense row opens expense report instead of transaction thread
#62014
4. Expense - Expense report does not show transaction details and it only shows the total
#61965
Pre-condition: turn on
tableReportViewbetaOffline tests
Same, as in the Tests section.
QA Steps
Same, as in the Tests section.
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))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.mp4
Android: mWeb Chrome
android_web.mp4
iOS: Native
iOS: mWeb Safari
ios_web.mp4
MacOS: Chrome / Safari
web0.mp4
web1.mp4
web2.mp4
web3.mp4
web4.mp4
MacOS: Desktop
desktop.mp4