Skip to content
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

Search - Searched results on the list are not filtered correctly #40424

Closed
1 of 6 tasks
izarutskaya opened this issue Apr 18, 2024 · 16 comments
Closed
1 of 6 tasks

Search - Searched results on the list are not filtered correctly #40424

izarutskaya opened this issue Apr 18, 2024 · 16 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering

Comments

@izarutskaya
Copy link

izarutskaya commented Apr 18, 2024

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: v1.4.63-0
Reproducible in staging?: Y
Reproducible in production?: N
Found when validating PR : #37909
Email or phone of affected tester (no customers): gocemate@gmail.com
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team

Action Performed:

  1. Open Search Page
  2. Type something in the search input ( any user name and surname)
  3. Check the search results

Expected Result:

Results on the list should be filtered to match the searched phase

Actual Result:

Searched results on the list are not filtered correctly
Announce room appear when search for the user name

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6453321_1713426626247.Recording__2842.mp4

View all open jobs on GitHub

@izarutskaya izarutskaya added DeployBlockerCash This issue or pull request should block deployment Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Apr 18, 2024
Copy link

melvin-bot bot commented Apr 18, 2024

Triggered auto assignment to @bfitzexpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

Copy link

melvin-bot bot commented Apr 18, 2024

Triggered auto assignment to @MariaHCD (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Apr 18, 2024
Copy link
Contributor

👋 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:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

@izarutskaya
Copy link
Author

@bfitzexpensify 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.

@izarutskaya
Copy link
Author

Production

bandicam.2024-04-18.13-46-10-964.mp4

@MariaHCD
Copy link
Contributor

I'm not sure this is a frontend issue. I wonder if it's something in the backend logic for report search that is resulting in the #announce room showing in the search results.

cc: @marcaaron @youssef-lr if you have any ideas here?

@thienlnam thienlnam removed the DeployBlockerCash This issue or pull request should block deployment label Apr 19, 2024
@thienlnam
Copy link
Contributor

Seems to be expected from this discussion https://expensify.slack.com/archives/C01GTK53T8Q/p1713546999765829

We're guessing that there is either a chat or a member in that announce room. However, the odd thing is that this is not on production so we're unsure if this was an intended change or not

@marcaaron marcaaron added Daily KSv2 and removed Hourly KSv2 labels Apr 19, 2024
@melvin-bot melvin-bot bot added the Overdue label Apr 22, 2024
@MariaHCD
Copy link
Contributor

@izarutskaya Would you be able to confirm if the user email you searched for is part of the #announce room that displays in the search results?

@melvin-bot melvin-bot bot removed the Overdue label Apr 22, 2024
@MariaHCD
Copy link
Contributor

Also, can we get the response from the SearchForReports command -

  1. Pull up the Chrome Developer Tools press command + option + i and then select the Network tab.
  2. Enter the search term in the search input
  3. Click on SearchForReports in the console
  4. Click on the Preview tab then expand onyxData > 1: {onyxMethod: "mergecollection", key: "report_", value: {,…}}
  5. Right-click on value > Copy object and paste the results here
Screenshot 2024-04-22 at 6 38 41 PM

@bfitzexpensify
Copy link
Contributor

Asked in #qa for an answer to #40424 (comment)

@izarutskaya
Copy link
Author

izarutskaya commented Apr 23, 2024

@MariaHCD Yes, I can reproduce it if this user is part of the # announce room. Check my video please for gmail and Expensifail accounts

Recording.2394.mp4
Recording.2395.mp4

@melvin-bot melvin-bot bot added the Overdue label Apr 25, 2024
@MariaHCD
Copy link
Contributor

Yes, I can reproduce it if this user is part of the # announce room

This is expected. If the user is part of the room, then searching for their email will include the #announce room in the results (relevant code here)

@izarutskaya can you reproduce the error is the user is not part of the #announce room?

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Apr 26, 2024
@MariaHCD
Copy link
Contributor

Not overdue, we just need to retest again if this behavior occurs when the user is not part of the #announce room

@melvin-bot melvin-bot bot removed the Overdue label Apr 29, 2024
@bfitzexpensify
Copy link
Contributor

Bumped the thread in Slack for Irina to confirm.

@izarutskaya
Copy link
Author

@MariaHCD No, I cannot reproduce this issue if the user is not part of the #announce room

Recording.2413.mp4

@MariaHCD
Copy link
Contributor

MariaHCD commented May 1, 2024

Thanks for confirming! Then I think this isn't a bug and we should be good to close this one out.

@MariaHCD MariaHCD closed this as completed May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering
Projects
None yet
Development

No branches or pull requests

5 participants