From fc5cf84dd2a709ae84cfa746240b15f1e6841e17 Mon Sep 17 00:00:00 2001 From: arabcoders Date: Sun, 19 Apr 2026 21:22:29 +0300 Subject: [PATCH] refactor(ui): more consistency changes. --- ui/app/components/ConditionForm.vue | 12 +- ui/app/components/DLInput.vue | 12 +- ui/app/components/Dialog.vue | 6 +- ui/app/components/History.vue | 36 +++--- ui/app/components/Markdown.vue | 34 ++++- ui/app/components/Queue.vue | 18 +-- ui/app/pages/browser/[...slug].vue | 130 +++++++++----------- ui/app/pages/changelog.vue | 67 +++++----- ui/app/pages/conditions.vue | 132 +++++++++----------- ui/app/pages/console.vue | 184 +++++++--------------------- ui/app/pages/dl_fields.vue | 130 +++++++++----------- ui/app/pages/index.vue | 132 ++++++++++---------- ui/app/pages/logs.vue | 163 +++++++++--------------- ui/app/pages/notifications.vue | 156 +++++++++++------------ ui/app/pages/presets.vue | 120 +++++++++--------- ui/app/pages/task_definitions.vue | 162 +++++++++++------------- ui/app/pages/tasks.vue | 138 +++++++++------------ 17 files changed, 704 insertions(+), 928 deletions(-) diff --git a/ui/app/components/ConditionForm.vue b/ui/app/components/ConditionForm.vue index 52173fab..871ca279 100644 --- a/ui/app/components/ConditionForm.vue +++ b/ui/app/components/ConditionForm.vue @@ -475,7 +475,9 @@ : 'i-lucide-circle-help' " title="Filter Status" - :description="logicStatusText" + :description=" + testData.data.status === null ? 'Not tested' : logicTest ? 'Matched' : 'Not matched' + " /> @@ -673,14 +675,6 @@ const logicTest = computed(() => { } }); -const logicStatusText = computed(() => { - if (testData.value.data.status === null) { - return 'Not tested'; - } - - return logicTest.value ? 'Matched' : 'Not matched'; -}); - const checkInfo = async (): Promise => { for (const key of ['name', 'filter'] as const) { if (!form[key]) { diff --git a/ui/app/components/DLInput.vue b/ui/app/components/DLInput.vue index 5d2af6e1..98057f84 100644 --- a/ui/app/components/DLInput.vue +++ b/ui/app/components/DLInput.vue @@ -5,7 +5,7 @@ >
- + {{ label }} @@ -52,7 +52,7 @@