-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Console error shows up after refreshing the page #57968
Comments
Triggered auto assignment to @robertjchen ( |
👋 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:
|
💬 A slack conversation has been started in #expensify-open-source |
ProposalPlease re-state the problem that we are trying to solve in this issue.Navigation console error after refreshing. What is the root cause of that problem?This happens after #54552. In that PR, we call App/src/components/VideoPlayerContexts/PlaybackContext.tsx Lines 116 to 124 in fb79730
Since the context lives outside the navigation container, it's fired before the navigation is ready. This isn't a deploy blocker, but I guess the error message just not show on prod environment. What changes do you think we should make in order to solve the problem?We have 3 options. First, we can early return
Second, we can avoid calling Third, we can move the context provider to be inside the AuthScreens so it's created only after the navigation is ready. App/src/libs/Navigation/AppNavigator/AuthScreens.tsx Lines 455 to 457 in fb79730
We will need to move VolumeContextProvider too and also, move this logic to update the App/src/libs/Navigation/NavigationRoot.tsx Line 206 in fb79730
App/src/libs/Navigation/AppNavigator/AuthScreens.tsx Lines 227 to 232 in fb79730
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?N/A |
Dupe of #57285 |
Seems like dupe #57285 |
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.1.10-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
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): applausetester+050302kh@applause.expensifail.com
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
No console error will show up
Actual Result:
Console error shows up after refreshing the page
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6763448_1741305035439.20250307_073915.mp4
log1.txt
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: