From 473e45c55bdad01de5da32405d56c1277c3b5383 Mon Sep 17 00:00:00 2001 From: arabcoders Date: Mon, 8 Jun 2026 08:55:08 +0300 Subject: [PATCH] refactor: use list with filtering for preset menus --- ui/app/components/NewDownload.vue | 6 ++++-- ui/app/components/PresetForm.vue | 6 ++++-- ui/app/components/Simple.vue | 10 ++++------ ui/app/components/TaskForm.vue | 6 ++++-- ui/app/components/TaskInspect.vue | 7 +++++-- 5 files changed, 21 insertions(+), 14 deletions(-) diff --git a/ui/app/components/NewDownload.vue b/ui/app/components/NewDownload.vue index 39123242..d1d8f54d 100644 --- a/ui/app/components/NewDownload.vue +++ b/ui/app/components/NewDownload.vue @@ -103,15 +103,17 @@ />
- diff --git a/ui/app/components/PresetForm.vue b/ui/app/components/PresetForm.vue index bb6f6aa4..951ee1e3 100644 --- a/ui/app/components/PresetForm.vue +++ b/ui/app/components/PresetForm.vue @@ -30,15 +30,17 @@ - diff --git a/ui/app/components/Simple.vue b/ui/app/components/Simple.vue index 19e17b97..446366d5 100644 --- a/ui/app/components/Simple.vue +++ b/ui/app/components/Simple.vue @@ -122,15 +122,17 @@ - @@ -773,10 +775,6 @@ const urlInputUi = { base: 'bg-elevated/60 ring-default focus-visible:ring-primary', }; -const selectUi = { - base: 'w-full', -}; - const historyPagination = computed(() => pagination.value); const historyIsLoading = computed(() => isLoading.value); const queueItems = computed(() => Object.values(stateStore.queue)); diff --git a/ui/app/components/TaskForm.vue b/ui/app/components/TaskForm.vue index 5f0c9c4f..1099cb8f 100644 --- a/ui/app/components/TaskForm.vue +++ b/ui/app/components/TaskForm.vue @@ -247,17 +247,19 @@ : undefined " > - diff --git a/ui/app/components/TaskInspect.vue b/ui/app/components/TaskInspect.vue index ad46702d..184ef856 100644 --- a/ui/app/components/TaskInspect.vue +++ b/ui/app/components/TaskInspect.vue @@ -29,15 +29,18 @@ :ui="fieldUi" description="Select a preset to apply its settings during inspection. In real scenario, the preset will be based on what is selected when creating the task." > -