Skip to content
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 #29428] - [$500] Login - Settings page has no skeleton placeholder when the page is loading #30362

Closed
6 tasks done
lanitochka17 opened this issue Oct 25, 2023 · 26 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. External Added to denote the issue can be worked on by a contributor Weekly KSv2

Comments

@lanitochka17
Copy link

lanitochka17 commented Oct 25, 2023

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: 1.3.90-2

Reproducible in staging?: Yes

Reproducible in production?: Yes

If this was caught during regression testing, add the test name, ID and link from TestRail:

Email or phone of affected tester (no customers):

Logs: https://stackoverflow.com/c/expensify/questions/4856

Expensify/Expensify Issue URL:

Issue reported by: Applause - Internal Team

Slack conversation:

Action Performed:

  1. Launch New Expensify app
  2. Log in with a high traffic account
  3. When the page is loading, open Settings

Expected Result:

Settings page has skeleton placeholder when the page is loading

Actual Result:

Settings page has no skeleton placeholder when the page is loading

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Android: Native
Android: mWeb Chrome
iOS: Native
Bug6250476_1698249216544.RPReplay_Final1698199526.mp4
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01fc78993cd9ce2750
  • Upwork Job ID: 1717214985723400192
  • Last Price Increase: 2023-10-25
  • Automatic offers:
    • bernhardoj | Contributor | 27699378
@lanitochka17 lanitochka17 added External Added to denote the issue can be worked on by a contributor Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Oct 25, 2023
@melvin-bot melvin-bot bot changed the title Login - Settings page has no skeleton placeholder when the page is loading [$500] Login - Settings page has no skeleton placeholder when the page is loading Oct 25, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 25, 2023

Job added to Upwork: https://www.upwork.com/jobs/~01fc78993cd9ce2750

@melvin-bot
Copy link

melvin-bot bot commented Oct 25, 2023

Triggered auto assignment to @CortneyOfstad (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Oct 25, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 25, 2023

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@melvin-bot
Copy link

melvin-bot bot commented Oct 25, 2023

Triggered auto assignment to Contributor-plus team member for initial proposal review - @thesahindia (External)

@bernhardoj
Copy link
Contributor

bernhardoj commented Oct 25, 2023

Proposal

Please re-state the problem that we are trying to solve in this issue.

There is no skeleton when opening the settings page after login.

What is the root cause of that problem?

Previously, we will show the skeleton if the user's personal details data is empty.

{_.isEmpty(props.currentUserPersonalDetails) || _.isUndefined(props.currentUserPersonalDetails.displayName) ? (
<CurrentUserPersonalDetailsSkeletonView
backgroundColor={themeColors.appBG}
avatarSize={CONST.AVATAR_SIZE.XLARGE}
/>
) : (

However, in this functional migration PR, if the personal detail is empty, we return null.

// On the very first sign in or after clearing storage these
// details will not be present on the first render so we'll just
// return nothing for now.
if (_.isEmpty(props.currentUserPersonalDetails)) {
return null;
}

Also, the skeleton color is currently the same color as the RHP background color (#061B09), so we still won't be able to see the skeleton.

<CurrentUserPersonalDetailsSkeletonView
backgroundColor={themeColors.appBG}

Here is the reason why it's changed. But now, the settings header section background color is back to the app bg color.

What changes do you think we should make in order to solve the problem?

Remove these codes:

if (_.isEmpty(props.currentUserPersonalDetails)) {
return null;
}

backgroundColor={themeColors.appBG}

Screen.Recording.2023-10-26.at.00.53.28.mov

@ishpaul777
Copy link
Contributor

ishpaul777 commented Oct 25, 2023

I beleive this will be resolved in this PR

cc @robertKozik

@robertKozik
Copy link
Contributor

Yeah I confirm, it should be resolved by the linked PR. Maybe we can put this issue on hod until the PR will be merged? After that we can retest this scenario to be sure it's fixed

@bernhardoj
Copy link
Contributor

bernhardoj commented Oct 27, 2023

I think that PR would partly resolve the issue, but I agree we can hold for it.

@thesahindia
Copy link
Member

Let's hold this @CortneyOfstad

@melvin-bot melvin-bot bot added the Overdue label Oct 30, 2023
@CortneyOfstad
Copy link
Contributor

Sounds good! Updating the title now 👍

@melvin-bot melvin-bot bot removed the Overdue label Oct 30, 2023
@CortneyOfstad CortneyOfstad changed the title [$500] Login - Settings page has no skeleton placeholder when the page is loading [HOLD for #29428] - [$500] Login - Settings page has no skeleton placeholder when the page is loading Oct 30, 2023
@CortneyOfstad CortneyOfstad added Weekly KSv2 and removed Daily KSv2 labels Oct 31, 2023
@melvin-bot melvin-bot bot added the Overdue label Nov 9, 2023
@CortneyOfstad
Copy link
Contributor

@thesahindia looks like the PR was closed — can you confirm if anything else is needed here? Thanks!

@thesahindia
Copy link
Member

@thesahindia looks like the PR was closed — can you confirm if anything else is needed here? Thanks!

The PR was closed and the issue is still present. Let's remove the hold.

@thesahindia
Copy link
Member

@bernhardoj's proposal looks good to me!

🎀 👀 🎀 C+ reviewed

Copy link

melvin-bot bot commented Nov 13, 2023

Triggered auto assignment to @Gonals, see https://stackoverflow.com/c/expensify/questions/7972 for more details.

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Nov 16, 2023
Copy link

melvin-bot bot commented Nov 16, 2023

📣 @thesahindia Please request via NewDot manual requests for the Reviewer role ($500)

Copy link

melvin-bot bot commented Nov 16, 2023

📣 @bernhardoj 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!

Offer link
Upwork job
Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻
Keep in mind: Code of Conduct | Contributing 📖

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Weekly KSv2 labels Nov 16, 2023
@bernhardoj
Copy link
Contributor

PR is ready

cc: @thesahindia

@CortneyOfstad
Copy link
Contributor

@thesahindia any update on the PR above? Thanks!

@thesahindia
Copy link
Member

@CortneyOfstad, the PR was merged 3 weeks ago.

@bernhardoj
Copy link
Contributor

I think this is ready for payment

@CortneyOfstad
Copy link
Contributor

Sorry for missing this! @thesahindia in the future, please make sure to remove the "Reviewing" label and add the "awaiting payment" labels, as this will trigger the payment process to begin 👍

@CortneyOfstad CortneyOfstad added Awaiting Payment Auto-added when associated PR is deployed to production and removed Reviewing Has a PR in review labels Dec 21, 2023
@situchan
Copy link
Contributor

Sorry for missing this! @thesahindia in the future, please make sure to remove the "Reviewing" label and add the "awaiting payment" labels, as this will trigger the payment process to begin 👍

FYI: C+ team doesn't have permission to add/remove labels. It should be done by BZ or engineer

@CortneyOfstad
Copy link
Contributor

Weird, I was under the impression they could — odd. But thanks for the heads up!

@bernhardoj I've sent you an offer in Upwork as the previous one expired. Please let me know as soon as that is accepted and I can get that paid to you ASAP 👍

@bernhardoj
Copy link
Contributor

@CortneyOfstad accepted. Thanks!

@CortneyOfstad
Copy link
Contributor

Payment Summary

@thesahindia to be paid $500 via NewDot
@bernhardoj was paid $500 via Upwork

@JmillsExpensify
Copy link

$500 payment approved for @thesahindia based on comment above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. External Added to denote the issue can be worked on by a contributor Weekly KSv2
Projects
None yet
Development

No branches or pull requests

9 participants