Fix logic of single transaction report#62936
Conversation
…_when_readed # Conflicts: # src/components/TransactionItemRow/DataCells/ChatBubbleCell.tsx
|
@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] |
…_when_readed # Conflicts: # src/components/TransactionItemRow/index.tsx
|
@sumo-slonik Please address the prettier check error |
|
This is on hold |
Added that to the title of the PR so it's clear to follow. |
…_when_readed # Conflicts: # src/components/SelectionList/Search/ReportListItem.tsx # src/components/TransactionItemRow/index.tsx
|
@DylanDylann Would you be able to find a moment to do the review?? As we agreed here: https://swmansion.slack.com/archives/C07NMDKEFMH/p1749215252537869?thread_ts=1748968053.487999&cid=C07NMDKEFMH |
|
On my list today |
Reviewer Checklist
Screenshots/Videos |
|
@youssef-lr bump |
|
@youssef-lr @mountiny When might we find a moment to check and merge this? |
|
✋ 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/mountiny in version: 9.1.66-0 🚀
|
|
🚀 Deployed to production by https://github.com/lakchote in version: 9.1.66-5 🚀
|
|
🚀 Deployed to production by https://github.com/lakchote in version: 9.1.66-5 🚀
|
|
🚀 Deployed to production by https://github.com/lakchote in version: 9.1.66-5 🚀
|






Explanation of Change
The main reason for this issue was that we didn’t distinguish between the regular view and the single transaction view. The single transaction view displays not only messages from the thread but also from the entire report, which is why the timestamp of the last read report action was missing. Fixing the chat bubble behavior to recognize whether it’s a single transaction or not helped resolve the problem.
Fixed Issues
$ #62579
PROPOSAL:
Tests
On desktop run using a narrow layout
Chat bubble should be gray
Offline tests
Unnesesary
QA Steps
Same as test
// 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))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
Uploading Screen Recording 2025-05-28 at 15.52.45.mov…
Android: mWeb Chrome
Screen.Recording.2025-05-28.at.15.49.37.mov
iOS: Native
video.chat.bubble.mp4
iOS: mWeb Safari
Screen.Recording.2025-05-28.at.16.10.08.mov
MacOS: Chrome / Safari
Screen.Recording.2025-05-28.at.14.31.41.mov
MacOS: Desktop
Screen.Recording.2025-05-28.at.15.03.55.mov