From 0019feb09651c8959794cfac8d48c276b9091c6b Mon Sep 17 00:00:00 2001 From: MbfloydIR <144718558+MbfloydIR@users.noreply.github.com> Date: Fri, 14 Jun 2024 11:31:38 -0700 Subject: [PATCH] added missing panels to the new ui container (#10385) --- .../editor/panels/Files/container/index.tsx | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) 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 && ( + + )} + ) }