From 4830d735ca83f6555941182e295f317ff7ea48f0 Mon Sep 17 00:00:00 2001 From: mabasian <54101509+mabasian@users.noreply.github.com> Date: Wed, 7 Aug 2024 14:01:43 +0200 Subject: [PATCH] FIX: release bugs (#1981) * FIX: Settings via Alert on Control Page * FIX: setup selectable on control * FIX: Volume Selection in Settings --- .../components/edit/setups/SetupDropdown.vue | 6 +- .../UI/node-page/sections/ExpertWindow.vue | 245 +++++------------- .../setting-page/components/VolumeSlider.vue | 32 ++- .../UI/the-control/ControlDashboard.vue | 63 +---- .../UI/the-control/ControlScreen.vue | 116 +++------ 5 files changed, 140 insertions(+), 322 deletions(-) diff --git a/launcher/src/components/UI/edit-page/components/edit/setups/SetupDropdown.vue b/launcher/src/components/UI/edit-page/components/edit/setups/SetupDropdown.vue index e34d77a5b..afb8e09c8 100644 --- a/launcher/src/components/UI/edit-page/components/edit/setups/SetupDropdown.vue +++ b/launcher/src/components/UI/edit-page/components/edit/setups/SetupDropdown.vue @@ -200,7 +200,11 @@ const noValidatorHandler = (setup) => { }; const toggleDropdown = () => { - isOpen.value = !isOpen.value; + if (setupsList.value.length > 1 && route.path === "/control") { + isOpen.value = !isOpen.value; + } else if (setupsList.value.length > 0 && route.path !== "/control") { + isOpen.value = !isOpen.value; + } }; const selectRename = () => { diff --git a/launcher/src/components/UI/node-page/sections/ExpertWindow.vue b/launcher/src/components/UI/node-page/sections/ExpertWindow.vue index 693fc83ff..3c1a7dc40 100755 --- a/launcher/src/components/UI/node-page/sections/ExpertWindow.vue +++ b/launcher/src/components/UI/node-page/sections/ExpertWindow.vue @@ -12,9 +12,7 @@ role="dialog" aria-modal="true" > -
+
{{ item.name }}

{{ item.category }} @@ -22,65 +20,38 @@

ID: {{ item.config.serviceID }}
-
+
- icon + icon - Expert Mode
- +
- icon - + SSV Configuration
- +
@@ -95,23 +66,14 @@ class="dataTitleBox w-full h-10 bg-[#242529] rounded-xl shadow-2xl text-gray-300" @click="openSSVDKGExpertMode" > - icon - + SSV DKG Configuration
- +
@@ -121,18 +83,13 @@ class="dataTitleBox w-full h-10 bg-[#242529] rounded-xl shadow-2xl text-gray-300" @click="openPrometheusExpertMode" > - Prometheus Configuration
- +
@@ -148,57 +105,38 @@ } -->
icon - {{ option.title }} + {{ + option.title + }} - +
icon - {{ option.title }} + {{ + option.title + }} - +
icon {{ option.title }} -
+