-
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
[HOLD for payment 2023-09-25] [$500] Web - When manually entering a timezone, "No results found" is not shown when there are no search results #26573
Comments
Triggered auto assignment to @jliexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
Proposal by: @namhihi237 ProposalPlease re-state the problem that we are trying to solve in this issue.Show "No results found" when no search result What is the root cause of that problem?We are using App/src/pages/settings/Profile/TimezoneSelectPage.js Lines 74 to 83 in 08c2f5d
What changes do you think we should make in order to solve the problem?We should add
What alternative solutions did you explore? (Optional)N/A |
@kbecciv and @namhihi237 I don't think this is a bug: it's working as intended, as you've disabled the location and are typing a series of numbers. Sure, it would be nice to surface an error, but at the same time, users shouldn't expect anything to pop up if they're typing numbers in a field that uses letters. I don't see this as a true, valid bug. |
Hi @jliexpensify Don't just enter numbers, if you enter letters without results, it still won't display "no results found". I see in the app we currently have several search places. At the same, "no results found" is displayed everywhere if the user searches without seeing results. |
thanks @jliexpensify. |
Job added to Upwork: https://www.upwork.com/jobs/~018b22f58c3d2060c6 |
Current assignee @jliexpensify is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @narefyev91 ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Show "No results found" when no search result What is the root cause of that problem?
App/src/components/SelectionList/BaseSelectionList.js Lines 337 to 339 in 4676492
What changes do you think we should make in order to solve the problem?Instead of manually adding This is more efficient and is addressing common case where the list does not have content to show.
We can further refactor the code above so that the header message element can be reused. What alternative solutions did you explore? (Optional)N/A |
I was looking through this problem. This closely resembles to one I found on SO. The problem is: You can't use SectionList's ListEmptyComponent to achieve this as you do with the FlatList component. ListEmptyComponentis only triggered when the data prop is empty. If however you have any section in the data prop, then ListEmptyComponent won't be triggered. This link surely will be useful |
📣 @mubin-khalid! 📣
|
Proposal from @namhihi237 looks good to me #26573 (comment) |
Triggered auto assignment to @danieldoglas, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @namhihi237 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
📣 @namhihi237 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app! |
Based on my calculations, the pull request did not get merged within 3 working days of assignment. Please, check out my computations here:
On to the next one 🚀 |
Payment summary:
|
Bump for @narefyev91 to complete the checklist please! |
|
Paid and job closed! |
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:
Show "No results found"
Actual Result:
Not displayed "No results found"
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.62.0
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
Notes/Photos/Videos: Any additional supporting documentation
Screen.Recording.2023-08-28.at.22.22.43.mov
Recording.4196.mp4
Expensify/Expensify Issue URL:
Issue reported by: @namhihi237
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1693236150330049
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: