-
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
[$250] Self DM - Self DM header shows skeleton loading after clearing cache and restarting app #47405
Comments
Triggered auto assignment to @carlosmiceli ( |
👋 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:
|
We think that this bug might be related to #vip-vsp |
Job added to Upwork: https://www.upwork.com/jobs/~01ec9b2f42d3c8310a |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @eVoloshchak ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.The self DM header shows skeleton loading after clearing cache and restarting app What is the root cause of that problem?After we clear cache and restarting app, the Lines 3656 to 3658 in 04d0b1b
As expected the What changes do you think we should make in order to solve the problem?We should only return early if Lines 3656 to 3658 in 04d0b1b
What alternative solutions did you explore? (Optional)Or we should only store the cache if the value is not empty Line 3772 in 04d0b1b
Line 3753 in 04d0b1b
|
ProposalPlease re-state the problem that we are trying to solve in this issue.The Self DM header displays skeleton loading after cache clearing and app restart. What is the root cause of that problem?personalDetails is not re-loaded yet after the cache and selfDM doesn't have personalDetails will contain this value {
"isOptimisticPersonalDetail": true
} What changes do you think we should make in order to solve the problem?If it's self DM, use currentUserEmail as fallback when personalDetails is not loaded. Replace this code to: // For selfDM, we display the user's displayName followed by '(you)' as a postfix
const isSelfDM = accountID === currentUserAccountID;
const shouldAddPostfix = shouldAddCurrentUserPostfix && isSelfDM;
// This is to check if account is an invite/optimistically created one
// and prevent from falling back to 'Hidden', so a correct value is shown
// when searching for a new user
if (personalDetails.isOptimisticPersonalDetail === true) {
return !isEmpty(formattedLogin) ? formattedLogin : (isSelfDM ? PersonalDetailsUtils.getDisplayNameOrDefault(personalDetails, currentUserEmail, shouldFallbackToHidden, shouldAddPostfix) : '');
} What alternative solutions did you explore? (Optional)N/A |
@carlosmiceli, @eVoloshchak Huh... This is 4 days overdue. Who can take care of this? |
Have you had a chance to look at the proposals @eVoloshchak ? |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@carlosmiceli, @eVoloshchak 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
@nkdengineer's proposal looks good to me, a simple and universal solution 🎀👀🎀 C+ reviewed! |
Current assignee @carlosmiceli is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
📣 @nkdengineer 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
This issue has not been updated in over 15 days. @carlosmiceli, @eVoloshchak, @nkdengineer 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! |
@eVoloshchak this was fixed by your other PR, right? We can close this? |
@carlosmiceli, no, this was resolved by #47831 ( the original PR for this issue) |
Regression Test Proposal
Do we agree 👍 or 👎 |
Yeah, that sounds good, thanks! |
@carlosmiceli, could you post a payment summary for this please? |
Ah, let me ask @mallenexpensify for what to do here exactly, first time seeing this situation. Matt, can we use this as a teaching moment (for me) as well as wrapping this up with @eVoloshchak ? Thanks! 🙏 |
Contributor: @nkdengineer paid $250 via Upwork Testrail GH @carlosmiceli , the step for you would be to add |
$250 approved for @eVoloshchak |
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: 9.0.20-1
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
The self DM header will not show skeleton loading
Actual Result:
The self DM header shows skeleton loading after clearing cache and restarting app
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
20240814_191127.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @eVoloshchakThe text was updated successfully, but these errors were encountered: