diff --git a/ui/app/components/DLFields.vue b/ui/app/components/DLFields.vue index f84f4ef2..5e3b72a7 100644 --- a/ui/app/components/DLFields.vue +++ b/ui/app/components/DLFields.vue @@ -132,13 +132,9 @@
- - - - - - No custom fields found, you can add new fields using the button above. - + + + No custom fields found, you can add new fields using the button above.
@@ -250,7 +246,6 @@ const addNewField = () => items.value.push({ const deleteField = (index: number) => items.value.splice(index, 1) const validateItem = (item: DLField, index: number): boolean => { - const requiredFields = ['name', 'field', 'kind', 'description'] for (const field of requiredFields) { @@ -282,9 +277,10 @@ const validateItem = (item: DLField, index: number): boolean => { const sortedDLFields = computed(() => items.value.sort((a, b) => (a.order || 0) - (b.order || 0))) watch(() => config.ytdlp_options, newOptions => ytDlpOptions.value = newOptions - .filter(opt => !opt.ignored).flatMap(opt => opt.flags - .filter(flag => flag.startsWith('--')) - .map(flag => ({ value: flag, description: opt.description || '' }))), + .filter(opt => !opt.ignored) + .flatMap( + opt => opt.flags.filter(flag => flag.startsWith('--') + ).map(flag => ({ value: flag, description: opt.description || '' }))), { immediate: true } ) onMounted(async () => { diff --git a/ui/app/components/DeprecatedNotice.vue b/ui/app/components/DeprecatedNotice.vue deleted file mode 100644 index 9cad0fe1..00000000 --- a/ui/app/components/DeprecatedNotice.vue +++ /dev/null @@ -1,67 +0,0 @@ - - - diff --git a/ui/app/components/History.vue b/ui/app/components/History.vue index 0a9aa013..2f0c0ee6 100644 --- a/ui/app/components/History.vue +++ b/ui/app/components/History.vue @@ -434,9 +434,9 @@
- - No results found for '{{ query }}'. + + No results found for: {{ query }}.

You can search using any value shown in the item’s source_name:task_name - items added by the specified task. - -

Your download history is empty. Once queued downloads are completed, they will appear here.

+ +

Download history is empty.

diff --git a/ui/app/components/Markdown.vue b/ui/app/components/Markdown.vue index 8d6197e5..53d83333 100644 --- a/ui/app/components/Markdown.vue +++ b/ui/app/components/Markdown.vue @@ -71,8 +71,9 @@ code {
- + + {{ error }} +
diff --git a/ui/app/components/Message.vue b/ui/app/components/Message.vue index 0368ebe5..87083862 100644 --- a/ui/app/components/Message.vue +++ b/ui/app/components/Message.vue @@ -1,16 +1,13 @@ @@ -36,24 +32,21 @@ withDefaults(defineProps<{ icon?: string | null /** Main message content */ message?: string | null - /** CSS class for the notification */ - message_class?: string /** If true, show toggle button */ useToggle?: boolean /** Current toggle state */ toggle?: boolean /** If true, show close button */ useClose?: boolean, - newStyle?: boolean + body_class?: string | null, }>(), { title: null, icon: null, message: null, - message_class: 'is-info', useToggle: false, toggle: false, useClose: false, - newStyle: false + body_class: null, }) defineEmits<{ diff --git a/ui/app/components/NewVersion.vue b/ui/app/components/NewVersion.vue index 28be65a5..ebf068e2 100644 --- a/ui/app/components/NewVersion.vue +++ b/ui/app/components/NewVersion.vue @@ -1,5 +1,5 @@