From 4b095f3701fec6b19b25b9f2842ac38acf06fc04 Mon Sep 17 00:00:00 2001 From: Alexander Brown Date: Fri, 9 Jan 2026 19:25:34 -0800 Subject: [PATCH] fix: Model upload UI improvements (#7938) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary Polishing improvements for the model upload (BYOM) experience. ## Changes - **HoneyToast z-index**: Increased from `z-50` to `z-9999` so the ModelImportProgressDialog appears above modal backdrops - **VideoHelpDialog**: Removed pixel-based max-width constraint, now uses `90vw` to fill more of the viewport - **UploadModelDialog responsive layout**: Added `max-height: 90vh` and scrollable content area to prevent footer buttons from underflowing on small screens - **URL validity indicator**: Added green checkmark icon inside the URL input when a valid Civitai or HuggingFace URL is entered ## Testing - Open the model upload dialog and verify buttons remain accessible on small viewport heights - Enter a valid Civitai/HuggingFace URL and confirm the green checkmark appears - Open the help video and verify it uses more of the viewport - Start a model download and verify the progress toast appears above any open modals ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-7938-fix-Model-upload-UI-improvements-2e46d73d365081a292f5fda70c6db0f5) by [Unito](https://www.unito.io) --------- Co-authored-by: Amp Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- src/components/honeyToast/HoneyToast.vue | 2 +- src/components/toast/ProgressToastItem.vue | 9 +-- .../components/ModelImportProgressDialog.vue | 33 ++++++---- .../assets/components/UploadModelDialog.vue | 66 ++++++++++--------- .../assets/components/UploadModelUrlInput.vue | 31 +++++++-- .../components/UploadModelUrlInputCivitai.vue | 29 ++++++-- .../assets/components/VideoHelpDialog.vue | 2 +- .../assets/composables/useModelUpload.ts | 4 +- 8 files changed, 110 insertions(+), 66 deletions(-) diff --git a/src/components/honeyToast/HoneyToast.vue b/src/components/honeyToast/HoneyToast.vue index 4da85ce954..a7d86ba77e 100644 --- a/src/components/honeyToast/HoneyToast.vue +++ b/src/components/honeyToast/HoneyToast.vue @@ -26,7 +26,7 @@ function toggle() { v-if="visible" role="status" aria-live="polite" - class="fixed inset-x-0 bottom-6 z-50 mx-auto w-4/5 max-w-3xl overflow-hidden rounded-lg border border-border-default bg-base-background shadow-lg" + class="fixed inset-x-0 bottom-6 z-9999 mx-auto w-4/5 max-w-3xl overflow-hidden rounded-lg border border-border-default bg-base-background shadow-lg" >
-
- {{ job.assetName }} - +
+ {{ + job.assetName + }}
-
+