fix If we alter transaction details, new message green line disappears#43162
Conversation
|
@rushatgabhane 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] |
|
@rushatgabhane Can you help review this PR? |
Reviewer Checklist
Screenshots/VideosAndroid: mWeb ChromeiOS: NativeScreen.Recording.2024-07-08.at.10.10.51.moviOS: mWeb SafariMacOS: Chrome / SafariScreen.Recording.2024-07-08.at.07.40.18.mov |
|
@rushatgabhane Bump to review this PR |
There was a problem hiding this comment.
@tienifr im unable to mark it as unread. No green line indicator shows up
Screen.Recording.2024-06-16.at.11.28.13.mov
rushatgabhane
left a comment
There was a problem hiding this comment.
Bug: Switching chat and coming back doesn't clear the unread indicator
- Send a message to transaction
- Mark it as unread
- Switch chat and come back
Screen.Recording.2024-06-16.at.11.30.46.mov
|
|
Hi, yes I can do that. Is that blocking progress or are you able to work around it? |
The code changes are complete. I just want to test the pull request after the backend is fixed to ensure there are no regressions. |
|
Cool sounds good, can you send me a screenshot of the response for which the lastVisibleActionCreated and lastReadTime should be the same to make sure we're on the same page? |
|
@srikarparsi Here is the video: Screen.Recording.2024-06-20.at.05.06.55.mov |
|
@srikarparsi Any update here? |
|
Hey @tienifr, not yet. I'll try to get to this one tomorrow |
|
Created the PR for the backend change and it's being reviewed. Result screenshot where lastReadTime equals lastVisibleActionCreated: |
|
Thanks @srikarparsi. Please ping me once it is merged. |
|
Hey @tienifr, the backend PR has been deployed. Let me know if it works with this PR. You should see an additional Onyx update for the lastReadTime as in this screenshot. |
|
@srikarparsi @rushatgabhane I tested again and it works well. |
|
@rushatgabhane Friendly bump to review PR again. |
|
woopss |
|
yayy backend is ready, reviewing |
|
Note that in latest main, marking as unread doesn't show green marker for system message |
|
✋ 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/srikarparsi in version: 9.0.6-0 🚀
|
|
🚀 Deployed to staging by https://github.com/srikarparsi in version: 9.0.6-0 🚀
|
|
This PR is failing because of issue #41211 The issue is reproducible in: 1720636449179.Screenrecorder-2024-07-10-21-27-52-625.mp4IOS 1720618337485.43162_iOS.mp4 |
|
Hi @tienifr @rushatgabhane, can you take a look at this? It looks to have been working in the screen recordings but I just tested on my device on staging and the bug is still reproducible. |
|
interesting... hey it's not blocking anything right? @tienifr we can continue working on this for native platform and raise a follow up PR? |
|
and yes it's weird. i remember this working fine |
|
🚀 Cherry-picked to staging by https://github.com/Julesssss in version: 9.0.6-1 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Cherry-picked to staging by https://github.com/Julesssss in version: 9.0.6-1 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
Will re-test the bug on native platform today. |
|
🚀 Deployed to production by https://github.com/thienlnam in version: 9.0.6-8 🚀
|
|
I cannot reproduce the bug anymore in latest main: Screen.Recording.2024-07-17.at.00.58.14.movWhat about you @rushatgabhane? |
|
🚀 Deployed to production by https://github.com/thienlnam in version: 9.0.7-8 🚀
|
| onyxMethod: Onyx.METHOD.MERGE, | ||
| key: `${ONYXKEYS.COLLECTION.REPORT}${transactionThread?.reportID}`, | ||
| value: { | ||
| lastVisibleActionCreated: updatedReportAction.created, |
There was a problem hiding this comment.
This action should not be triggered LHN unread update (detail: #64764 (comment)). It causes this issue #64764



Details
Fixed Issues
$ #41211
PROPOSAL: #41211 (comment)
Tests
Offline tests
QA Steps
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
Screen.Recording.2024-06-06.at.16.37.55.mov
Android: mWeb Chrome
Screen.Recording.2024-06-06.at.16.54.49.mov
iOS: Native
Screen.Recording.2024-06-06.at.16.46.23.mov
iOS: mWeb Safari
Screen.Recording.2024-06-06.at.16.52.01.mov
MacOS: Chrome / Safari
Screen.Recording.2024-06-06.at.16.29.01.mov
MacOS: Desktop
Screen.Recording.2024-06-06.at.16.34.03.mov