-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[Due for payment 2025-05-14] Reports-"Oops something went wrong" is displayed when navigating through contextual filters #61278
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
Comments
Triggered auto assignment to @RachCHopkins ( |
Triggered auto assignment to @marcaaron ( |
💬 A slack conversation has been started in #expensify-open-source |
👋 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:
|
Seems to be throwing here: App/src/components/Search/SearchList.tsx Line 204 in f7c1995
|
🚨 Edited by proposal-police: This proposal was edited at 2025-05-02 04:01:17 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue."Uh-oh, something went wrong" is displayed when the user navigates through the different contextual filters in the Expenses and Chats tabs in Reports What is the root cause of that problem?When switching between tabs, we trigger this logic: App/src/components/Search/SearchList.tsx Line 204 in f7c1995
and then it throw error
I think we're calling scrollToIndex too early, and if we scroll to an index which has not been rendered, then the error will show. What changes do you think we should make in order to solve the problem?We have some solutions:
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?None What alternative solutions did you explore? (Optional)Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job. |
What caused it? |
We should trigger scroll in App/src/components/SelectionList/BaseSelectionList.tsx Lines 685 to 691 in 223a34c
|
@martasudol @mountiny can you all chime in on the above. If it is related to that PR we should give them a change to fix it? I don't think we are in a rush to deploy on Friday. |
Removing |
We should probably fix this (vs. revert) since it seems relatively easy to suppress this warning for now or fix it with @nkdengineer's changes. Asking in the Slack thread to see if there are any strong feelings one way vs. another. |
@marcaaron I think we should call handleSelectionListScroll in onLayout, because onLayout is trigger when items are rendered. Can I work on the PR? |
Yeah I think that's fine. I haven't heard back from the PR authors/reviewers so let's do it. |
Job added to Upwork: https://www.upwork.com/jobs/~021919853669528528861 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @alitoshmatov ( |
📣 @nkdengineer 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@RachCHopkins for context, I removed the |
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.40-7 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-05-14. 🎊 For reference, here are some details about the assignees on this issue:
|
@alitoshmatov @RachCHopkins @alitoshmatov 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] |
Please unassign me, I didn't participate in this issue. |
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.1.39.1
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/6033034
Email or phone of affected tester (no customers): N/A
Issue reported by: Applause Internal Team
Device used: iPhone 15 iOS 18.4.1 Safari, MacBook Air 15.4 Chrome
App Component: Search
Action Performed:
Expected Result:
User is navigating through the contextual filters in Expenses and Chats without any errors
Actual Result:
"Uh-oh, something went wrong" is displayed when the user navigates through the different contextual filters in the Expenses and Chats tabs in Reports
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6818999_1746140797605.Recording__212.mp4
Bug6818999_1746138285372!Reports_Console.txt
Bug6818999_1746138285370.Error.mp4
View all open jobs on GitHub
Issue Owner
Current Issue Owner: @alitoshmatovUpwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: