-
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
[HOLD for payment 2023-10-25] Transition from OldDot to NewDot is slow and shows blank screen for long time #27418
Comments
Triggered auto assignment to @dylanexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
@mountiny I'm ready to help with this one 🙂 |
@koko57 will handle this one for us 🎖️ |
I've just found that OpenReport and OpenApp are not called after the user is logged in to another account. I think it can the main problem here why we don't have a proper data to display |
Daily update: Although we're navigating to the report screen, report screen doesn't mount. |
Thanks for the updates |
Daily update: (Sorry for not posting yesterday) unfortunately, not much progress here. I'm digging into the logOut - logIn as a new user flow. I've noticed that in this flow we're firing signOut twice: here and here. I wonder whether this flow could be simplified somehow? The ReportScreen is not mounting as well as SidebarLinksData - which is weird bc CentralPaneNavigator and BaseSidebarScreen both are. |
Daily update: today I asked Edu for some help, we both think it's possibly a navigation issue. I'll continue investigating it on Monday. |
Investigation continues |
Not much progress here. I only discovered that removing this from LogOutPreviousUserPage works but there's a glitch of the old user's chats at the beginning and there is some error in the session object after authenticating. As I've mentioned before we log out the user twice in the current flow. Maybe just simplifying it would fix the issue. |
I guess I've finally found the root cause - it's a problem with Onyx. I'm starting working on my proposal. |
Great! Thanks! |
@koko57 @mountiny @dylanexpensify this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
Working on a proposal, I have one solution on my mind, need to test it thoroughly. 🙂 If everything looks fine, maybe I'll be able to post the proposal tomorrow. |
Unfortunately, my solution doesn't work properly, I need to find another one 😞 |
@koko57 mind giving us an update? |
PR is still under review |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.86-5 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 2023-10-25. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue:
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
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:
|
payment tomorrow! |
Payment Summary:
Please apply! |
@allroundexperts mind completing checklist? 🙇♂️ |
@dylanexpensify I don't think that the checklist is applicable here. This was a performance optimisation PR. |
Agreed, @allroundexperts did you request on newdot? Can we close this issue? |
I've noted it @mountiny. We can close. |
$500 payment approved for @allroundexperts based on this comment. |
### Problem
Coming from https://expensify.slack.com/archives/C05LX9D6E07/p1694668433572469?thread_ts=1694666491.998029&cid=C05LX9D6E07
When a new lead user signs up on OldDot and they want to chat with their setup specialist in NewDot, we use a transition to new.expensify.com to keep their session going in this new app.
However, this transition seems to got very slow now and blank page is shown for over 15 seconds which is terrible UX.
Seems like the issue is that on a first load we dont have proper data to show the reports
after refreshing it works fine
Solution
Investigate why the onyx data is not correctly loaded upon making the transition and fix it
cc @staszekscp @koko57
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @dylanexpensifyThe text was updated successfully, but these errors were encountered: