From aa08160556afbc5576899f117c8ba104cc2f12d4 Mon Sep 17 00:00:00 2001 From: Dorian Date: Wed, 18 Feb 2026 13:01:15 +0000 Subject: [PATCH] Update service worker cache revision, enhance AppSwitcher with online status indicator, and improve HTTPS setup script for PWA support - Updated the cache revision for index.html in the service worker to ensure proper asset management. - Enhanced AppSwitcher.vue with a new online status button for mobile/tablet views and a dropdown for desktop. - Improved setup-https-dev.sh to include PWA snippet for nginx configuration, facilitating Android install and ensuring HTTPS is properly set up for PWA functionality. --- neode-ui/dev-dist/sw.js | 2 +- neode-ui/src/components/AppSwitcher.vue | 23 +++++++++++++++++++- scripts/nginx-pwa-snippet.conf | 17 +++++++++++++++ scripts/setup-https-dev.sh | 29 +++++++++++++++++++++++-- 4 files changed, 67 insertions(+), 4 deletions(-) create mode 100644 scripts/nginx-pwa-snippet.conf diff --git a/neode-ui/dev-dist/sw.js b/neode-ui/dev-dist/sw.js index 939f3963..33e219c6 100644 --- a/neode-ui/dev-dist/sw.js +++ b/neode-ui/dev-dist/sw.js @@ -82,7 +82,7 @@ define(['./workbox-21a80088'], (function (workbox) { 'use strict'; "revision": "3ca0b8505b4bec776b69afdba2768812" }, { "url": "index.html", - "revision": "0.t09hvan4eu8" + "revision": "0.uegfpird2pk" }], {}); workbox.cleanupOutdatedCaches(); workbox.registerRoute(new workbox.NavigationRoute(workbox.createHandlerBoundToURL("index.html"), { diff --git a/neode-ui/src/components/AppSwitcher.vue b/neode-ui/src/components/AppSwitcher.vue index f5913c28..0bf5d32a 100644 --- a/neode-ui/src/components/AppSwitcher.vue +++ b/neode-ui/src/components/AppSwitcher.vue @@ -1,8 +1,29 @@