-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
[$250] Search - When plenty of expenses are created already, haven't created expenses message shown #51168
Comments
Triggered auto assignment to @isabelastisser ( |
@isabelastisser FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
Edited by proposal-police: This proposal was edited at 2024-10-21 10:54:45 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.When plenty of expenses are created already, haven't created expenses message shown What is the root cause of that problem?App/src/components/Search/index.tsx Line 280 in 4575341
We only check if data.length===0 here.
What changes do you think we should make in order to solve the problem?We should add an additional check, show Optionally we could create a new component to show user for What alternative solutions did you explore? (Optional)Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Search - When plenty of expenses are created already, haven't created expenses message shown What is the root cause of that problem?We show "You haven't created any expenses yet" text on empty expense result Lines 4292 to 4293 in b2fc5c9
This copy is not correct and not align the real situation What changes do you think we should make in order to solve the problem?Change the copy to cover both conditions, either there is no expense created yet or no expense match the search term/filter We can change to something like "No expenses to display", change both on en.ts and es.ts What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.Search - When plenty of expenses are created already, haven't created expenses message shown What is the root cause of that problem?We currently display App/src/pages/Search/EmptySearchView.tsx Lines 116 to 129 in b2fc5c9
What changes do you think we should make in order to solve the problem?We should check for no data created yet by additionally checking if App/src/components/Search/index.tsx Line 280 in b2fc5c9
pass App/src/components/Search/index.tsx Line 287 in b2fc5c9
so that the common App/src/pages/Search/EmptySearchView.tsx Lines 139 to 140 in b2fc5c9
We can solve similar problem for What alternative solutions did you explore? (Optional)We can also optionally make the |
Job added to Upwork: https://www.upwork.com/jobs/~021848389047150206359 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mollfpr ( |
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: V9. 0.51-1
Reproducible in staging?: Y
Reproducible in production?: Y
Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
When plenty of expenses are created already, haven't created expenses message must not be displayed.
Actual Result:
When plenty of expenses are created already, haven't created expenses message is displayed.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6640858_1729506326799.screenrecorder-2024-10-20-14-42-36-244_compress_1.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @mollfprThe text was updated successfully, but these errors were encountered: