fix: WS Chat auto-scrolls to latest message after mark as paid an expense#76585
fix: WS Chat auto-scrolls to latest message after mark as paid an expense#76585rlinoz merged 2 commits intoExpensify:mainfrom
Conversation
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
| playSound(SOUNDS.SUCCESS); | ||
| API.write(apiCommand, params, {optimisticData, successData, failureData}); | ||
| notifyNewAction(Navigation.getTopmostReportId() ?? iouReport?.reportID, userAccountID); | ||
| notifyNewAction(!full ? (Navigation.getTopmostReportId() ?? iouReport?.reportID) : iouReport?.reportID, userAccountID); |
There was a problem hiding this comment.
@Pujan92 When paid a partial amount, we want to scroll to the bottom to see the new report preview.
There was a problem hiding this comment.
@nkdengineer can you plz share the demo of that as I am unable to do partial payment from the chat report?
There was a problem hiding this comment.
@Pujan92 You need to disable approval.
Screen.Recording.2025-12-09.at.21.55.49.mov
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
JmillsExpensify
left a comment
There was a problem hiding this comment.
Agree that we shouldn't auto-scroll to the bottom. Product changes look good.
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppSimulator.Screen.Recording.-.iPhone.15.Pro.-.2025-12-10.at.16.59.44.moviOS: mWeb SafariSimulator.Screen.Recording.-.iPhone.15.Pro.-.2025-12-10.at.17.07.34.movMacOS: Chrome / SafariScreen.Recording.2025-12-08.at.17.45.12.movScreen.Recording.2025-12-10.at.10.45.09.mov |
|
✋ 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/rlinoz in version: 9.2.75-0 🚀
|
|
🚀 Deployed to staging by https://github.com/rlinoz in version: 9.2.75-0 🚀
|
|
🚀 Deployed to staging by https://github.com/rlinoz in version: 9.2.77-0 🚀
|
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 9.2.77-1 🚀
|
Explanation of Change
fix: WS Chat auto-scrolls to latest message after mark as paid an expense
Fixed Issues
$ #74777
PROPOSAL: #74777 (comment)
Tests
Preconditions: The member has submitted some expense reports to the Workspace chat, and the admin has approved them before
Offline tests
Same
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-12-03.at.14.41.56.mov
Android: mWeb Chrome
Screen.Recording.2025-12-03.at.14.41.07.mov
iOS: Native
Screen.Recording.2025-12-03.at.14.42.44.mov
iOS: mWeb Safari
Screen.Recording.2025-12-03.at.14.43.14.mov
MacOS: Chrome / Safari
Screen.Recording.2025-12-03.at.14.39.17.mov