-
Notifications
You must be signed in to change notification settings - Fork 3.5k
[Travel] [Refactor] Create a new shared component for AddressPage #41970
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
[Travel] [Refactor] Create a new shared component for AddressPage #41970
Conversation
| import {CONST as COMMON_CONST} from 'expensify-common/lib/CONST'; | ||
| import CONST from '@src/CONST'; | ||
|
|
||
| type CustomParamList = ParamListBase & Record<string, Record<string, string>>; |
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.
What do you think to remove CustomParamList and instead use the type from here (or similar)?
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.
I have changed it a bit, what about how it is done now?
jnowakow
left a comment
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.
👌
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-05-19.at.2.51.45.in.the.afternoon.movAndroid: mWeb ChromeScreen.Recording.2024-05-19.at.2.10.15.in.the.afternoon.moviOS: NativeScreen.Recording.2024-05-19.at.2.41.31.in.the.afternoon.moviOS: mWeb SafariScreen.Recording.2024-05-19.at.2.15.42.in.the.afternoon.movMacOS: Chrome / SafariScreen.Recording.2024-05-15.at.9.53.08.in.the.morning.movMacOS: DesktopScreen.Recording.2024-05-19.at.2.20.22.in.the.afternoon.mov |
|
Screen.Recording.2024-05-19.at.2.00.36.in.the.afternoon.movThis is probably out of this PRs scope |
|
@smelaa and we've a merge conflict. |
Screen.Recording.2024-05-19.at.2.00.36.in.the.afternoon.mov |
|
@getusha I am not able to reproduce this problem. android.mp4Safari on IOS: ios.mp4Does it happen on main branch or different devices? |
I can reproduce it on main, it's probably an issue from the emulator. |
mountiny
left a comment
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.
mountiny
left a comment
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.
Thanks!
|
🚀 Deployed to staging by https://github.com/chiragsalian in version: 1.4.76-0 🚀
|
|
🚀 Deployed to production by https://github.com/Beamanator in version: 1.4.76-7 🚀
|
Details
Fixed Issues
$ #41965
PROPOSAL:
Tests
To be able to perform steps 6-7 you need to be spotnana travel beta or modify
canUseSpotnanaTravelfunction fromPermissions.tsto return alwaystrue.Offline tests
N/A
QA Steps
Same as tests
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 and/or tagged@Expensify/designso 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.webm
Android: mWeb Chrome
android_web.webm
iOS: Native
Simulator.Screen.Recording.-.iPhone.15.Pro.-.2024-05-10.at.13.33.43.mp4
iOS: mWeb Safari
Simulator.Screen.Recording.-.iPhone.15.Pro.-.2024-05-10.at.13.35.49.mp4
MacOS: Chrome / Safari
Screen.Recording.2024-05-10.at.13.14.39.mov
MacOS: Desktop
Screen.Recording.2024-05-10.at.13.18.15.mov