-
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
Room - When creating a room duplicate room displayed on search result #43049
Comments
Triggered auto assignment to @stephanieelliott ( |
@stephanieelliott 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 |
ProposalPlease re-state the problem that we are trying to solve in this issue.When creating a room duplicate room displayed on search result What is the root cause of that problem?We're calculating
There're 2 drawbacks of that approaches:
What changes do you think we should make in order to solve the problem?To make things simple, we should use
What alternative solutions did you explore? (Optional)NA Resultweb-resize.mp4 |
Sound like this will be fixed here #43094 by a dev from Callstack |
ProposalPlease re-state the problem that we are trying to solve in this issue.Distance - "Center" button has no hover and press effect What is the root cause of that problem?inside
Then on the next useEffect, missingReportIds will be the ID of the same report added previously on the 1st useEffect and will be added again.
We are comparing The issue happens not only with a new room, but with any new report, a new DM to a new user will be double on the search list. What changes do you think we should make in order to solve the problem?We can update the logic inside the second
let missingReportIds = Object.keys(reports).filter((key) => prevReports && !(key in prevReports));
// Filter out any IDs that are already in the options
missingReportIds = missingReportIds.filter((missingReportId) => !isReportInOptions(missingReportId)); Where What alternative solutions did you explore?We can use other logics to prevent adding a new report to options on the second useEffect that have been already added. The idea is to check if the option has already the updated/added report |
I'll close this in favor of #43094 & we have an accepted proposal there |
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: 1.4.79-3
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Email or phone of affected tester (no customers): shussain+safari4@applausemail.com
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
Only one room should be displayed
Actual Result:
When creating a room duplicate room displayed on search result
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6501794_1717519470532.2024-06-04_21-36-01.mp4
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: