-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
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
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.
Sorry for the delay, I got sick yesterday 🙏
We need to revert the podfile lock and I have question about the new Onyx context.
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.
@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 |
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.
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
ReportActionCompose
component to changehasDraftComment
status ofReport
totrue
if user has draft message for this report in localStorage. And updatedOptionRowLHN
for 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 Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.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