-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[$500] Infinite loading when accessing a non-existing workspace #36442
Comments
Job added to Upwork: https://www.upwork.com/jobs/~019c756122ca1f4027 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @fedirjh ( |
Triggered auto assignment to @slafortune ( |
the issue is not reproducible on the latest main. |
I can still reproduce it. |
I can also still reproduce this |
ProposalPlease re-state the problem that we are trying to solve in this issue.If we open a nonexistent workspace page after login, the app will load indefinitely. What is the root cause of that problem?When we open a nonexistent workspace page after login, the OpenApp request is never called. It will only be called if Line 151 in 574157e
In SidebarLinks, App/src/pages/home/sidebar/SidebarLinks.js Lines 54 to 59 in b0b651b
Because the promise isn't resolved, the app shows the loading indicator infinitely. What changes do you think we should make in order to solve the problem?SidebarLinks is placed inside the bottom tab navigator which is always exist in the nav stack, so I think we can just have one place to call App/src/pages/home/sidebar/SidebarLinks.js Lines 54 to 59 in b0b651b
|
@bernhardoj Your proposal makes sense. I am just wondering why |
App/src/libs/Navigation/AppNavigator/ReportScreenWrapper.tsx Lines 13 to 25 in 634f766
If you are aware, before the ideal nav, in CustomRouter, we have a logic to make sure the report screen (specifically CentralPaneNavigator) is always added to the nav stack on large screen. (old code below) App/src/libs/Navigation/AppNavigator/createCustomStackNavigator/CustomRouter.js Lines 71 to 72 in 1682be4
CentralPaneNavigator now includes workspace screen (overview, reimburse, etc.). App/src/libs/Navigation/AppNavigator/Navigators/CentralPaneNavigator/BaseCentralPaneNavigator.tsx Lines 36 to 53 in 634f766
The new CustomRouter logic now making sure to add a full screen or central pane navigator to the nav stack App/src/libs/Navigation/AppNavigator/createCustomStackNavigator/CustomRouter.ts Lines 54 to 84 in 634f766
In this case, visiting |
@bernhardoj's proposal looks good to me. Let's proceed with it. 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @blimpich, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @fedirjh 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @bernhardoj 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
PR is ready cc: @fedirjh |
Looks like the automated system didn't update. Deployed to production on Feb 28 - 7 holding day means payment would be due on March 6th |
@blimpich Could you please remove the |
@slafortune can you handle payment here? |
Sorry I lost sight of this one! PAID! @fedirjh can you please complete the checklist? BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
BugZero Checklist:
Regression Test Proposal
|
Thanks @fedirjh ! |
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: 1.4.41-2
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @hayata-suenaga
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1707848696684749
Action Performed:
Expected Result:
Shouldn't be infinite loading
Actual Result:
Infinite loading appears
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence

View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @fedirjhThe text was updated successfully, but these errors were encountered: