-
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 2024-05-08] [$500] Public room - Login page shows momentarily before showing public room #38212
Comments
Triggered auto assignment to @puneetlath ( |
@puneetlath 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-vsb |
Can we fix this as priority? Looks like 🔥. |
@puneetlath Eep! 4 days overdue now. Issues have feelings too... |
@puneetlath Still overdue 6 days?! Let's take care of this! |
Hmm, so when I try it shows the login page momentarily but then does show the public room after a second. Screen.Recording.2024-03-20.at.4.26.51.PM.movSo @bernhardoj I feel like maybe something changed and this is indeed a client-side issue. What do you think? |
Job added to Upwork: https://www.upwork.com/jobs/~0177518535cd3da4f9 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @getusha ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.The user is navigated to the sign-in page. Only after login, the public room is opened What is the root cause of that problem?In here, we're setting But we consider that as offline, so in here, we see that and show the sign in screen. The "assuming we're offline when network status is not determined" was on purpose to prevent performance issues where we try to send redundant Network calls to What changes do you think we should make in order to solve the problem?We need to incorporate 'unknown' as a potential network status in the app, and only shows the sign in screen here if the network is explicitly
I think a new field like above should be the most intuitive and clean, if instead we want to reuse the What alternative solutions did you explore? (Optional)Similar to Besides, we might want to refactor existing places that use |
ProposalPlease re-state the problem that we are trying to solve in this issue.Public room - Login page shows momentarily before showing public room What is the root cause of that problem?Onyx network.isOffline is temporarily set to true, causing the splash screen to be hidden too early. What changes do you think we should make in order to solve the problem?Prevent setOfflineStatus from being called when state.isInternetReachable equals null, in both places shown below. App/src/libs/NetworkConnection.ts Line 109 in 729d475
App/src/libs/NetworkConnection.ts Line 65 in 6571b37
Because there are two places where this same change will be made, it would probably be a good idea to create a new function for this purpose.
There is no condition in which it is appropriate to call setOfflineStatus in response to state.isInternetReachable being set to null. |
@kmbcook tested your solution and i am still able to reproduce the issue. |
@allroundexperts PR #39595 is ready to review |
This issue has not been updated in over 15 days. @puneetlath, @allroundexperts, @tienifr 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! |
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. |
@tienifr can you raise a fix for the regression above? |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.68-3 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 2024-05-08. 🎊 For reference, here are some details about the assignees on this 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:
|
@tienifr has been paid. @allroundexperts bump on the checklist for you. |
Checklist
Regression Test
Verify that the user is navigated to a public room, and the chat history is displayed Do we 👍 or 👎 ? |
Issue for regression test is here: https://github.com/Expensify/Expensify/issues/394854 Payment summary:
@allroundexperts please request on NewDot. Thanks everyone! |
$500 approved for @allroundexperts |
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: 1.4.51-3
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4421788
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:
precondition: user created a public room and copied the link
Expected Result:
The user is navigated to a public room, and the chat history is displayed
Actual Result:
The user is navigated to the sign-in page. Only after login, the public room is opened
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6411899_1710306115660.video_2024-03-12_21-42-26.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @puneetlathThe text was updated successfully, but these errors were encountered: