Revert "Revert "Move RBR to workspace chats instead of transaction threads""#52478
Conversation
|
Oh seems I need to update a test. |
|
ok tests should be fixed |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
allgandalf
left a comment
There was a problem hiding this comment.
This LGTM and i retested on macOS web, works as expected 👍 , skipping the checklist as we already have one above
|
@jasperhuangg 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] |
|
🎯 @allgandalf, thanks for reviewing and testing this PR! 🎉 An E/App issue has been created to issue payment here: #52486. |
|
✋ 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/pecanoro in version: 9.0.62-0 🚀
|
|
@iwiznia @allgandalf I think this revert cause error in expense deletion https://expensify.slack.com/archives/C01GTK53T8Q/p1731569593270779 |
|
Looking... |
|
can you take a look at #52557 as well? |
|
Looking.... |
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.0.62-4 🚀
|
| const allReports = Object.values(ReportConnection.getAllReports() ?? {}) as Report[]; | ||
| const potentialReports = allReports.filter((r) => r.ownerAccountID === currentUserAccountID && (r.stateNum ?? 0) <= 1 && r.policyID === report.policyID); | ||
| return potentialReports.some( | ||
| (potentialReport) => hasViolations(potentialReport.reportID, transactionViolations) || hasWarningTypeViolations(potentialReport.reportID, transactionViolations), |
There was a problem hiding this comment.
We missed aligning the RBR display in LHN in line with the workspace chat itself. We did this in #57017
Reverts #52431
The OG PR got reverted because here we added a new usage to one of the methods this PR was removing/renaming.
Explanation of Change
Shows RBR on workspace chat instead of in transaction threads
Fixed Issues
https://github.com/Expensify/Expensify/issues/433103
Tests
Offline tests
No
QA Steps
Same as tests
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))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
MacOS: Desktop