-
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-06-20] [$250] Workflow - Custom name user searched with email id shows no results found #42576
Comments
Triggered auto assignment to @abekkala ( |
We think this issue might be related to the #collect project. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Can't search user by email What is the root cause of that problem?This is the logic to filter the options on the approver page App/src/pages/workspace/workflows/WorkspaceWorkflowsApproverPage.tsx Lines 113 to 116 in c19eea6
We only check if the This is the The bug stems from the fact that the text or login fields aren't the email fields What changes do you think we should make in order to solve the problem?App/src/pages/workspace/workflows/WorkspaceWorkflowsApproverPage.tsx Lines 113 to 116 in c19eea6
I propose we also include a condition to verify if the 'alternateText' field contains the
Optional: We might consider removing the check for the What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.User with custom name searched with email id shows no results found but same user searched with user name results are shown. What is the root cause of that problem?The
So when we filter the option with custom display name here, it doesn't match
What changes do you think we should make in order to solve the problem?I think we should filter out the option when we get To filter out the member option in here, we can do the same way as we do in
And then we don't need to filter options here, we only need to return
What alternative solutions did you explore? (Optional)NA |
@nkdengineer My proposal works well for phone number |
If you search the phone number without the space, it doesn't work. User should be able to search phone number without space. |
@abekkala Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Job added to Upwork: https://www.upwork.com/jobs/~0114334b097551357e |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @eh2077 ( |
Thank you for your proposals! The root cause of this issue is clear. @nkdengineer explored a bit more on the solution - they mentioned we have similar use case in App/src/libs/OptionsListUtils.ts Lines 1951 to 1953 in c244fa1
getParticipantNames and isSearchStringMatch. That said, I think we can go with @nkdengineer 's proposal. Coding details can be discussed in PR. 🎀👀🎀 C+ reviewed |
Triggered auto assignment to @thienlnam, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
Thanks! It looks like @nkdengineer has a significant amount of pending PRs going on. So in line with this please continue with your ongoing PRs. @eh2077 Could you work with one of the other contributors to get their proposal to a state that you can approve? |
@thienlnam All of my PRs have almost no pending action from me. A few PRs have just been reviewed but it's quite late in my timezone, I'll update them tomorrow morning. With this issue I can raise the PR tomorrow morning and work on the PR without delay if I am assigned. |
Let us know once you've updated all your PRs and then we can continue here otherwise we'll re-assign it to someone else that has more availability. You're doing great, but we want to ensure nothing gets blocked |
@thienlnam I've updated my PRs. I'm free to work on this now. Can you please assign me and then I can raise the PR soon? Thanks. |
📣 @eh2077 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @nkdengineer 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.82-4 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 2024-06-20. 🎊 For reference, here are some details about the assignees on this 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:
|
Checklist
|
PAYMENT SUMMARY FOR JUNE 20
|
@nkdengineer payment sent and contract ended - thank you! 🎉 @eh2077 payment sent and contract ended - thank you! 🎉 |
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: 1.4.75-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: https://expensify.testrail.io/index.php?/tests/view/4572920
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:
Pre-condition: login with admin account of collect workspace with members added with username
Expected Result:
User with custom name searched with email id must show results.
Actual Result:
User with custom name searched with email id shows no results found but same user searched with user name results are shown.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6489900_1716498799411.Screenrecorder-2024-05-24-02-31-07-797_compress_1.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @abekkalaThe text was updated successfully, but these errors were encountered: