Repository navigation
[TS migration] Migrate 'AttachmentPicker' component to TypeScript - #37810
Conversation
blazejkustra
left a comment
There was a problem hiding this comment.
Great work! Just couple of comments
|
@blazejkustra Thanks for your comments and suggestions. I just updated the code, please check again. |
|
@blazejkustra I just updated the code, please check again 🙏 |
|
@dukenv0307 Is this ready for a another review? cc @situchan |
|
@situchan @blazejkustra I updated the code, please check again 🙏 |
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid.movAndroid: mWeb Chromemchrome.moviOS: Nativeios.moviOS: mWeb Safarimsafari.movMacOS: Chrome / Safariweb.movMacOS: Desktopdesktop.mov |
|
I finished review on my side. Tests well. |
Co-authored-by: Situ Chandra Shil <108292595+situchan@users.noreply.github.com>
|
We did not find an internal engineer to review this PR, trying to assign a random engineer to #25134 as well as to this PR... Please reach out for help on Slack if no one gets assigned! |
| }); | ||
| } | ||
| }; | ||
| export default launchCameraIOS; |
There was a problem hiding this comment.
If a module exports something as a default, then it should be exporting something with the same name as the file. Can you please change this to export launchCamera instead, please?
There was a problem hiding this comment.
I suggest importing launchCamera with an alias name in that case. Maybe launchCameraImagePicker
Co-authored-by: Tim Golen <tgolen@gmail.com>
|
@tgolen I added descriptions, please check again 🙏 |
tgolen
left a comment
There was a problem hiding this comment.
Thank you for adding all the descriptions!
| }); | ||
| } | ||
| }; | ||
| export default launchCameraIOS; |
There was a problem hiding this comment.
I suggest importing launchCamera with an alias name in that case. Maybe launchCameraImagePicker
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Details
Fixed Issues
$ #25134
PROPOSAL: #25134 (comment)
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.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)Designlabel so the design team can review the changes.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-resize.mp4
Android: mWeb Chrome
android-mweb-resize.mp4
iOS: Native
ios-resize.mp4
iOS: mWeb Safari
ios-mweb-resize.mp4
MacOS: Chrome / Safari
web-resize.mp4
MacOS: Desktop
desktop-resize.mp4