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

feat: opt out for vrm export improvements #6193

Merged

Conversation

AlejandroAlvarezMelucciDCL
Copy link
Collaborator

@AlejandroAlvarezMelucciDCL AlejandroAlvarezMelucciDCL commented May 6, 2024

What does this PR change?

This PR adds a Details Panel in the Backpack view that is available when the user has more than one wearable with the VRM block export feature turned on.
The Details Panel lets the user see a list of those items and allows for quick unequip/equip from that list and has a dynamic Export button that reacts to changes to equipped wearables.

...

How to test the changes?

  1. Pre-Requisite: Have wearables with the VRM block export enabled.
  2. Launch the explorer
  3. Equip one or more wearables that block the VRM export feature.
  4. See that the VRM Export button on the left now shows a warning sign
  5. After clicking said button, the Details Panel is shown and loads the info of the items that prevent the export.

Our Code Review Standards

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

Copilot summary

copilot:summary

… in the details panel list of VRM export blocking items.
…e the Details Panel view. Added VRMDetailsController to handle the Details Panel behavior.
…rectly in the Details Panel. Updated VRMItemDetails following FIGMAs.
…ent. Updated the concrete implementation to handle the complete UX flows. Updated BackpackEditorHUDController to handle the new Details Panel. Updated BackpackEditorV2Plugin to initialize the VRMDetailsController. Updated WearablesSection.prefab to hold the new Details Panel section. Updated BackpackEditorHUDV2.prefab accordingly. Added VRMExportDetailsPanel.prefab
Copy link
Contributor

@sandrade-dcl sandrade-dcl left a comment

Choose a reason for hiding this comment

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

Looks good to me! 👍

…ified in the scene during development. Adjusted prefabs to better align with screen size changes.
…Added wearableCanBeUnEquipped property to VRMItemModel. Refactored VRMDetailsController and BackpackEditorHUDController to use a data structure that holds wearable urn and whether it can be unequipped. Added active state update for action button in VRMDetailItemComponentvView. Added canBeUnEquipped in NFTDataDTO. Refactored WearableGridController to use the new extension method to check if a wearable can be unequipped.
…-opening again. Fixed details panel export button not working. Small code improvements. Added missing unsubscribe calls in several classes.
Copy link
Contributor

@anicalbano anicalbano left a comment

Choose a reason for hiding this comment

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

🟢 Reviewed by QA

16.05.2024_10.43.00_REC.mp4

Copy link
Contributor

@sandrade-dcl sandrade-dcl left a comment

Choose a reason for hiding this comment

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

Looks good to me! Clean and clear, congrats! 🟢💃

@AlejandroAlvarezMelucciDCL AlejandroAlvarezMelucciDCL changed the title Feat/opt out for vrm export improvements feat: opt out for vrm export improvements May 17, 2024
@AlejandroAlvarezMelucciDCL AlejandroAlvarezMelucciDCL merged commit 5a46319 into dev May 17, 2024
11 checks passed
@AlejandroAlvarezMelucciDCL AlejandroAlvarezMelucciDCL deleted the feat/opt-out-for-vrm-export-improvements branch May 17, 2024 15:42
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.

4 participants