Conversation
|
Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers! |
|
@Julesssss @eVoloshchak One of you needs to 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] |
|
Hey, This is a new PR. I closed the previous one by mistake. I hope you understand |
|
Hey @someone-here, unfortunately I think you'll need to resubmit the PR with signed commits as this test is failing and we have no way to override it. Also, I had trouble pulling the branch yesterday, is there any chance you could raise the PR from a branch in your forked repo? ( think that's what most other people do) |
|
Okay, I'll fix the styling and sign the commit. And Do you mean that I should create a new branch from the forked repo and open a new PR from that? |
Yeah, that's how I'm usually able to test a PR. Thanks for your patience here, next time should be easier :) |
|
Okay, so should I close this PR now? |
|
@Julesssss I fixed the styling and signed with gpg key as well. |
|
Please once try to test the commit if possible on this branch. In the future, I will always make PR from a new branch in the fork |
|
@someone-here, the signed commits check is failing, could you please rebase your commits with the signed ones? (all of the commits have to be signed) Or it's probably easier to create a new PR, that will allow you to open it from a branch in your forked repo |
| ]), | ||
|
|
||
| onPress: (props, componentName) => { | ||
| if (props.onPress && props.onMouseDown) { |
There was a problem hiding this comment.
This code is repeated twice, let's have a separate requiredPropsCheck function, so it's consistent with the rest of the codebase and doesn't violate DRY
There was a problem hiding this comment.
Okay, sure! Will do now
Okay, then I'll create a new PR.... |
It's up to you, you can just rebase the commits if that's more convenient |
|
Made the new PR #13187 |
I think only the author can close the PR |
|
Ok, closing. |
@Julesssss @eVoloshchak
Details
Added a checkbox native file that takes care of the events
onMouseDownandonPresswhich seem to be causing this issue.Fixed Issues
$ #12018
PROPOSAL: #12018 (comment)
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA 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 aboveTestssectionOffline stepssectionQA 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/Videos
Web
Chrome-arm64.mov
Mobile Web - Chrome
Chrome-mobile.mp4
Web - Safari
Safari.mov
Desktop
desktop.mov
iOS
iOS.mov
Android
Android.mov