-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[TS migration] Migrate 'AddressSearch' component to TypeScript #34231
[TS migration] Migrate 'AddressSearch' component to TypeScript #34231
Conversation
Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers! |
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.
Good job, LGTM!
src/components/AddressSearch/isCurrentTargetInsideContainer.native.ts
Outdated
Show resolved
Hide resolved
@VickyStash take a look again pls |
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
@shubham1206agra 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] |
@filip-solecki Can you merge main here? |
@shubham1206agra main merged! |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-01-16.at.8.17.59.PM.movAndroid: mWeb ChromeiOS: NativeScreen.Recording.2024-01-16.at.8.22.09.PM.moviOS: mWeb SafariMacOS: Chrome / SafariScreen.Recording.2024-01-16.at.8.26.46.PM.mp4MacOS: DesktopScreen.Recording.2024-01-16.at.8.56.04.PM.mp4 |
@filip-solecki Please resolve conflicts here and address comment. |
@shubham1206agra All done! |
✋ 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/thienlnam in version: 1.4.27-0 🚀
|
🚀 Deployed to production by https://github.com/thienlnam in version: 1.4.27-1 🚀
|
const theme = useTheme(); | ||
const styles = useThemeStyles(); | ||
const StyleUtils = useStyleUtils(); | ||
const {translate} = useLocalize(); |
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.
Hi team, coming from #54584. We removed HOC withLocalize
, and replaced it with hook useLocalize
, then we need to retrieve preferredLocale
from the hook as well, otherwise translation won't work. More details #54584 (comment)
Details
Fixed Issues
$ #25094
PROPOSAL:
Tests
Offline tests
QA Steps
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)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label so the design team can review the changes.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
Android: Native
Android.mov
Android: mWeb Chrome
Android_Chrome.mov
iOS: Native
iOS.mp4
iOS: mWeb Safari
iOS_Safari.mp4
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
Desktop.mov