-
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
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 |
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.
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? |
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.
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.
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.
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
name
for each address.Fixed Issues
$ #29222
$ #30255
PROPOSAL: #29222 (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
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