-
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
Search - Own email address is displayed twice on /search/filters page #47537
Comments
Triggered auto assignment to @stephanieelliott ( |
Triggered auto assignment to @techievivek ( |
👋 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 #vip-vsb |
Edited by proposal-police: This proposal was edited at 2024-08-16 04:30:10 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.There are 2 current user options in the search From and To filters. What is the root cause of that problem?In the search filter From/To, we put the current user option at the top of the list and then the recent reports. App/src/components/Search/SearchFiltersParticipantsSelector.tsx Lines 110 to 122 in 5e5bff3
However, the recent reports also contains a self DM, so the list contains 2 current user option. That's because we include self DM when getting the options (the last param). App/src/components/Search/SearchFiltersParticipantsSelector.tsx Lines 59 to 80 in 5e5bff3
This is a new search filter feature, so not a regression. What changes do you think we should make in order to solve the problem?We shouldn't include the self DM into the recent report because we already put the current user at the top of the list. We can set it to false or just remove the param. |
@bernhardoj can you please link the GH that caused this regression? |
This seems to be coming from here #46962 |
I will just inform on the PR and it can be fixed as a followup, and nothing significant to be a blocker. |
I agree this is not a blocker. @Kicu @rayane-djouah since we worked on this PR together. |
hey I did the filters and I will take a look today at this issue and try to come up with a fix. Please assign me |
PR with a simple fix is ready. @bernhardoj your suggestion was actually correct and I ended up doing exactly the same thing you suggested - so switching the argument-flag for including selfDM. Feels the cleanest |
PR on staging |
We can close this one. No payment is due. |
Nice! Thanks everyone! |
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: 9.0.21-0
Reproducible in staging?: Y
Reproducible in production?: N (Can't check - new feature)
Issue was found when executing this PR: #46962
Email or phone of affected tester (no customers): gocemate+a980@gmail.com
Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
Self email address should be displayed once
Actual Result:
Self email address is displayed twice, both From and To filters
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6573342_1723757431190.Recording__3735.mp4
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: