-
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-04-25] Web - Endless loading on Private section when login via Abracadabra #36647
Comments
Job added to Upwork: https://www.upwork.com/jobs/~012818d61c231e3c33 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @s77rt ( |
👋 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:
|
Triggered auto assignment to @NikkiWines ( |
Production: Bug6381258_1708033813230.production.mp4 |
I'm able to reproduce the bug on staging and not prod, so this does look to be a blocker. Don't see any recent changes to this view though, at least none that haven't gone to prod already 🤔 |
Yeah, weird - looks like FWIW this bug also occurs if you manually paste the magic code, so it's not specific to the |
@grgia could this be tied to https://github.com/Expensify/Web-Expensify/pull/40867 by any chance? That's the only recent change I can see to |
@NikkiWines it looks like personalDetails arent loading here, not privatePersonalDetails |
@grgia the personal details seem to be ok from my testing - it looks like only the private ones are getting overwritten and in the response to the Even though the private_personalDetails are correctly being returned earlier in It also explains why this bug only occurs if you immediately navigate to the settings page (prompting the |
ah gotcha, so we need to remove the private personal details from being overwritten in |
Yeah, either prevent them from being over written or have Edit: I tested this on an account that does have actual If we return the default values instead, we'll end up showing blank Either way, I think updating this line should be updated since we don't want the loading indicator to show forever for users without |
Oh also not a newDot blocker since this is due to backend changes 👍 |
ProposalPlease re-state the problem that we are trying to solve in this issue.Endless loading on personal private section when logging What is the root cause of that problem?
App/src/pages/settings/Profile/ProfilePage.js Line 106 in a6fe014
What changes do you think we should make in order to solve the problem?Currently, user can navigate to setting page even when the user's avatar icon is show loading. The condition should be apply in line 44: App/src/pages/home/sidebar/PressableAvatarWithIndicator.js Lines 43 to 50 in a6fe014
It should be const shouldShowLoading = isLoading && !currentUserPersonalDetails.avatar;
const showSettingsPage = useCallback(() => {
if (isCreateMenuOpen || shouldShowLoading) {
return;
} What alternative solutions did you explore? (Optional)Above solution correct behavior of loading element. Anyway, we can change |
Apologies I was wrapped up yesterday, Looking at this I think we can deprecate that command in App now that my auth changes have deployed |
I can take this @NikkiWines |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.62-17 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-04-25. 🎊 For reference, here are some details about the assignees on this issue:
|
Issue is ready for payment but no BZ is assigned. @joekaufmanexpensify you are the lucky winner! Please verify the payment summary looks correct and complete the checklist. Thanks! |
Payment Summary
BugZero Checklist (@joekaufmanexpensify)
|
Only payment needed here is $500 to @s77rt for C+ via Upwork (this issue was created before default price lowered to $250). |
OG upwork job is closed. new one is here: https://www.upwork.com/jobs/~01058cf92b6ef09600 |
@s77rt offer for $500 sent! |
@joekaufmanexpensify Accepted! Thanks! |
@s77rt $500 sent and contract ended! |
Upwork job closed. |
All set, thanks everyone! |
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.42-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers): gocemate@gmail.com
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
Expected Result:
Private section should load immediately or there should be short time delay
Actual Result:
There is a endless loading on Private section
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6381258_1708033813232.staging.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: