From 8cea3c1aeb2df367f4adf3f811bd5af80ff9a015 Mon Sep 17 00:00:00 2001 From: Jan Zachmann <50990105+JanZachmann@users.noreply.github.com> Date: Tue, 6 Oct 2026 15:07:25 +0200 Subject: [PATCH 1/3] fix(ui): center overlay spinner, restore typography, close action dialogs - Vuetify 4 positions v-overlay content by the location prop, so the overlay spinner needs location="center center" instead of flex classes. - Vuetify 4 removed the MD2 typography classes; switch to the MD3 names from the Vuetify upgrade guide. - useAsyncAction watches messages synchronously, because the global watcher in App.vue clears them before a default watcher would run. The reboot and factory reset dialogs now close and stop loading. - Bump version to 1.2.6. Signed-off-by: Jan Zachmann <50990105+JanZachmann@users.noreply.github.com> --- Cargo.lock | 6 ++-- Cargo.toml | 2 +- .../src/components/device/DeviceActions.vue | 8 ++--- .../src/components/device/DeviceInfoCore.vue | 6 ++-- .../components/feedback/OverlaySpinner.vue | 12 +++---- .../src/components/network/DeviceNetworks.vue | 4 +-- .../components/network/NetworkSettings.vue | 10 +++--- .../components/network/WifiConnectDialog.vue | 2 +- .../components/network/WifiForgetDialog.vue | 2 +- src/ui/src/components/network/WifiPanel.vue | 18 +++++----- .../components/update/UpdateFileUpload.vue | 4 +-- src/ui/src/components/update/UpdateInfo.vue | 10 +++--- src/ui/src/composables/useAsyncAction.ts | 35 +++++++++++++------ src/ui/src/pages/Network.vue | 2 +- src/ui/src/pages/SetPassword.vue | 2 +- src/ui/src/pages/Settings.vue | 14 ++++---- src/ui/src/pages/UpdatePassword.vue | 2 +- src/ui/tests/factory-reset.spec.ts | 1 + src/ui/tests/fixtures/network-test-harness.ts | 2 +- src/ui/tests/wifi.spec.ts | 2 +- 20 files changed, 79 insertions(+), 65 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7e8fd57a..c69daf5d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2506,7 +2506,7 @@ dependencies = [ [[package]] name = "omnect-ui" -version = "1.2.5" +version = "1.2.6" dependencies = [ "actix-files", "actix-http", @@ -2549,7 +2549,7 @@ dependencies = [ [[package]] name = "omnect-ui-core" -version = "1.2.5" +version = "1.2.6" dependencies = [ "base64 0.22.1", "console_log", @@ -3600,7 +3600,7 @@ dependencies = [ [[package]] name = "shared_types" -version = "1.2.5" +version = "1.2.6" dependencies = [ "anyhow", "crux_core", diff --git a/Cargo.toml b/Cargo.toml index 7e2b5fab..3c63d5d8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -66,4 +66,4 @@ edition = "2024" homepage = "https://www.omnect.io/home" license = "MIT OR Apache-2.0" repository = "git@github.com:omnect/omnect-ui.git" -version = "1.2.5" +version = "1.2.6" diff --git a/src/ui/src/components/device/DeviceActions.vue b/src/ui/src/components/device/DeviceActions.vue index 5846aee8..cf6a00ee 100644 --- a/src/ui/src/components/device/DeviceActions.vue +++ b/src/ui/src/components/device/DeviceActions.vue @@ -27,13 +27,13 @@ const handleFactoryReset = () => execute(async () => {