-
-
Notifications
You must be signed in to change notification settings - Fork 0
Conversation
@HexaField Please look into the |
@HexaField can you help with the below view and thumbnail created against the avatar in admin panel as well. |
@zulqarnainhanif hmm yes, the admin panel will need to initialize the engine for it to be able to use the location upload modal rather than the admin upload modal |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With local storage, uploaded avatars' filenames are coming out as e.g. avatars/public/1649701290717CyberbotSilver.glb. Is the number supposed to be a sub-directory with the .glb inside that sub-directory?
While the uploaded file has an extension of .glb, its file type is 'image'. This might be why, when I try to change to them in a scene, nothing gets rendered.
Is the uploader supposed to create a default thumbnail and/or have some way to upload a thumbnail?
I tried uploading from this URL: https://resources-dev.theoverlay.io/avatars/public/Razer3.glb and the resulting file had the name 1649701869997undefined . When I opened the uploader again and pasted the same source URL in, there's an error about the URL being invalid.
packages/client-core/src/user/components/UserMenu/menus/AvatarSelectMenu.tsx
Outdated
Show resolved
Hide resolved
…vatar-feathers-upload
@HexaField the view for pre-uploaded avatars shows up empty in admin panel. |
this seems to be because an avatar is uploaded with no name, which shouldnt happen, it appears this is from something else |
Summary
refactors the large file upload XHR function to be service agnostic, and fixes the problems with avatar uploading which was due to not properly waiting for the request to complete.
Checklist
npm run check
npm run lint
npm run test:packages
npm run build-client
References
closes #5577
QA Steps
git checkout pr_branch_name
npm install
npm run dev-reinit
npm run dev
List any additional steps required to QA the changes of this PR, as well as any supplemental images or videos.
Reviewers
Reviewers for this PR