From 8bc1c521eef0f43a764e657bb71612dff8506e0e Mon Sep 17 00:00:00 2001 From: Matthew Raymer Date: Fri, 18 Jul 2025 07:49:34 +0000 Subject: [PATCH] Remove PWA functionality and service worker infrastructure Completely remove Progressive Web App features including VitePWA plugin, service workers, install prompts, and platform service PWA methods. Delete PWA component, service worker files, help images, and update build configurations. Simplify application architecture by removing PWA complexity while maintaining core functionality. --- package.json | 3 +- src/App.vue | 56 +- src/assets/help/chrome-install-pwa.png | Bin 5188 -> 0 bytes src/components/PWAInstallPrompt.vue | 177 ------ src/services/PlatformService.ts | 1 - .../platforms/CapacitorPlatformService.ts | 3 - .../platforms/ElectronPlatformService.ts | 3 - src/services/platforms/WebPlatformService.ts | 11 - src/views/HelpNotificationsView.vue | 7 +- sw_combine.js | 29 - sw_scripts/additional-scripts.js | 182 ------ sw_scripts/safari-notifications.js | 599 ------------------ vite.config.common.mts | 4 +- vite.config.optimized.mts | 4 +- vite.config.web.mts | 34 +- 15 files changed, 6 insertions(+), 1107 deletions(-) delete mode 100644 src/assets/help/chrome-install-pwa.png delete mode 100644 src/components/PWAInstallPrompt.vue delete mode 100644 sw_combine.js delete mode 100644 sw_scripts/additional-scripts.js delete mode 100644 sw_scripts/safari-notifications.js diff --git a/package.json b/package.json index 69fb903e..b7720121 100644 --- a/package.json +++ b/package.json @@ -235,7 +235,6 @@ "tailwindcss": "^3.4.1", "ts-jest": "^29.4.0", "typescript": "~5.2.2", - "vite": "^5.2.0", - "vite-plugin-pwa": "^1.0.0" + "vite": "^5.2.0" } } diff --git a/src/App.vue b/src/App.vue index 79ce76cd..76acc710 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,9 +1,6 @@