Added 'name' field to waypoint#29931
Conversation
|
@dubielzyk-expensify @mananjadhav 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] |
|
Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers! |
|
@mananjadhav I will attach the videos today (have to compress them without losing all the quality 😅) In the meantime, feel free to go over the changes |
|
@mananjadhav @dubielzyk-expensify All the videos have been added |
|
Thanks @esh-g. I'll get to this in a while. |
Co-authored-by: Manan <manan.jadhav@gmail.com>
|
@esh-g Can you confirm that we don't need to update |
|
@mananjadhav I don't think so because in the stories page, we are not able to access the places from the API anyway... It only shows the |
|
I just checked that. I asked because we're updating the view behavior of the component, but it looks like we don't pass the props to be able to populate the UI. Thanks for confirming. |
|
I think we have one issue here. Assuming if we have users with existing recent pins. They won't show up because the name is empty. web-empty-name.movI am not sure if it's a case to consider, but this can lead to a bad experience for the user. |
|
@mananjadhav I also noticed that but it will only be faced for the current users until they don't replace their recents with the new format... I'm not sure if this would be a case to consider as well. So, please let me know if I should do so... |
|
I think it's a non-issue. Hence I am going ahead with the testing. We'll confirm with @neil-marcellini on this one. |
Reviewer Checklist
Screenshots/VideosMobile Web - Safarimweb-safari-places-name-list-and-preview.movDesktopdesktop-places-name-list-and-preview.moviOSios-places-name-list-and-preview.movAndroidandroid-name-places-list.mov |
|
Thanks for the quick PR @esh-g. @neil-marcellini All yours. Want your feedback on this comment. 🎀 👀 🎀 C+ reviewed. |
|
@dubielzyk-expensify @neil-marcellini Just pushed a commit to handle that case... Let me know if it looks good! |
|
Gentle bump @neil-marcellini @dubielzyk-expensify |
neil-marcellini
left a comment
There was a problem hiding this comment.
Great job on this so far! It's getting a bit tricky because we have to consider that existing recent waypoints don't have the name field. I'm pushing back on the design decision a bit and we'll discuss it in Slack. I'll let you know what we decide. In the meantime you can get started on the other changes.
|
@neil-marcellini Really sorry for the delay... I have made all the requested changes. The main difference of opinion here was that I thought |
|
gentle bump @neil-marcellini |
We decided in Slack (internally) that it's ok to have the address displayed in the secondary text style when the place name is missing. |
|
@neil-marcellini Are you saying that only for the distance receipt or also for the suggestion row? |
neil-marcellini
left a comment
There was a problem hiding this comment.
Thank you for the cleanup so far @esh-g. We made our decision about the styling, so would you please get that updated too? Please DM me if you have questions and let me know when it's ready for another review.
neil-marcellini
left a comment
There was a problem hiding this comment.
Ok, thanks for all the updates. I think it's good to go.
|
@mananjadhav would you please test once more since we have made a handful of changes? |
|
I will test this in a few hours. |
|
@neil-marcellini @esh-g Tested with the updated changes. Screenshots/VideosWebweb-name-in-places.movMobile Web - Chromemweb-chrome-name-in-places.movMobile Web - Safarimweb-safari-name-in-places.movDesktopdesktop-name-in-places.moviOSios-name-in-places.movAndroidandroid-name-in-places.mov |
|
gentle bump @neil-marcellini |
|
✋ 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/neil-marcellini in version: 1.3.91-1 🚀
|
|
🚀 Deployed to production by https://github.com/marcaaron in version: 1.3.91-8 🚀
|
|
🚀 Deployed to staging by https://github.com/neil-marcellini in version: 1.3.93-0 🚀
|
|
🚀 Deployed to production by https://github.com/Beamanator in version: 1.3.93-1 🚀
|



Details
Bifurcated the address search with title and description for each address with a new field called
namefor each address.Fixed Issues
$ #29222
$ #30255
PROPOSAL: #29222 (comment)
Tests
Offline tests
QA Steps
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)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.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
Screen.Recording.2023-10-19.at.8.43.42.PM-1.mov
Android: mWeb Chrome
71c90eb4-7d6b-4e4b-b6ae-ebdb07e706b9.mp4
iOS: Native
Screen.Recording.2023-10-19.at.9.47.42.PM.mov
iOS: mWeb Safari
9bafcaf4-69cf-4042-8681-b62a7b4c1426.mp4
MacOS: Chrome / Safari
991f7234-ab0f-433d-843c-c0161d68da8a.mp4
MacOS: Desktop
Screen.Recording.2023-10-19.at.9.25.39.PM-1.mov