From bce4f876f497df0fa89486b52626cbf9377160b1 Mon Sep 17 00:00:00 2001 From: Alexander Brown Date: Fri, 9 Jan 2026 19:56:35 -0800 Subject: [PATCH] fix(UploadModel): truncate long filenames in wizard (#7939) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary Truncate long filenames in the model upload wizard to prevent dialog overflow. ## Changes - **UploadModelConfirmation**: Added `min-w-0 flex-1 truncate` to model filename display - **UploadModelProgress**: Added truncation to both processing and success state filename displays ## Testing 1. Import a model with a very long filename 2. Verify the filename truncates with ellipsis instead of expanding the dialog ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-7939-fix-UploadModel-truncate-long-filenames-in-wizard-2e46d73d365081a0a60bd6326129b9a4) by [Unito](https://www.unito.io) --- .../components/UploadModelConfirmation.vue | 6 ++--- .../assets/components/UploadModelProgress.vue | 25 +++++++++++-------- 2 files changed, 17 insertions(+), 14 deletions(-) diff --git a/src/platform/assets/components/UploadModelConfirmation.vue b/src/platform/assets/components/UploadModelConfirmation.vue index ceef74930..881b47d32 100644 --- a/src/platform/assets/components/UploadModelConfirmation.vue +++ b/src/platform/assets/components/UploadModelConfirmation.vue @@ -5,15 +5,15 @@ {{ $t('assetBrowser.modelAssociatedWithLink') }}

-

+

{{ metadata?.filename || metadata?.name }}

diff --git a/src/platform/assets/components/UploadModelProgress.vue b/src/platform/assets/components/UploadModelProgress.vue index e541e9bc0..eb9ea7f3c 100644 --- a/src/platform/assets/components/UploadModelProgress.vue +++ b/src/platform/assets/components/UploadModelProgress.vue @@ -10,19 +10,21 @@

-
-

+

+

{{ metadata?.filename || metadata?.name }}

-

+

{{ modelType }}

@@ -39,20 +41,21 @@

-
-

+

+

{{ metadata?.filename || metadata?.name }}

-

- +

{{ modelType }}