-
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
Migrate Checkbox.js to function component #20193
Conversation
@aimane-chnaif @hayata-suenaga 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] |
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.
just minor stylistic fixes 🙇
@NikkiWines lint failing. Also please pull main |
@aimane-chnaif @hayata-suenaga updated! |
@NikkiWines |
Thanks @aimane-chnaif - nice catch. Updated! |
These are actually bugs to fix. No reason why checkbox should be unchecked. web.mov |
Ah, yeah that definitely shouldn't be occurring but it's not a bug introduced as part of this PR - those steps are based off the behavior currently on |
Reviewer Checklist
Screenshots/VideosWebweb.movMobile Web - Chromemchrome.movMobile Web - Safarimsafari.movDesktopdesktop.moviOSios.movAndroidandroid.mov |
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.
LGTM 🎉
@hayata-suenaga all yours
✋ 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/hayata-suenaga in version: 1.3.29-0 🚀
|
Looks like the expected behavior is actually that the checkboxes stay checked. See this issue and the PR that fixes it (#20091) which was merged a day after this PR, explaining why we saw the non checked behavior on Tested this on staging and confirmed it was a pass using the updated steps ✅ Screen.Recording.2023-06-19.at.09.56.58.mov |
🚀 Deployed to production by https://github.com/luacmartins in version: 1.3.29-11 🚀
|
Details
Fixed Issues
$ #16123
PROPOSAL: N/A
Tests
011401533
and account number1111222233331111
, check the appropriate checkbox, and proceed to the company information stage.restricted businesses
checkbox, and proceeded to the personal information stagenotchecked.Offline tests
011401533
and account number1111222233331111
, check the appropriate checkbox.QA Steps
011401533
and account number1111222233331111
, check the appropriate checkbox, and proceed to the company information stage.notchecked.restricted businesses
checkbox, and proceeded to the personal information stagenotchecked.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
Screen.Recording.2023-06-07.at.14.55.13.mov
Mobile Web - Chrome
Screen.Recording.2023-06-09.at.10.22.58.mov
Mobile Web - Safari
Simulator.Screen.Recording.-.iPhone.14.-.2023-06-07.at.15.34.00.mp4
Desktop
Screen.Recording.2023-06-07.at.15.03.42.mov
iOS
Simulator.Screen.Recording.-.iPhone.14.-.2023-06-09.at.10.17.53.mp4
Android
android3.mov