Repository navigation
Pass empty function to PressableWithSecondaryInteraction - #21341
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] |
Reviewer Checklist
Screenshots/VideosWebScreen.Recording.2023-06-23.at.12.50.10.AM.mp4Mobile Web - Chromeaz_recorder_20230623_005111.mp4Mobile Web - SafariUntitled.1.mp4DesktopScreen.Recording.2023-06-23.at.1.02.13.AM.mp4iOSScreen.Recording.2023-06-23.at.12.59.07.AM.mp4Androidaz_recorder_20230623_010940.mp4 |
|
@luacmartins Minor updates on the author's checklist
|
abdulrahuman5196
left a comment
There was a problem hiding this comment.
Changes looks good and works well. Reviewers checklist is also complete
🎀👀🎀
C+ Reviewed
All yours. @luacmartins / @marcaaron
|
We did not find an internal engineer to review this PR, trying to assign a random engineer to #21339... Please reach out for help on Slack if no one gets assigned! |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
I wasnt able to CP this because it seems like the changes for branch protection broken the automerge CP flow #20791 |
Pass empty function to PressableWithSecondaryInteraction (cherry picked from commit 023c327)
…ing-21341 🍒 Cherry pick PR #21341 to staging 🍒
|
🚀 Cherry-picked to staging by https://github.com/roryabraham in version: 1.3.31-3 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/luacmartins in version: 1.3.31-3 🚀
|
|
🚀 Deployed to production by https://github.com/luacmartins in version: 1.3.31-3 🚀
|
Details
Passes an empty function to prevent the console error
Fixed Issues
$ #21339
$ #21393
Tests
Offline tests
N/A
QA Steps
Same as tests
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
web.mov
Mobile Web - Chrome
Mobile Web - Safari
Desktop
desktop.mov
iOS
Android