Repository navigation
[TS Migration] Migrate CheckboxWithLabel.js component to TypeScript - #32814
Conversation
|
Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers! |
| <View style={[styles.flexRow, styles.alignItemsCenter, styles.breakWord]}> | ||
| <Checkbox | ||
| isChecked={isChecked} | ||
| onPress={toggleCheckbox} |
There was a problem hiding this comment.
| onPress={toggleCheckbox} | |
| onPress={toggleCheckbox} | |
| label={props.label} |
Why did you remove label?
There was a problem hiding this comment.
It's not a valid prop for Checkbox
|
@pac-guerreiro feel free to take another look 😄 |
|
@JKobrynski LGTM 👍 |
|
@aimane-chnaif @ 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] |
aimane-chnaif
left a comment
There was a problem hiding this comment.
- role={CONST.ACCESSIBILITY_ROLE.CHECKBOX}
+ role={CONST.ROLE.CHECKBOX}
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid.movAndroid: mWeb Chromemchrome.moviOS: Nativeios.moviOS: mWeb Safarimsafari.movMacOS: Chrome / Safariweb.movMacOS: Desktopdesktop.mov |
|
We did not find an internal engineer to review this PR, trying to assign a random engineer to #25048 as well as to this PR... Please reach out for help on Slack if no one gets assigned! |
|
@mountiny no engineer here either, can you help? 😄 |
|
@JKobrynski @arosiclair is engineer 😄 |
|
I am not the only engineer at Expensify @JKobrynski 😂 |
|
✋ 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/arosiclair in version: 1.4.14-0 🚀
|
|
🚀 Deployed to staging by https://github.com/arosiclair in version: 1.4.14-0 🚀
|
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 1.4.14-6 🚀
|
Details
Fixed Issues
$ #25048
PROPOSAL: N/A
Tests
CheckboxWithLabelcomponent on the bottom (I accept the Expensify Terms of Service)Offline tests
N/A
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)StyleUtils.getBackgroundAndBorderStyle(theme.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
Android: Native
android-compressed.webm
Android: mWeb Chrome
chrome-compressed.webm
iOS: Native
ios-compressed.mp4
iOS: mWeb Safari
safari-compressed.mp4
MacOS: Chrome / Safari
web-compressed.mov
MacOS: Desktop
desktop-compressed.mov