-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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-08-17] [$1000] Web - Country suggestion does not work with head or trail space #23727
Comments
ProposalPlease re-state the problem that we are trying to solve in this issue.We want the country selection to work if there is a head or trail space What is the root cause of that problem?Here, we are not using the trimmed value of search What changes do you think we should make in order to solve the problem?There are 2 solutions to this
But the search still feels broken as it won't work for some other search text, like when a text has extra spaces in the middle ex:
so search values like these will fail
I think we should also remove these by using some regex like Optional: What alternative solutions did you explore? (Optional)N/A |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
Triggered auto assignment to @danieldoglas ( |
This doesn't need to be a deploy blocker, so removing the hourly/deployblockercash labels and adding bug |
Triggered auto assignment to @JmillsExpensify ( |
Bug0 Triage Checklist (Main S/O)
|
Also adding External for this. |
Job added to Upwork: https://www.upwork.com/jobs/~01918263d8bfff6b0e |
Current assignee @JmillsExpensify is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @eVoloshchak ( |
Removing myself from the issue for now until there are proposals. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Web - Country suggestion does not work with head or trail space What is the root cause of that problem?App/src/components/CountryPicker/CountrySelectorModal.js Lines 36 to 44 in ac74ab9
We're trimming the searchValue but not doing the filter based on the Because of the not trimmed value we're not getting any results What changes do you think we should make in order to solve the problem?Changing this
return _.filter(data, (country) => country.text.toLowerCase().includes(trimmedSearchValue.toLowerCase())); should work perfect What alternative solutions did you explore? (Optional)NA |
@danieldoglas I added a proposal here |
📣 @eVoloshchak Please request via NewDot manual requests for the Reviewer role ($1000) |
📣 @huzaifa-99 You have been assigned to this job! |
📣 @gadhiyamanan 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app! |
Thanks for the assignment, pr will be ready for review shortly |
PR is ready for review @eVoloshchak. |
Looks like @eVoloshchak will be reviewing today. |
🎯 ⚡️ Woah @eVoloshchak / @huzaifa-99, great job pushing this forwards! ⚡️ The pull request got merged within 3 working days of assignment, so this job is eligible for a 50% #urgency bonus 🎉
On to the next one 🚀 |
This was merged ahead of schedule. Not overdue 😄 |
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.52-5 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-08-17. 🎊 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:
As a reminder, here are the bonuses/penalties that should be applied for any External 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:
|
|
Regression Test Proposal
Do we agree 👍 or 👎 |
Payment summary for this issue:
Upwork is here: https://www.upwork.com/jobs/~01918263d8bfff6b0e. I've extended contracts to issue reporter and contributor. @eVoloshchak You payment has been reviewed and approved for NewDot. |
Accepted the offer @JmillsExpensify. Thanks |
Paid out both issue reporter and contributor. Will close this issue out once I add the regression issue and process payment in NewDot. |
I think one can be closed? But feel free to reopen if there's anything left to do here. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
Should show country suggestion if there is head or trail space
Actual Result:
Country suggestion does not work with head or trail space
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
**Version Number:**1.3.45-8
Reproducible in staging?: y
Reproducible in production?: new feature
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
Notes/Photos/Videos: Any additional supporting documentation
Screen.Recording.2023-07-26.at.7.25.29.PM.1.mov
Recording.3931.mp4
Expensify/Expensify Issue URL:
Issue reported by: @gadhiyamanan
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1690379902974339
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: