-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[HOLD for payment 2023-11-22] [$500] Distance - Address search term not highlighted on refocus #30198
Comments
ProposalPlease re-state the problem that we are trying to solve in this issue.Text is not selected when focused on the text input in way point selection page. What is the root cause of that problem?We are not passing the prop App/src/components/AddressSearch/index.js Line 402 in 3f32b7d
in GooglePlacesAutocomplete .
What changes do you think we should make in order to solve the problem?We should also pass the textInputProps={{
selectTextOnFocus: true, What alternative solutions did you explore? (Optional)ResultselectOnFocusWayPoint.mov |
ProposalPlease re-state the problem that we are trying to solve in this issue.The address search term is not selected on refocus What is the root cause of that problem?We do not pass the param App/src/components/AddressSearch/index.js Line 402 in e968637
What changes do you think we should make in order to solve the problem?We should pass the param selectTextOnFocus = true in here What alternative solutions did you explore? (Optional)N/A |
Triggered auto assignment to @JmillsExpensify ( |
Job added to Upwork: https://www.upwork.com/jobs/~0142e6f24bf8176632 |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @cubuspl42 ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
What alternative solutions did you explore? (Optional)
|
Open for proposals and should be going through proposal review soon. |
@DylanDylann While I get the general idea of your proposal, I'm unsure if I fully understand the details of when/how |
@cubuspl42 sure, please wait a minute |
#30326 @cubuspl42 please help check this PR and here is the result: Screencast.from.25-10-2023.14.40.54.webm
|
I think selecting/highlighting the whole search string when a user clicks on waypoint to edit it is better because, in Autocomplete situations like these, it is unlikely that a user adds a letter after the existing way point or delete some letters from the waypoint. |
@DylanDylann I tested your solution, and it doesn't seem to be a noticeable improvement. It's related to a corner case. A user can still easily place their cursor at any position of the text input with another click, if they want to. |
I approve the proposal by @c3024, which is the first one to suggest passing the C+ reviewed 🎀 👀 🎀 |
Triggered auto assignment to @Julesssss, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@Julesssss Should this be the expected behavior? #30198 (comment). If not, i think @c3024 `s proposal is the best |
I agree with @cubuspl42 here. Assigning @c3024 |
It's worth noting that to get to the state from the first frame of that video, the user has to first search for and select an address. If we'd like to improve the UX here in the future, we could consider adding a "Put this result in the search field" button (the diagonal arrow on my screenshot). But I'm not suggesting this has a high priority. |
Current assignee @cubuspl42 is eligible for the External assigner, not assigning anyone new. |
@JmillsExpensify any idea what label I'm missing here? Melvin didn't seem to add some of the UpWork/raise a PR comments. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.99-0 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2023-11-22. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
|
Closing the loop on payments. Thanks for the regression suggestion @cubuspl42! Payment summary:
|
Offers sent to everyone in Upwork based on the above summary. |
Everyone has been paid out based on the summary above and no regression test required, so closing one out! |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.3.89.6
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @dhanashree-sawant
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1698057007022009
Action Performed:
Expected Result:
App should highlight search term on refocus
Actual Result:
App does not highlight search term on refocus for address search
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Android: Native
Android.native.no.search.selection.address.mp4
Android: mWeb Chrome
Android.chrome.no.select.of.search.address.mp4
iOS: Native
ios.native.no.search.focus.address.mov
iOS: mWeb Safari
ios.safari.no.search.focus.address.mov
MacOS: Chrome / Safari
mac.chrome.no.search.selection.address.mov
windows.chrome.no.highlight.search.term.address.mp4
Recording.5123.mp4
MacOS: Desktop
mac.desktop.no.search.selection.address.mov
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: