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 payment 2024-10-08] [$125] iOS&Android - Profile - No skeleton placeholder on avatar while app is loading #49526

Closed
2 of 6 tasks
IuliiaHerets opened this issue Sep 20, 2024 · 20 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

@IuliiaHerets
Copy link

IuliiaHerets commented Sep 20, 2024

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.38-0
Reproducible in staging?: Y
Reproducible in production?: Y
Issue was found when executing this PR: #48517
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team

Action Performed:

  1. Launch New Expensify app.
  2. Go to Account settings > Troubleshoot.
  3. Tap Clear cache and restart.
  4. Tap Reset and refresh.
  5. Go to Profile while app is loading (or go offline after reset and refresh app if the app loads too fast).

Expected Result:

There will be skeleton placeholder on avatar while app is loading (mweb behavior).

Actual Result:

There is no skeleton placeholder on avatar while app is loading.

Workaround:

Unknown

Platforms:

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

Screenshots/Videos

Bug6608915_1726753452025.ScreenRecording_09-19-2024_21-40-26_1.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021838053262759557407
  • Upwork Job ID: 1838053262759557407
  • Last Price Increase: 2024-09-23
  • Automatic offers:
    • suneox | Reviewer | 104110948
    • abzokhattab | Contributor | 104110949
Issue OwnerCurrent Issue Owner: @suneox
@IuliiaHerets IuliiaHerets added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Sep 20, 2024
Copy link

melvin-bot bot commented Sep 20, 2024

Triggered auto assignment to @greg-schroeder (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

@IuliiaHerets
Copy link
Author

@greg-schroeder 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

@abzokhattab
Copy link
Contributor

Proposal

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

iOS&Android - Profile - No skeleton placeholder on avatar while app is loading

What is the root cause of that problem?

the height of the SkeletonViewContentLoader is set, however the width is not set:

return (
<SkeletonViewContentLoader
animate
height={avatarSize}
backgroundColor={theme.skeletonLHNIn}
foregroundColor={theme.skeletonLHNOut}

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

add

            width={avatarSize}

POC:
image

What alternative solutions did you explore? (Optional)

@greg-schroeder greg-schroeder changed the title iOS&Android - Profile - No skeleton placeholder on avatar while app is loading [$125] iOS&Android - Profile - No skeleton placeholder on avatar while app is loading Sep 23, 2024
@melvin-bot melvin-bot bot added the Overdue label Sep 23, 2024
@greg-schroeder greg-schroeder added External Added to denote the issue can be worked on by a contributor and removed Overdue labels Sep 23, 2024
Copy link

melvin-bot bot commented Sep 23, 2024

⚠️ Could not update price automatically because there is no linked Upwork Job ID. The BZ team member will need to update the price manually in Upwork.

@melvin-bot melvin-bot bot added the Overdue label Sep 23, 2024
Copy link

melvin-bot bot commented Sep 23, 2024

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

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Sep 23, 2024
Copy link

melvin-bot bot commented Sep 23, 2024

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

@melvin-bot melvin-bot bot removed the Overdue label Sep 23, 2024
@kaushiktd
Copy link
Contributor

Proposal

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

iOS&Android - Profile - No skeleton placeholder on avatar while app is loading

What is the root cause of that problem?

For SkeletonViewContentLoader in react-content-loader, the width property is required for the skeleton to load. However, the width property is not set here.

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

You need to add width property to SkeletonViewContentLoader component. You can set custom width here.

ScreenShot

https://drive.google.com/file/d/1RTV-6YVzYawYKzlt7lhDVrmUtQJwA6uD/view?usp=sharing

@suneox
Copy link
Contributor

suneox commented Sep 23, 2024

@abzokhattab proposal LGTM

🎀 👀 🎀 C+ reviewed

Copy link

melvin-bot bot commented Sep 23, 2024

Triggered auto assignment to @MarioExpensify, 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 Sep 24, 2024
Copy link

melvin-bot bot commented Sep 24, 2024

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

Offer link
Upwork job

Copy link

melvin-bot bot commented Sep 24, 2024

📣 @abzokhattab 🎉 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 📖

@MarioExpensify
Copy link
Contributor

@abzokhattab proposal looks good, please move forward! Thanks @suneox

Copy link

melvin-bot bot commented Sep 26, 2024

@suneox, @greg-schroeder, @abzokhattab, @MarioExpensify Whoops! This issue is 2 days overdue. Let's get this updated quick!

@melvin-bot melvin-bot bot added the Overdue label Sep 26, 2024
@suneox
Copy link
Contributor

suneox commented Sep 26, 2024

@abzokhattab Could you please provide an ETA for the PR?

@melvin-bot melvin-bot bot removed the Overdue label Sep 26, 2024
@abzokhattab
Copy link
Contributor

abzokhattab commented Sep 27, 2024

Thanks !! The PR will be ready today or around tomorrow.

@greg-schroeder
Copy link
Contributor

Thanks for the update @abzokhattab!

@abzokhattab
Copy link
Contributor

The PR is ready.

@greg-schroeder
Copy link
Contributor

Nice! Merged and on staging - awaiting deploy to prod

@greg-schroeder
Copy link
Contributor

Deployed 10/1 - regression period is 10/8

@greg-schroeder greg-schroeder added Awaiting Payment Auto-added when associated PR is deployed to production and removed Reviewing Has a PR in review labels Oct 3, 2024
@greg-schroeder greg-schroeder changed the title [$125] iOS&Android - Profile - No skeleton placeholder on avatar while app is loading [HOLD for payment 2024-10-08] [$125] iOS&Android - Profile - No skeleton placeholder on avatar while app is loading Oct 3, 2024
@greg-schroeder
Copy link
Contributor

Payment summary:

Contributor: @abzokhattab - $125 - Paid via Upwork
C+: @suneox - $125 - Paid via Upwork

@melvin-bot melvin-bot bot added the Overdue label Oct 8, 2024
@melvin-bot melvin-bot bot removed the Overdue label Oct 8, 2024
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
No open projects
Status: No status
Development

No branches or pull requests

6 participants