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

fix: the profile picture display the full image of the avatar #5985

Merged

Conversation

sandrade-dcl
Copy link
Contributor

@sandrade-dcl sandrade-dcl commented Nov 27, 2023

What does this PR change?

Fix #5967

During the flow of the sing in, if the avatar was customized, we saw that the avatar profile picture was displayed as the full body instead of just the head.

image (4)

Now the avatar snapshot is saved correctly:

Screenshot at Nov 20 09-28-59

How to test the changes?

  1. Launch the explorer as guest.
  2. You should enter in the SignIn flow.
  3. Apply several changes in your avatar during the avatar customization process. (body shape, hair style and color, change the clothes)
  4. Go to the next screen and accept the terms and conditions.
  5. Check that, after the world is loaded, your profile picture shows only the face of your customized avatar.

Our Code Review Standards

https://github.com/decentraland/unity-renderer/blob/master/docs/code-review-standards.md

Copilot summary

🤖[deprecated] Generated by Copilot at 48e28b9

This pull request adds a new flag isWaitingToBeSavedAfterSignUp to the backpack data store and the HUD controllers for the backpack editor and the signup flow. The flag is used to trigger a terms of service agreement step before saving the backpack in the signup process. The HUD controllers are updated to subscribe and react to the flag changes.

@sandrade-dcl sandrade-dcl self-assigned this Nov 27, 2023
@sandrade-dcl sandrade-dcl marked this pull request as ready for review November 27, 2023 17:33
@github-actions github-actions bot requested a review from Kinerius November 27, 2023 17:33
@Ludmilafantaniella
Copy link
Contributor

❌ fix failed. Despite the profile picture displaying correctly, the avatar customization changes are not persisting. After multiple modifications, upon loading the world, the avatar reverts to the default state as if no changes were made.

Screen.Recording.2023-11-27.at.16.16.16.mp4

@sandrade-dcl

@sandrade-dcl
Copy link
Contributor Author

@Ludmilafantaniella you can re-test, I've fixed it.

Copy link
Contributor

@Ludmilafantaniella Ludmilafantaniella left a comment

Choose a reason for hiding this comment

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

✅ Fix verified on both Desktop and browser. Customized changes persist after world load, and the profile picture displays the head of the avatar as expected.

Screen.Recording.2023-11-27.at.17.59.46.mov

@lorux0
Copy link
Collaborator

lorux0 commented Nov 28, 2023

I dont really feel confortable on the back and forth from signup to backpack through datastore. Perhaps an interface for saving the profile could have been injected into the signup? Anyway im approving

@Kinerius
Copy link
Contributor

I dont really feel confortable on the back and forth from signup to backpack through datastore. Perhaps an interface for saving the profile could have been injected into the signup? Anyway im approving

I agree, we rely too much on singletons there

@sandrade-dcl sandrade-dcl merged commit 879152e into dev Nov 28, 2023
1 check passed
@sandrade-dcl sandrade-dcl deleted the fix/profile-picture-display-the-full-image-of-the-avatar branch November 28, 2023 16:01
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] Chrome | The profile picture display the full image of the avatar.
4 participants