-
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] [$50] [Search v2.3] - Default search name shows the report/user ID instead of report/user name #49216
Comments
Triggered auto assignment to @sakluger ( |
Triggered auto assignment to @thienlnam ( |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
Edited by proposal-police: This proposal was edited at 2023-10-20T13:45:00Z. ProposalPlease re-state the problem that we are trying to solve in this issue.Saved search - Default search name shows the report/user ID instead of report/user name What is the root cause of that problem?From: #48566 App/src/pages/Search/SearchTypeMenu.tsx Line 103 in 2dc08e9
What changes do you think we should make in order to solve the problem?
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.default search name shows ID instead of name What is the root cause of that problem?when saving a search query, we use the raw query as name App/src/libs/actions/Search.ts Line 55 in 0c618ac
What changes do you think we should make in order to solve the problem?Use getSearchHeaderTitle to get a more user friendly string. so the update code will be const saveSearchName = name ?? SearchUtils.getSearchHeaderTitle(queryJSON, personalDetails, cardList, reports, taxRates) ?? ''; 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. |
Job added to Upwork: https://www.upwork.com/jobs/~021835502366052877051 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @jayeshmangwani ( |
I already put up a PR with a slightly different solution since we shouldn't update the actual saved search name (we wanna be able to dynamically get those if the display name changes, etc) |
@luacmartins That PR could break the rename functionality. If you rename a search, it would still show the query instead of the name. My changes only affects when name provided by user is undefined Also, I think your PR partially implements proposal by @ishpaul777 |
Ah yes, I noticed that as well. I updated the PR and I agree that in the end the solution was quite similar to @ishpaul777's solution. I'll make sure that we compensate them for the solution. |
Fixed on staging |
I haven't reviewed the PR; Unassigning myself from the issue |
This is done |
we need to sort payment #49216 (comment) 😅 can we reopen @luacmartins |
@sakluger could you please help pay $50 to @ishpaul777 since we used their solution? Thank you! |
Upwork job price has been updated to $50 |
@ishpaul777 I sent you an offer here: https://www.upwork.com/nx/wm/offer/104254193 Please let me know once you've accepted the offer. Thanks! |
Accepted! Thanks! |
Thanks, all paid! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.0.35-0
Reproducible in staging?: Y
Reproducible in production?: N
Email or phone of affected tester (no customers): applausetester+kh010901@applause.expensifail.com
Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
Default search name will show the report name.
Actual Result:
Default search name shows the report ID instead of report name.
Ths same goes for user ID when "From" filter is saved.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6603195_1726295110542.bandicam_2024-09-14_09-18-53-000.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @jayeshmangwaniThe text was updated successfully, but these errors were encountered: