diff --git a/packages/ui/src/components/editor/panels/Files/container/index.tsx b/packages/ui/src/components/editor/panels/Files/container/index.tsx index d95bb95a07..52415c9838 100644 --- a/packages/ui/src/components/editor/panels/Files/container/index.tsx +++ b/packages/ui/src/components/editor/panels/Files/container/index.tsx @@ -23,6 +23,7 @@ All portions of the code written by the Ethereal Engine team are Copyright © 20 Ethereal Engine. All Rights Reserved. */ +import ConfirmDialog from '@etherealengine/client-core/src/common/components/ConfirmDialog' import { FileThumbnailJobState } from '@etherealengine/client-core/src/common/services/FileThumbnailJobState' import { NotificationService } from '@etherealengine/client-core/src/common/services/NotificationService' import { uploadToFeathersService } from '@etherealengine/client-core/src/util/upload' @@ -43,6 +44,9 @@ import { availableTableColumns } from '@etherealengine/editor/src/components/assets/FileBrowser/FileBrowserState' import { FileDataType } from '@etherealengine/editor/src/components/assets/FileBrowser/FileDataType' +import { FilePropertiesPanel } from '@etherealengine/editor/src/components/assets/FileBrowser/FilePropertiesPanel' +import ImageCompressionPanel from '@etherealengine/editor/src/components/assets/ImageCompressionPanel' +import ModelCompressionPanel from '@etherealengine/editor/src/components/assets/ModelCompressionPanel' import { DndWrapper } from '@etherealengine/editor/src/components/dnd/DndWrapper' import { SupportedFileTypes } from '@etherealengine/editor/src/constants/AssetTypes' import { downloadBlobAsZip, inputFileWithAddToScene } from '@etherealengine/editor/src/functions/assetFunctions' @@ -638,6 +642,33 @@ const FileBrowserContentPanel: React.FC = (props) + {openCompress.value && fileProperties.value && fileConsistsOfContentType(fileProperties.value, 'model') && ( + + )} + + {openCompress.value && fileProperties.value && fileConsistsOfContentType(fileProperties.value, 'image') && ( + + )} + + {openProperties.value && fileProperties.value && ( + + )} + ) }