Fix non-functional LHN "Mark as unread" button for IOU reports#23277
Conversation
fix deprecation warning in actionCreationTime fallback logic when marking comment as unread
|
@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 PR is ready. Appreciate your review |
Reviewer Checklist
Screenshots/VideosWebScreen.Recording.2023-07-22.at.8.04.03.PM.mp4Mobile Web - Chromeaz_recorder_20230722_201209.1.mp4Mobile Web - SafariUntitled.1.mp4DesktopScreen.Recording.2023-07-22.at.8.14.16.PM.mp4iOSScreen.Recording.2023-07-22.at.8.21.46.PM.mp4Androidaz_recorder_20230722_203456.mp4 |
|
NAB:
|
|
@abdulrahuman5196 thank you for the feedbacks! |
abdulrahuman5196
left a comment
There was a problem hiding this comment.
Changes looks good and works well. Reviewers checklist is also complete.
All yours @Beamanator
🎀 👀 🎀
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/Beamanator in version: 1.3.45-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.3.45-7 🚀
|
Details
Fix non-functional LHN "Mark as unread" button for IOU reports, and show "New" line indicator above the last report action after marking the report as unread
Fixed Issues
$ #22230
PROPOSAL: #22230 (comment)
Tests
Offline tests
Same as 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)/** 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)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
Web
Screen.Recording.2023-07-20.at.10.08.22.PM.mov
Mobile Web - Chrome
Screen.Recording.2023-07-20.at.10.20.26.PM.mov
Mobile Web - Safari
Screen.Recording.2023-07-20.at.10.25.11.PM.mov
Desktop
Screen.Recording.2023-07-20.at.10.11.46.PM.mov
iOS
Screen.Recording.2023-07-20.at.10.22.47.PM.mov
Android
Screen.Recording.2023-07-20.at.10.17.13.PM.mov