Debug mode for Inbox tab GBR doesn't handle multi-policy#51425
Conversation
…se for RBR in LHN
|
Today's update:
Todo:
|
…-tab-gbr-doesnt-handle-multi-policy
|
@DylanDylann 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'm setting this PR as ready for review although it's missing QA steps and screen recordings for native app. I'll add these next Monday! |
…-tab-gbr-doesnt-handle-multi-policy
|
I wasn't able to find steps to test this on native platforms yet. Will continue my research tomorrow! |
|
@pac-guerreiro Sorry for my delay |
|
On LHN, we use useReportIDs hook to filter and sort reports first I think we should apply the logic in useReportIDs into getChatTabBrickRoadReport to make it consistent |
Anyways, I can help you with this step |
This is known and will be addressed here - #51488 |
I think that's the solution for #51488 |
Oh nice, today I learned 😄 But I was aiming for reproduction steps inside the app it self as an user, do you know how to use deep links without the terminal or console? Also there's a case that I am not able to reproduce which is a workspace chat that existed but then the user started receiving not found errors. Here is the onyx data for a report where this happens: |
src/pages/Debug/DebugDetails.tsx
Outdated
| onPress={() => { | ||
| onDelete(); | ||
| Navigation.goBack(); | ||
| // Dismiss the current report screen and replace it with Concierge Chat |
There was a problem hiding this comment.
@DylanDylann This is a workaround I found to prevent the app from fetching the report data again, it's based on this:
But now that I'm seeing this again, I think I should just use Report.navigateToConciergeChatAndDeleteReport instead of duplicating code
This reverts commit 4b2d8ad.
…-tab-gbr-doesnt-handle-multi-policy
…R in LHN" This reverts commit a3b1513. # Conflicts: # src/libs/WorkspacesSettingsUtils.ts
|
@DylanDylann I just reverted the commits that added reportID to reports that were missing it |
…-tab-gbr-doesnt-handle-multi-policy
|
@DylanDylann I replaced the old logic to navigate after deleting a report with |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-10-31.at.11.51.21.movAndroid: mWeb ChromeScreen.Recording.2024-10-31.at.11.50.03.moviOS: NativeScreen.Recording.2024-10-31.at.11.48.54.moviOS: mWeb SafariScreen.Recording.2024-10-31.at.11.45.00.movMacOS: Chrome / SafariScreen.Recording.2024-10-31.at.11.42.51.movMacOS: DesktopScreen.Recording.2024-10-31.at.11.46.49.mov |
|
Waiting for the final review from @puneetlath |
|
✋ 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/puneetlath in version: 9.0.58-0 🚀
|
|
This PR is failing because of issue #52104 |
|
🚀 Deployed to production by https://github.com/Julesssss in version: 9.0.58-2 🚀
|

Details
Fixed Issues
$#51271
PROPOSAL:
View Reportbutton to redirect the user to the report page. This is useful when we don't access the debug report page from the report page.Tests
On web
r/123456)There's a report with errorsViewbutton will open the RHP with the debug report page with the data of the offending reportOffline tests
Same as tests
QA Steps
Same as 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
Android: mWeb Chrome
Android.-.Chrome.mp4
iOS: Native
iOS: mWeb Safari
iOS.-.Safari.mp4
MacOS: Chrome / Safari
MacOS.-.Chrome.mp4
MacOS: Desktop