Fix: pencil icon disappear in LHN for announce - #20730
Conversation
2. Updated OptionRowLHN with validation for draft message in localstorage
|
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
|
I have read the CLA Document and I hereby sign the CLA |
|
I didn't get the time, but I will review test this in the morning. |
|
@mkarkachov You've got a number of unit tests failing. |
|
@mkarkachov Could you resolve the jest issue so we can this out? Thanks! |
…mment 2. Added ReportCommentDraftsProvider to OnyxProvider 3. Reverted previous changes in ReportActionCompose
mollfpr
left a comment
There was a problem hiding this comment.
Sorry for the delay, I got sick yesterday 🙏
We need to revert the podfile lock and I have question about the new Onyx context.
mollfpr
left a comment
There was a problem hiding this comment.
@mkarkachov Sorry to keep you waiting!
It tests well, but just couples of cleanup.
|
@mollfpr resolved. Many thanks for reviews! |
|
@mkarkachov Great! Much better now. I'll finish the test! |
|
@mkarkachov I found a regression. Steps:
It needs several tries to reproduce it. Screen.Recording.2023-06-22.at.01.31.17.mov |
Great job, thanks! Fixed |
@mkarkachov Also, we should add another test for the above case. |
@mollfpr Please clarify what do you mean? Someone should add new unit test or what? |
|
I mean add the test in the PR description. |
Ah, got it. Added as Test 2 to PR description. Thanks |
Reviewer Checklist
Screenshots/VideosWeb20730.Web.mp4Mobile Web - Chrome20730.mWeb-Chrome.mp4Mobile Web - Safari20730.mWeb-Safari.mp4Desktop20730.Desktop.mp4iOS20730.iOS.mp4Android20730.Android.mp4 |
mollfpr
left a comment
There was a problem hiding this comment.
Thanks @mkarkachov looks great and tests well 👍
All yours @deetergp
|
@mkarkachov I've approved your changes, but your PR is failing the Reassure Performance Tests. Looking at the output from the test, it looks like it has to do with changing package-lock.json, so maybe just pulling the latest |
|
Never mind. I re-ran the failing test today and it passed. |
|
✋ 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/deetergp in version: 1.3.34-0 🚀
|
|
🚀 Deployed to production by https://github.com/thienlnam in version: 1.3.34-1 🚀
|
Details
Updated
ReportActionComposecomponent to changehasDraftCommentstatus ofReporttotrueif user has draft message for this report in localStorage. And updatedOptionRowLHNfor the same.Fixed Issues
$ #19623
PROPOSAL: #19623 (comment)
Tests
Test 1
Test 2
Offline tests
QA Steps
Same as "Tests" Section above.
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
screencast.mp4
Mobile Web - Chrome
web-chrome.mp4
Mobile Web - Safari
safari.mp4
Desktop
desktop.mp4
iOS
ios.mp4
Android
android.mp4