-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Refactor "new action" logic in ReportActionsView to fix new marker #12169
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
|
Sorry didn't get to review today, will prioritize this tomorrow |
|
Updated |
|
Testing... |
Beamanator
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.
Looking good & testing well for me, I like the loads of comments since we're doing some funky stuff, but overall it's making sense 👍 Won't merge till @parasharrajat does his review
|
I am facing some issues with Mac so I won't be able to test all platforms until that issue is fixed. Hoping to get it fixed asap and get back on it.
|
|
@Beamanator Can you jump in here and help test on all platforms? We need at least one person to post the checklist. |
|
Fak I'm no longer at my laptop for about 5 hours, sorry - can test Sunday if that's ok for you |
|
|
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
Thanks for testing @Beamanator !
Expected, yes! It's just a consequence of how we load reports first then load comments second when tapping into the chat. There are some discussions floating around about how to improve this IIRC.
Hmm hard to say, but I think I'd expect that to work. I probably would have rejected this PR for not passing the test steps. But we can see if it happens for QA and if a new issue needs to be created we'll look into it. |
|
🚀 Deployed to staging by @Beamanator in version: 1.2.25-0 🚀
|
|
🚀 Deployed to production by @yuwenmemon in version: 1.2.25-0 🚀
|
…tActions Reverts elements from #12169
|
Heads up @Beamanator @parasharrajat elements of this PR were reverted because they caused a pretty nasty regression related to offline behavior here. I think we can all learn from this PR by making sure to test offline behaviors and include them in the test steps for our future PRs. Thanks. |
|
Sadly, I didn't get the chance to test it. But I agree offline testing is a must for this PR. |
|
offline testing is a must for |
|
Correct 😅 . Saw your update. |
Details
Fixed Issues
$ #11726
Tests
Same as QA
QA Steps
New message marker set correctly when report is default while signing in
New message marker set correctly when navigating to unread chat after signing in
New message marker set correctly when navigating to unread chat after opening app
New message marker set correctly when navigating to directly to unread chat
PR Review Checklist
PR Author Checklist
### Fixed Issuessection aboveTestssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*filesWaiting 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)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)Avataris modified, I verified thatAvataris working as expected in all cases)PR Reviewer Checklist
The reviewer will copy/paste it into a new comment and complete it after the author checklist is completed
### Fixed Issuessection aboveTestssectionQA stepssectiontoggleReportand notonIconClick).src/languages/*filesWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarhave been tested & I retested again)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)Avataris modified, I verified thatAvataris working as expected in all cases)Screenshots
QA testing is intense for these flows as there are 4 test cases to look at. I'm only posting videos for 1 scenario, but they should all be tested.
Web
2022-11-01_12-46-08.mp4
Mobile Web - Chrome
2022-11-01_13-49-44.mp4
Mobile Web - Safari
2022-11-01_13-40-23.mp4
Desktop
2022-11-01_12-51-27.mp4
iOS
2022-11-01_13-22-17.mp4
Android
2022-11-01_13-46-41.mp4