[CP Staging] Fix: Not redirect to workspace chat when pay IOU with business account#46557
[CP Staging] Fix: Not redirect to workspace chat when pay IOU with business account#46557marcaaron merged 5 commits intoExpensify:mainfrom
Conversation
|
@mananjadhav 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] |
|
I tried to test this. The workspace is created and I am redirected but it then leads to a Not Found page. Screen.Recording.2024-07-31.at.3.21.01.PM.mov |
|
@mananjadhav I believe this is a BE error because deduced from your video, the new workspace chat and the expense is optimistically created but later the expense is reverted to the DM IOU and there's RBR on the workspace chat in LHN. Could you kindly open the workspace chat or check its Onyx data to see what error the BE returned? Or for safety, we don't need to highlight that specific expense report preview, just open the workspace chat. So in case the expense is not created successfully, not found page wouldn't show. |
…xpensify" This reverts commit 8783422.
|
Yeah the problem was with my account as I had crossed the limit of workspace. I tested in a new account and it works fine. @gijoe0295 Can you please sync the latest main especially because we reverted a change. I am currently testing by locally updating the code. |
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid-workspace-chat-redirect.movAndroid: mWeb Chromemweb-chrome-workspace-chat-redirect.moviOS: Nativeios-workspace-chat-redirect.moviOS: mWeb Safarimweb-safari-workspace-chat-redirect.movMacOS: Chrome / Safariweb-workspace-chat-redirect.movMacOS: Desktopdesktop-workspace-chat-redirect.mov |
mananjadhav
left a comment
There was a problem hiding this comment.
Waiting on merging with latest main.
|
All done. |
|
Thanks @gijoe0295. @marcaaron Can you take a look? |
|
@mountiny why does this need to be CP'd to staging? Not linked to any deploy blockers AFAICT. |
|
✋ 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/marcaaron in version: 9.0.17-0 🚀
|
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.0.17-2 🚀
|
|
@marcaaron it was originally meant to fix a deploy blocker alongwith other change but then @mananjadhav separated the pr for only the deploy unblocking fix that was CPed Sorry for the confusion |
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.0.17-2 🚀
|
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.0.17-2 🚀
|
Details
This PR resolves:
Fixed Issues
$ #46339
$ #46490
PROPOSAL: #46339 (comment)
Tests
[mWeb & Native]
[Web & Desktop]
Offline tests
NA
QA Steps
See Tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.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
Screen.Recording.2024-07-31.at.13.46.08-source.mov
Android: mWeb Chrome
Screen.Recording.2024-07-31.at.13.44.30-source.mov
iOS: Native
iOS: mWeb Safari
Screen.Recording.2024-07-31.at.13.40.01-source.mov
MacOS: Chrome / Safari
navigate-to-workspace.mov
RHP opens on top of Workspace chat
The workspace chat is GBR and the expense is highlighted
MacOS: Desktop
Screen.Recording.2024-07-31.at.13.32.26-source.mov