-
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-28] [$250] Search - Top result shows admin's email address #42692
Comments
Triggered auto assignment to @kevinksullivan ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Top result shows admin's email address What is the root cause of that problem?In recent reports, reports with secondary logins have also been added. We should filter-out reports based on App/src/libs/OptionsListUtils.ts Lines 1899 to 1905 in e5a1366
What changes do you think we should make in order to solve the problem?We should check if the report has
App/src/libs/OptionsListUtils.ts Lines 1899 to 1905 in e5a1366
We can utilize the same check in other places where this issue persists. What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.Search result shows an item with an empty title but with the login/email of the current user. What is the root cause of that problem?When we start a chat with a secondary login, BE will return a preExistingReportID. The app will then navigate to the existing report. However, the secondary login report is never removed, so it's shown at the top of the search result. Why does the subtitle show the current user login? The subtitle/alternate text is built based on the first report participant (if the previous checks of the logic aren't satisfied) App/src/libs/OptionsListUtils.ts Line 1878 in 36931e7
App/src/libs/OptionsListUtils.ts Line 575 in 36931e7
Normally, a DM contains the current user and the user that we chat with as the participants, but the secondary login report only contains the current user. We already filter out current users from DM participants, App/src/libs/OptionsListUtils.ts Lines 1508 to 1511 in 36931e7
but the What changes do you think we should make in order to solve the problem?We should clear the secondary login report when a pre-existing report is found. We did this before but broken by #41338. We should clear it in the callback App/src/libs/actions/Report.ts Lines 1266 to 1272 in 36931e7
We can do it like this:
|
@kevinksullivan Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@kevinksullivan 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
I think this is a low priority VSB bug. |
Job added to Upwork: https://www.upwork.com/jobs/~01ed8948bcc189ed41 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @aimane-chnaif ( |
reviewing |
@kevinksullivan, @aimane-chnaif Whoops! This issue is 2 days overdue. Let's get this updated quick! |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
updating shortly |
@kevinksullivan @aimane-chnaif this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
@bernhardoj thanks for the detailed explanation. Please make sure that your solution doesn't cause regression of #38983. Also, I wonder if we don't need to hide the report which was already optimistically created before fix. |
I have tested it before and it won't cause a regression of #38983
I don't think it's worth to do that. They just need to relogin to remove the report. |
@bernhardoj's proposal looks good to me. |
Triggered auto assignment to @dangrous, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.0-9 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-28. 🎊 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:
|
Looks like we're ready for payment here! @aimane-chnaif can you complete the checklist when you have a moment please? Thanks! |
This bug was caught during regression test - https://expensify.testrail.io/index.php?/tests/view/4574481&group_by=cases:section_id&group_order=asc&group_id=229067 |
@dangrous, @kevinksullivan, @bernhardoj, @aimane-chnaif Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Payment summary:
|
@kevinksullivan hi, I'm still in the process of setting up the NewDot payment. Should we reopen this issue in the meantime? |
Requested in ND. |
$250 approved for @bernhardoj |
I am still using upwork. Can you please reopen and sort payment? Thanks |
Reopening, will get another BZ in here! |
Triggered auto assignment to @slafortune ( |
@slafortune please see #42692 (comment) - thank you! |
@aimane-chnaif offer sent here - https://www.upwork.com/nx/wm/offer/104328800 |
Paid |
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.76-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/4574481&group_by=cases:section_id&group_order=asc&group_id=229067
Email or phone of affected tester (no customers): [email protected]
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:
Preconditions:
Steps:
Expected Result:
Primary login should be on the top of the results list
Actual Result:
Top result shows admin's email address instead of last chat interacted with
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6493115_1716828834899.Recording__3050.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @kevinksullivanThe text was updated successfully, but these errors were encountered: