-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[Due for payment 2025-02-18] [$250] Search - Self DM is removed from top of search list when email is fully typed out in query #51411
Comments
Triggered auto assignment to @OfstadC ( |
@OfstadC 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 |
Tested again and can't reproduce. Closing |
Thanks @lanitochka17. I'll give it another shot 😃 |
@OfstadC Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Wildly now I can't even find myself at all to DM - [email protected] ![]() |
But I can under my private domain accounts 🤔 |
Job added to Upwork: https://www.upwork.com/jobs/~021882098792148557687 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @DylanDylann ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Search - Self DM is removed from top of search list when email is fully typed out in query What is the root cause of that problem?We put self dm on top by returning 0 here App/src/libs/OptionsListUtils.ts Lines 1078 to 1079 in fc199fa
so now until we write the full login in the search the other reports where the logins are the same as the self dm (current user) will be ordered just below the self dm because we return 1 here when the login is not equal to the search App/src/libs/OptionsListUtils.ts Lines 1096 to 1098 in fc199fa
but as soon as the search becomes equal to the login the other reports will have the same order value of 0 as the self dm via this line App/src/libs/OptionsListUtils.ts Lines 1100 to 1101 in fc199fa
What changes do you think we should make in order to solve the problem?To put the self dm on top of other reports we should return a lower value than App/src/libs/OptionsListUtils.ts Lines 1078 to 1079 in fc199fa
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?We can test orderReportOptionsWithSearch to ensure it returns self dm on top of the list though the login of other options are equal to the search. What alternative solutions did you explore? (Optional) |
Triggered auto assignment to @madmax330, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@madmax330, @OfstadC, @DylanDylann Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Bump for an assignment @madmax330 |
📣 @DylanDylann 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @FitseTLT 🎉 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 9.0.95-6 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 2025-02-18. 🎊 For reference, here are some details about the assignees on this issue:
|
@DylanDylann @OfstadC @DylanDylann The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
@DylanDylann please complete the BZ checklist by the payment date 😃 - Thank you! |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test ProposalTest:
Do we agree 👍 or 👎 |
Payment Summary
|
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.53-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/runs/view/26723&group_by=cases:section_id&group_order=asc&group_id=229066
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
"You" account should be listed first
Actual Result:
"You" account isnt listed first when gmail adress of the account is fully typed
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6644107_1729755835920.scrnli_GFnBU50NZYqeaq.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @OfstadCThe text was updated successfully, but these errors were encountered: