[Standardize payment button] Avoid creating new workspace when paying via Workspace#74642
Conversation
|
@parasharrajat 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] |
|
Sorry for the ping here. @getusha will handle it |
Codecov Report❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.
|
This comment has been minimized.
This comment has been minimized.
|
Remove me from this PR in that case. Thanks. |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppandroid-rec-69.webmAndroid: mWeb Chromeandroid-rec-68.webmiOS: HybridAppSimulator.Screen.Recording.-.iPhone.15.Pro.-.2025-11-12.at.11.32.43.moviOS: mWeb SafariSimulator.Screen.Recording.-.iPhone.15.Pro.-.2025-11-12.at.11.16.22.movMacOS: Chrome / SafariScreen.Recording.2025-11-12.at.11.09.57.in.the.morning.movMacOS: DesktopScreen.Recording.2025-11-12.at.11.38.10.in.the.morning.mov |
|
I am having trouble getting a test build to run here. Going to try again tomorrow 👍 |
|
🚧 @joekaufmanexpensify 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, Desktop, and Web. Happy testing! 🧪🧪
|
Yeah I also noticed that during the testing, it's on prod tooo so not related to the current changes. |
|
I see, no need to block on it then 👍 |
joekaufmanexpensify
left a comment
There was a problem hiding this comment.
Change is good from a product perspective 👍
|
We did not find an internal engineer to review this PR, trying to assign a random engineer to #74208 as well as to this PR... Please reach out for help on Slack if no one gets assigned! |
|
All yours @grgia 🙏 |
|
✋ 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/Valforte in version: 9.2.59-0 🚀
|
|
🚀 Deployed to production by https://github.com/grgia in version: 9.2.59-5 🚀
|

Explanation of Change
When paying an IOU via workspace, we move the expense to the selected one and don't need to create a new workspace from the IOU Report.
Fixed Issues
$ #74208
PROPOSAL: N/A
Tests
Same as QA Steps.
Offline tests
N/A
QA Steps
Prerequisite:
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
Screen.Recording.2025-11-08.at.22.34.06.mov