Skip to content

Fix: profile thumbnail loading inconsitencies #3864

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

Merged
merged 3 commits into from
Apr 8, 2025

Conversation

lorenzo-ranciaffi
Copy link
Contributor

@lorenzo-ranciaffi lorenzo-ranciaffi commented Apr 7, 2025

Pull Request Description

Fixes #3762

Profile thumbnail images sometime appear as if they failed to load (especially in the nearby users section). This is caused by the UI redrawing and cancelling the loading process multiple times.

Also, the loading spinners in the PhotoDetail panel and in the friend list panel are not animating while waiting for the thumbnail.

What does this PR change?

This PR prevents the cancellation of the loading task when we are trying to redraw the same user, letting the normal loading flow to continue and solve the thumbnails.

Regarding the animation, the wrong material was being used therefore the shader that animates the spinner wasn't working.

Test Steps

Verify that all thumbnails are loaded (also, the loading spinners should be animating while loading) in the following panels:

  1. Friend panel (and all other sections)
  2. Nearby users panel of the chat
  3. Photo detail of the reels

Additional Testing Notes

  • If any thumbnail is not visible (the default avatar should be shown), verify that there's an exception in the logs for that wallet

Quality Checklist

  • Changes have been tested locally
  • Documentation has been updated (if required)
  • Performance impact has been considered
  • For SDK features: Test scene is included

Code Review Reference

Please review our Code Review Standards before submitting.

@lorenzo-ranciaffi lorenzo-ranciaffi marked this pull request as ready for review April 7, 2025 15:41
@lorenzo-ranciaffi lorenzo-ranciaffi requested review from a team as code owners April 7, 2025 15:41
Copy link

@DafGreco DafGreco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✔️ PR reviewed and approved by QA on both platforms following instructions playing both happy and un-happy path

Regressions for this ticket had been performed in order to verify that the normal flow is working as expected:

  • ✅ Backpack and wearables in world
  • ✅ Emotes in world and in backpack
  • ✅ Teleport with map/coordinates/Jump In
  • ✅ Chat and multiplayer
  • ✅ Profile card
  • ✅ Camera
  • ✅ Settings

@lorenzo-ranciaffi lorenzo-ranciaffi merged commit 0a43129 into dev Apr 8, 2025
12 of 14 checks passed
@lorenzo-ranciaffi lorenzo-ranciaffi deleted the fix/profile-thumbnail-loading-inconsitencies branch April 8, 2025 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[QA] UI | Profile picture fails to load in multiple sections
3 participants