-
Notifications
You must be signed in to change notification settings - Fork 3.5k
fix: Two greyed-out RBRs in Inbox v2 #75760
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
fix: Two greyed-out RBRs in Inbox v2 #75760
Conversation
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
joekaufmanexpensify
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good from a product perspective 👍
|
@nkdengineer Could you help merge main? |
|
@truph01 I updated. |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / Safari |
|
@nkdengineer I encountered a bug when testing the test case #75565 Screen.Recording.2025-11-28.at.16.11.23.mov |
|
@truph01 I fixed. |
|
@nkdengineer It looks like we have conflicts. |
|
@truph01 Updated. |
|
@puneetlath @jamesdeanexpensify can you still see the grayed out RBRs in your LHN? |
|
I don't think I had this issue before, or maybe I'm not remembering? |
|
I don't have any currently. |
|
I mean I can't reproduce the bug here in this PR. |
|
So what are the next steps then? Are we thinking this is fixed now or what else are we waiting on? |
|
@truph01 Friendly bump. |
|
@truph01 can you let us know what the next steps are please?! |
|
I am on it now |
|
@nkdengineer Could you help merge main? |
|
@truph01 Done. |
|
@nkdengineer I’m still occasionally able to reproduce the bug: Screen.Recording.2026-01-07.at.15.23.43.movI’m currently working on identifying consistent steps to reproduce it. |
|
@truph01 Let me know if you can reproduce it consistently, since I can't reproduce this issue in the PR. |
@truph01 Do you mean you still can reproduce this issue on main or on this PR? |
I mean on this PR |
|
@truph01 Still works well on my side. Please help to check again. |
|
I’m no longer able to reproduce the bug I encountered while testing this PR. It's unclear whether that issue has been fully resolved or if it’s just difficult to reproduce. |
|
Based on this Slack comment, a backend fix is already in place to ensure that However, @rayane-d pointed out:
Currently, the test case included in PR author checklist only covers the scenario that has already been addressed by the backend. That means it passes even without the changes introduced in this PR. Could you add a test case to make sure "prevent this issue from happening again"? For example, we can mock data so that the |
@nkdengineer Do you mean we don't need the frontend PR or add another mock test to verify? |
|
@nkdengineer I meant that the issue we were trying to fix in this PR has already been resolved by BE. However, we still need this PR to ensure that a similar bug (which BE can't cover) doesn’t appear again. Could you add one mock test to verify that the same issue won't resurface with our changes? |
|
@truph01 I updated the test case and screenshot for this on Web. |
| }, [reportMetadata.isOptimisticReport, report, isOffline, isLoadingApp, introSelected, isOnboardingCompleted, isInviteOnboardingComplete, reportIDFromRoute, reportActionIDFromRoute]); | ||
|
|
||
| useEffect(() => { | ||
| createOneTransactionThreadReportRef.current = createOneTransactionThreadReport; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need to store createOneTransactionThreadReport in a ref here? Can’t we call createOneTransactionThreadReport directly in line 613 instead?
|
@nkdengineer Related to this test case:
Based on your proposed solution:
My understanding is:
However, when testing this scenario, I observed that Screen.Recording.2026-02-05.at.00.45.00.mov |

Explanation of Change
fix: Two greyed-out RBRs in Inbox
Fixed Issues
$ #74126
#75565
#75592
PROPOSAL: #74126 (comment)
Tests
reportActions_${reportID},reportIDis the reportID of the expense report in the URLreportActionIDof the IOU actionreportIDandreportActionIDwith the ID of expense report and IOU action we searched above.Offline tests
None
QA Steps
Same as test
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
Android: Native
Screen.Recording.2025-11-08.at.23.38.02.mov
Android: mWeb Chrome
Screen.Recording.2025-11-08.at.23.38.38.mov
iOS: Native
Screen.Recording.2025-11-08.at.23.38.50.mov
iOS: mWeb Safari
Screen.Recording.2025-11-08.at.23.40.48.mov
MacOS: Chrome / Safari
Screen.Recording.2025-11-08.at.23.37.10.mov
Screen.Recording.2025-11-23.at.22.18.01.mov
Screen.Recording.2025-11-23.at.22.18.42.mov
Screen.Recording.2026-01-29.at.16.16.01.mov
MacOS: Desktop
Screen.Recording.2025-11-08.at.23.37.46.mov