-
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 #415000] [$250] Room - Endless skeleton loader when a new account logs in after navigating to a public room #46105
Comments
Triggered auto assignment to @zanyrenney ( |
@zanyrenney FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
We think that this bug might be related to #vip-vsp |
triaged, adding external. |
Job added to Upwork: https://www.upwork.com/jobs/~015d012835d9c734be |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @c3024 ( |
@zanyrenney, @c3024 Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Waiting for proposals. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Endless loading when you signup using LHN from public report What is the root cause of that problem?The SequetialQueue for API requests is paused in two ways and OpenApp request is stuck in the queue so it keeps loading endlessly. App/src/libs/Middleware/SaveResponseInOnyx.ts Lines 38 to 44 in 3c9c7b0
In above code,
What changes do you think we should make in order to solve the problem?Remove the shouldPauseQueue field as it is no longer required because saveUpdateInformation already handles pausing the queue when needed. What alternative solutions did you explore? (Optional)Update below to only pause if the app is not loading. App/src/libs/Network/SequentialQueue.ts Line 89 in eced170
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. |
ProposalPlease re-state the problem that we are trying to solve in this issue.We're trying to resolve the skeleton loader that will not dismiss when an anonymous user logs in from the RHP. What is the root cause of that problem?isLoadingApp never resolves to true after the login flow. if (!isAnonymousUser) {
// Signing in RHP is only for anonymous users
Navigation.isNavigationReady().then(() => Navigation.dismissModal());
App.openApp();
} we call the openApp function. Which calls getOnyxDataForOpenOrReconnect with isOpenApp set to true and sets isLoadingApp true in onyx. /**
* Fetches data needed for app initialization
*/
function openApp() {
} What changes do you think we should make in order to solve the problem?The app is already initialized, so we should call reconnectApp instead. This won't put the entire app into loading state, and instead just fetch the reconnection data. if (!isAnonymousUser) {
// Signing in RHP is only for anonymous users
Navigation.isNavigationReady().then(() => Navigation.dismissModal());
App.reconnectApp();
} /**
* Fetches data when the app reconnects to the network
* @param [updateIDFrom] the ID of the Onyx update that we want to start fetching from
*/
function reconnectApp(updateIDFrom: OnyxEntry<number> = 0) {
} Here is a test branch with my changes What alternative solutions did you explore? (Optional)N/A |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@c3024 please can you review the proposal above, there are a few and we need to make progress here? |
@zanyrenney, @c3024 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
We are waiting to review the proposals above. bump @c3024 please can you prioritise this? |
Thanks for the bump @zanyrenney. I looked into the proposals. This was caused by #42820 and that PR did not fix the bug it was supposed to. So, this might need to be held for #41500. I need a bit more time to confirm. Thanks! |
nice, thank you for clarifying! @c3024 |
@zanyrenney I think this should be held for #41500. |
@zanyrenney @c3024 this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@zanyrenney, @c3024 Eep! 4 days overdue now. Issues have feelings too... |
bump @c3024 reviewing the proposals. Please can you prioritise reviewing those so that we can move ahead with this issue? |
@zanyrenney IMHO this should be held for #41500. |
NICE, I'VE CHANGED THIS TO A WEEKLY ISSUE. AND I'VE UPDATED THE TITLE TO SHOW IT IS ON HOLD FOR THAT OTHER ISSUE ABOVE. THANK YOU @c3024 |
oops, did not mean to do caps 😓 |
#41500 seems to be stale so can we resolve this without it? |
bump @c3024 what do you think about resolving without the held issue? |
There seems to be an issue with logging in from the RHP. loginFromRHP.mp4I will investigate and update. |
did you get any more detail here? |
Checking now. Will update. |
App/src/libs/actions/Report.ts Line 2697 in 8e5fc88
This code was not there when #42820 was merged. I think we can revert that code added in #42840 here so that this issue can be fixed. |
This issue has not been updated in over 15 days. @zanyrenney, @c3024 eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
This is not reproducible anymore. This can be closed. |
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.0.11-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: N/A
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
I should be able to log in and use that app using the public room login page
Actual Result:
Endless skeleton loader when a new account logs in after navigating to a public room. I'm unable to to use the app, Doesn't affect existing accounts
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6551328_1721809421766.bandicam_2024-07-24_10-14-11-976.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @c3024The text was updated successfully, but these errors were encountered: