-
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
VBA - Error message for manually entered address in the field in company info and unable to proceed #5841
Comments
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
Triggered auto assignment to @robertjchen ( |
closing out as this is not a valid address and working correctly. We could handle the message more descriptively, but let's kick that to polish. |
@kevinksullivan this is reproducible with valid addresses and each time the user decides to don't use the address picker (enter the address manually) |
Removing as a deploy blocker, but definitely an issue we need to resolve. Also discussing longer term plans here, so perhaps we hold on a larger discussion @trjExpensify @JmillsExpensify ? https://expensify.slack.com/archives/C020EPP9B9A/p1634274922234500 |
Switching to |
Yeah, I think the main enhancement for the address field is to be able to modify the content. I'm open to an additional @aldo-expensify had some thoughts on that here. |
Yep, it is not obvious at all that the user MUST select a result from the picker |
There are three things that I think we should improve Selecting a result from the autocomplete is mandatory and is not obviousOne possible solution could be to clear the field on blur if the user doesn't select anything to make it more obvious that he has to select something Results that are not an "address", but a "route"In some cases we offer results in the autocomplete that don't have enough information. I.e, search for "25220 Quail Ridge Road, Escondido, CA 97027" and click the result: "Quail Ridge Road, Escondido, CA, USA". I would be ideal to avoid showing results that we reject, the PR mentioned below doesn't do that, it just rejects the address with missing parts after it has been selected. Related GH issue: #5840 Results that are an "address", but are missing somethingWe found that some results in NY are missing the "locality" field, which we use as the city. This has been fixed in the PR below by using the field "sublocality" when "locality" is missing. This may be fixed, but is hard to know if other weird cases could appear. We are going to be logging when the user chooses an incomplete address result. |
Why is it mandatory? Isn't the other solution here to allow for manual input or modifying a search result returned? e.g adding in an apt/unit number etc.
I agree with this sentiment. Showing results we reject isn't helpful.
In this example, why aren't we returning
This is a great idea to keep 👀 on it! |
After a result is selected, we take 4 information pieces from it: If we want the user to be able to input manually, we will have to put back the 4 mentioned fields.
We are returning it
Yes If you search "25220 Quail Ridge Road, Escondido, CA 97027", we show these results (and some others):
If the user clicks "Quail Ridge Road, Escondido, CA, USA", we give a validation error when he clicks "Save & Continue" |
Issue reproducible during KI retests. |
Is the suggested fix here to be more specific with the error message? Otherwise, it's working as intended since it's preventing us from continuing with an invalid address. |
Hmm this feels pretty rough still. Additionally, this means it's impossible to enter an apartment number if not shown, right? I believe @MitchExpensify ran into this problem as well. I think address lookup works really well for most cases, but it completely blocks users from going forward as well. I wonder if we pursue an alternative solution that auto-fills information but still lets a user manually edit it? Because address lookup is realistically too strict for individuals who often times will have a unit number that doesn't populate. |
Yep, it is impossible to enter an apartment number. I agree with that we should offer an alternative where the user can enter / modify things manually. I could work on that if we define how it should work :) |
Issue reproducible during KI retests. |
So what are the decisions to make here?
Anything else? |
The decided way to go was discussed here: https://expensify.slack.com/archives/C03TQ48KC/p1635812089454700 In summary:
|
That sounds good to me! @aldo-expensify looks like you're already working on PR for this? 🙏 |
Yep! this PR: #6200 |
Re-assigned to you! 😅 Let me know if I can help with anything 👍 |
Resolving conflicts in PR, after that it should be ready for review. |
this looks good in my opinion, close to what we are doing in the PR, except for the |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Issue was found when executing #5771
Action Performed:
Expected Result:
After entering address manually in company info page user should be able to proceed to personal info page
Actual Result:
Error message displayed as "Please enter a valid street address that is not a PO Box" in company address field and unable to proceed
Workaround:
Unknown
Platform:
Where is this issue occurring?
Version Number: v1.1.7-12
Reproducible in staging?: Yes
Reproducible in production?: Credentials will not work in production
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
Expensify/Expensify Issue URL:
Issue reported by: Applause
Slack conversation:
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: