-
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
[$250] Search - App crashes when clicking on search icon while app is loading #52633
Comments
Triggered auto assignment to @strepanier03 ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Search - App crashes when clicking on search icon while app is loading What is the root cause of that problem?The
What changes do you think we should make in order to solve the problem?We should use
or we can use a backup empty object here like this App/src/pages/RoomMembersPage.tsx Line 59 in 09f6db7
What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.App crashes when clicking on search icon while app is loading What is the root cause of that problem?After we clear the cache,
Then the app crashes here when we open the search page App/src/components/Search/SearchRouter/SearchRouter.tsx Lines 126 to 129 in a54f913
But if the App/src/components/Search/SearchRouter/SearchRouter.tsx Lines 126 to 129 in a54f913
The problem from here, App/src/components/OnyxProvider.tsx Line 9 in a54f913
The return value of this hook is cast as App/src/components/createOnyxContext.tsx Line 36 in a54f913
App/src/components/createOnyxContext.tsx Line 90 in a54f913
What changes do you think we should make in order to solve the problem?To avoid the same case can happen in the feature, we can return the type here as App/src/components/createOnyxContext.tsx Line 36 in a54f913
and remove the cast type here App/src/components/createOnyxContext.tsx Line 90 in a54f913
After that, we can see all waring places via ts error or lint error that possible cause the app crashes when we use the value from the createOnyxContext hook and fix all places. or if the value here is App/src/components/createOnyxContext.tsx Line 90 in a54f913
What alternative solutions did you explore? (Optional) |
Job added to Upwork: https://www.upwork.com/jobs/~021858741837244395820 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @alitoshmatov ( |
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.0.63-0
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
App will not crash.
Actual Result:
App crashes when clicking on search icon while app is loading.
Workaround:
Unknown
Platforms:
Screenshots/Videos
1511_1.txt
Bug6666535_1731688950569.20241116_003703.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @alitoshmatovThe text was updated successfully, but these errors were encountered: