-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Fix expense status badge not appearing until report chat is opened #77350
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
Conversation
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
JmillsExpensify
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.
Great polish. Product approved.
|
@cretadn22 The PR no longer works as expected CleanShot.2025-12-13.at.00.13.13.mp4It seems something has changed since the previous review — your solution still works on my verify branch Could you please recheck? |
|
@suneox My PR is still working as expected. You can see that although the status is not displayed, the expense count is still shown. In the original bug described in the issue, both the expense count and the status are missing. Regarding the missing status: this is caused by a separate backend issue. In the condition that determines whether the status is displayed, we check childMoneyRequestCount, but this field is missing from the initial snapshot data. Reference: App/src/components/ReportActionItem/MoneyRequestReportPreview/MoneyRequestReportPreviewContent.tsx Lines 702 to 715 in 0c92ee7
Because of that, the status is not rendered even though the rest of the preview data is correct. |
@cretadn22 The expected result: Please take a look at the video — between seconds 3–6, 16–20, and 21–26, the status badge doesn’t display until the report chat is opened.
Please ensure that your changes are compatible with and cover the related PR. |
|
@cretadn22 One more thing — please update the Screenshots/Videos section to match the expected results. Currently, the status badge is still not displayed in your recording
|
|
@rayane-d It appears that this issue have been introduced after merging #75934 more context explained here. I’ve proposed a new fix to address this. Since you authored the change that may have led to this problem, would you mind taking a look and sharing your thoughts on the proposed update? |
|
@suneox There are no response from the author, could you review my new change? |
|
Hi! Sorry for the delay, I will take a look later today |
|
@rayane-d Any chance you’ve had time to check my comment |
|
No response from him, @suneox What should be our next step? |
@cretadn22 We can continue with the implementation and make sure the current changes also cover issue PR #75934. If you’d to review a new solution, could you please provide an updated approach from the previous verify branch that handles this issue? I can double-check it before implementing. |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppCleanShot.2026-01-02.at.22.34.33.mp4Android: mWeb ChromeCleanShot.2026-01-02.at.22.33.17.mp4iOS: HybridAppCleanShot.2026-01-02.at.22.32.13.mp4iOS: mWeb SafariCleanShot.2026-01-02.at.19.55.53.mp4MacOS: Chrome / SafariCleanShot.2026-01-02.at.19.53.30.mp4 |
@cretadn22 I also helped verify the current PR against the related issue #62182 on the latest main, and it still works as expected, so we can go ahead with this change The member was invited for issue #62182CleanShot.2026-01-03.at.11.56.30.mp4Report search display for issue #62182CleanShot.2026-01-03.at.12.00.17.mp4 |
lakchote
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.
LGTM
|
✋ 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/lakchote in version: 9.2.93-0 🚀
|
|
🚀 Deployed to production by https://github.com/arosiclair in version: 9.2.93-1 🚀
|
…heck Fix expense status badge not appearing until report chat is opened


Explanation of Change
Fixed Issues
$ #72547
PROPOSAL: #72547 (comment)
Tests
Prerequisite: User has several reports with different statuses
Offline tests
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
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-12-11.at.19.02.35.mov
Android: mWeb Chrome
Screen.Recording.2025-12-11.at.19.00.55.mov
iOS: Native
Screen.Recording.2025-12-11.at.19.03.09.mov
iOS: mWeb Safari
Screen.Recording.2025-12-11.at.18.59.40.mov
MacOS: Chrome / Safari
Screen.Recording.2025-12-11.at.18.57.08.mov