Repository navigation
remove MoneyRequestTagPage - #35136
Conversation
Reviewer Checklist
Screenshots/VideosAndroid: NativeCleanShot.2024-01-31.at.23.16.04.mp4Android: mWeb ChromeCleanShot.2024-01-31.at.23.22.52.mp4iOS: NativeCleanShot.2024-02-02.at.18.53.29.mp4CleanShot.2024-01-31.at.18.02.27.mp4iOS: mWeb SafariCleanShot.2024-01-31.at.18.06.06.mp4CleanShot.2024-01-31.at.18.08.02.mp4MacOS: Chrome / SafariCleanShot.2024-02-02.at.19.29.13.mp4CleanShot.2024-01-31.at.17.52.04.mp4MacOS: DesktopScreen.Recording.2024-01-31.at.11.28.31.PM.mov |
|
@dukenv0307 I get this crash when I tried an IOU request:
|
|
@fedirjh Updated to use lodashGet to avoid crashing. |
|
As another PR that I'm working, I also updated to implement edit split bill in |
|
@fedirjh Updated your suggestion to fix minor issue. |
fedirjh
left a comment
There was a problem hiding this comment.
Looks good and tests well.
MariaHCD
left a comment
There was a problem hiding this comment.
There's a merge conflict but otherwise looks good!
|
@MariaHCD I resolved conflict. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Cherry-picked to staging by https://github.com/thienlnam in version: 1.4.36-5 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
1 similar comment
|
🚀 Cherry-picked to staging by https://github.com/thienlnam in version: 1.4.36-5 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
@dukenv0307 could you explain the step 1
|
|
@dukenv0307 @tgolen should we ignore step 1?
|
|
@kavimuru Yeah, I think we can ignore this and only test the flow. It's just a locally test to check the code. |
|
🚀 Deployed to production by https://github.com/Julesssss in version: 1.4.37-7 🚀
|
| ); | ||
| return; | ||
| } | ||
| Navigation.navigate(ROUTES.MONEY_REQUEST_TAG.getRoute(props.iouType, props.reportID)); |
There was a problem hiding this comment.
Hi @dukenv0307, I saw that we removed ROUTES.MONEY_REQUEST_TAG in this PR, but this line of code is still using it. Is it something we missed?
| IOU.setMoneyRequestTag_temporaryForRefactor(transactionID, selectedTag.searchText); | ||
| const isSelectedTag = selectedTag.searchText === tag; | ||
| const updatedTag = !isSelectedTag ? selectedTag.searchText : ''; | ||
| if (isSplitBill) { |
There was a problem hiding this comment.
Coming from #35836. This uses the SPLIT_TRANSACTION_DRAFT Onyx key, whereas we use the TRANSACTION_DRAFT key when creating a request, so we end up updating the wrong key here.
| params: {transactionID, backTo}, | ||
| params: {action, transactionID, backTo, iouType}, | ||
| }, | ||
| transaction: {tag}, |
There was a problem hiding this comment.
In split bill requests, we save the draft data in splitDraftTransaction field instead of transaction field. But in here, we always get tag from transaction field. It causes this regression

Details
MoneyRequestTagPageIOURequestStepTagfor both create and edit caseactionparam for the route ofIOURequestStepTagEditRequestTagPagewill be removed after remove all use ofEditRequestPageFixed Issues
$ #34612
PROPOSAL: #34612 (comment)
Tests
MoneyRequestTagPageis removed with the route, screen, and all use of this page in the app:action/:iouType/tag/:transactionID/:reportIDand action param in URL iseditOffline tests
Same as above
QA Steps
MoneyRequestTagPageis removed with the route, screen, and all use of this page in the app:action/:iouType/tag/:transactionID/:reportIDand action param in URL iseditPR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.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 so 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
Screen.Recording.2024-01-25.at.14.39.54.mov
Android: mWeb Chrome
Screen.Recording.2024-01-25.at.14.13.06.mov
iOS: Native
iOS: mWeb Safari
Screen.Recording.2024-01-25.at.14.10.25.mov
MacOS: Chrome / Safari
Screen.Recording.2024-01-25.at.14.09.16.mov
MacOS: Desktop
Screen.Recording.2024-01-25.at.14.41.18.mov