Fix - Mark the chat as "read" immediately upon switching to the tab#37021
Conversation
|
@abdulrahuman5196 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] |
|
@abdulrahuman5196 Recreated a PR because I was having unverified commit issue on the last one and undoing the commit was not easy. I have already applied the change of comments you suggested on the previous one but still working on the performance test failure 👍 |
|
@FitseTLT I assume the focus check was removed due to perf test failure. Could you add more information on, what that failure was? Why is focus affected? I am inclined towards a fix having focus. But anyways do let us know the facts and we take it forward. |
|
@abdulrahuman5196 U 're good to go |
|
Working on review today. |
|
@FitseTLT Any update on the above? |
|
It's working perfect for me 2024-02-28.23-16-58.mp4 |
|
@abdulrahuman5196 Could you check again based on the comment ^? |
|
Hi, Yes. Will take a look in my morning. |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-03-02.at.6.47.09.PM.mp4Android: mWeb ChromeScreen.Recording.2024-03-02.at.6.37.07.PM.mp4iOS: NativeScreen.Recording.2024-03-02.at.6.14.36.PM.mp4iOS: mWeb SafariScreen.Recording.2024-03-02.at.6.18.04.PM.mp4MacOS: Chrome / SafariScreen.Recording.2024-03-02.at.3.21.37.PM.mp4MacOS: DesktopScreen.Recording.2024-03-02.at.5.41.16.PM.mp4 |
abdulrahuman5196
left a comment
There was a problem hiding this comment.
Changes looks good and works well. Reviewers checklist is also complete.
All yours. @hayata-suenaga
🎀 👀 🎀
C+ Reviewed
|
✋ 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/hayata-suenaga in version: 1.4.48-0 🚀
|
|
🚀 Deployed to production by https://github.com/roryabraham in version: 1.4.48-0 🚀
|
| return; | ||
| } | ||
|
|
||
| Report.readNewestAction(report.reportID); |
There was a problem hiding this comment.
Coming from #72774, ReadNewestAction can be called 2 times so we should combine this hook with the one above to avoid API call duplication
Details
Fixed Issues
$ #33680
PROPOSAL: #33680 (comment)
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel so 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
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
2024-02-21.16-55-46.mp4
MacOS: Desktop
2024-02-21.17-01-39.mp4