-
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 2024-10-04][$250] [Search v2.3] - Default name in name field displays user/report ID instead of user/report name #49739
Comments
Triggered auto assignment to @stitesExpensify ( |
👋 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:
|
We think that this bug might be related to #wave-control |
Edited by proposal-police: This proposal was edited at 2024-09-25 21:41:18 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Default name in name field displays user/report ID instead of user/report name What is the root cause of that problem?Here we are using title to convert reportID/userID to their names App/src/pages/Search/SearchTypeMenu.tsx Lines 103 to 108 in 55b1e32
But here we are passing item.name without updating itApp/src/pages/Search/SearchTypeMenu.tsx Line 120 in 55b1e32
We then use this item.name here to navigate to rename pageLine 787 in 6a9ba21
and Then, on the Rename page, we get this name from the route. Since we haven't passed the updated title, we’ll see userID/ReportID instead of their names.
What changes do you think we should make in order to solve the problem?We should pass App/src/pages/Search/SearchTypeMenu.tsx Line 120 in 55b1e32
What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.The default name in search name field displays user ID instead of user name What is the root cause of that problem?Currently we are getting name directly from query when there is no name here App/src/pages/Search/SavedSearchRenamePage.tsx Lines 22 to 23 in 912c330
What changes do you think we should make in order to solve the problem?We should convert from
and need to update the default value to
What alternative solutions did you explore? (Optional)NA |
Proposal Updated |
ProposalPlease re-state the problem that we are trying to solve in this issue.Default name in name field displays user/report ID instead of user/report name What is the root cause of that problem?We don't pass the updated item title for App/src/pages/Search/SearchTypeMenu.tsx Line 120 in a4a344b
What changes do you think we should make in order to solve the problem?We should pass the updated title to : rightComponent: <SavedSearchItemThreeDotMenu menuItems={getOverflowMenu(title, Number(key), item.query)} />,\ Note: This bug does not occur for small screen devices as we pass it correctly here. ResultThis works perfectly: Screen.Recording.2024-09-26.at.1.50.57.AM.mov |
Job added to Upwork: https://www.upwork.com/jobs/~021839048305434680628 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rayane-djouah ( |
Triggered auto assignment to @kadiealexander ( |
Reviewing 👀 |
@rayane-djouah I have updated my proposal to add detailed RCA for more clear understanding |
Offending PR: #49558 |
@Nodebrute's proposal looks good to me 🎀👀🎀 C+ reviewed |
Current assignee @stitesExpensify is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
📣 @rayane-djouah 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
PR will be ready in 30 minutes |
Note The production deploy automation failed: This should be on [HOLD for Payment 2024-10-04] according to #49662 production deploy checklist, confirmed in #49757 (comment) |
This is no longer a blocker since it was already fixed on the previous checklist |
[HOLD for Payment 2024-10-04] |
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:
|
Payouts due:
Upwork job is here. |
BugZero Checklist
Regression Test Proposal
Do we agree 👍 or 👎 |
We'll add tests as part of the project wrap up |
@kadiealexander I've accepted the offer |
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: 9.0.40-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
The default name in search name field will display user name instead of user ID
Actual Result:
The default name in search name field displays user ID instead of user name
The same goes for report ID when In filter is used for chat
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6615159_1727291077447.ID.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @rayane-djouahThe text was updated successfully, but these errors were encountered: