Update wearables and skins max size
braianj opened this issue · 1 comments
braianj commented
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):
- CreateAndEditMultipleItemsModal
- ImportStep
- modules/item/sagas.ts
- Update all error messages, currently they only specify one file size. Mainly here
- Update item editor
- Review UX/UI error messages
Create ADR for Size Updates:
Link
nachomazzara commented
Should we need to review the UI/UX for displaying size errors?