-
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
Fix/27165: Only display recent destination if search input is empty #28124
Conversation
Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers! |
@burczu Could you help to review the PR on fork lib and then review this PR ? |
@DylanDylann Yes - I'll review it today. |
Reviewer Checklist
Screenshots/VideosWeb28124-web.movMobile Web - Chrome28124-web-chrome.movMobile Web - Safari28124-web-safari.movDesktop28124-desktop.moviOS28124-ios.movAndroid28124-android.mov |
@DylanDylann I think it does not work correctly... At first, it shows recent searches and thats ok, then when I start typing some incorrect address, the recents list still persists - please check the video below: Screen.Recording.2023-09-27.at.11.58.51.mov |
@burczu Do you apply change in this fork lib |
No - I didn't know I need to. And I think we need to wait until the other branch is merged and deployed... We can't merge this one without the other one. |
@burczu You can apply these change in here to node-module of App repository to test first. And then we should review/merge Expensify/react-native-google-places-autocomplete#8 after that we can update version of react-native-google-places-autocomplete in App repo to everything work well |
It seems only internal engineer can merge PRs |
Yes, I know I can test it this way - but still, first the other PR needs to be merged and here we need to add the update in the |
@burczu I see in other issues that C+ needs to approve before requesting a review from an internal engineer in all repos of Expensify |
@DylanDylann Ok, I can review the PR in the library first. |
@burczu Bump, I updated version of react-native-google-places-autocomplete. Could you help to review this PR? |
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
@youssef-lr Bump, Please help to review this PR |
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!
✋ 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/youssef-lr in version: 1.3.76-0 🚀
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.3.76-6 🚀
|
🚀 Deployed to staging by https://github.com/youssef-lr in version: 1.3.77-0 🚀
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.3.77-7 🚀
|
@@ -250,7 +250,6 @@ function WaypointEditor({route: {params: {iouType = '', transactionID = '', wayp | |||
state: null, | |||
}} | |||
predefinedPlaces={recentWaypoints} | |||
resultTypes="" |
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.
Why was this removed? This is important since it allows us to get suggested addresses by the name of a place, business, etc. I created a bug for this regression. @DylanDylann @burczu @youssef-lr
Details
New design:
Fixed Issues
$ #27165
PROPOSAL: #27165 (comment)
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)/** 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-09-26-at-12.57.49.mp4
Mobile Web - Chrome
Screen-Recording-2023-09-26-at-13.00.25.mp4
Mobile Web - Safari
Screen-Recording-2023-09-26-at-13.04.02.mp4
Desktop
Screen-Recording-2023-09-26-at-13.17.51.mp4
iOS
Screen.Recording.2023-09-27.at.11.51.46.mov
Android
Screen.Recording.2023-09-27.at.18.17.44.mov