decentraland/builder

Update wearables and skins max size

braianj opened this issue · 1 comments

Description

The current upload size limit for the Skin Category is set at 2MB, and the wearable size (others than skins) is restricted to 2MB as well. We need to apply this proposal, to upload size for the Skin Category from 2MB to 8MB.

Update Validation Rules and Constants for Item Sizes

  • Define the following:

    • The maximum size for wearables is 2 MB.
    • The maximum size for a skin is 8 MB.
    • The maximum size for a thumbnail is 1 MB.
    • The maximum size for emotes is 2 MB.
    • The combined size of a wearable plus a thumbnail is 3 MB.
    • The size for a skin plus a thumbnail is 9 MB.
  • Update Validation in content-validator and its constants (PR)

  • Add Necessary Constants in builder-client in the file src/files/constants.ts

  • Update Validation Processes in Builder (Current PR):

Create ADR for Size Updates:

  • Create an ADR documenting the size updates, referring to ADR-51 and ADR-45 for this update.

Link

Should we need to review the UI/UX for displaying size errors?