black-backdoor / MeOS

Online Operating System
https://meos.lima.zone
GNU General Public License v3.0
2 stars 1 forks source link

Implement Service Worker Update Event #123

Closed black-backdoor closed 3 months ago

black-backdoor commented 3 months ago

Description

  1. Service Worker Update Event:

    • Modified pwa/register.js to fire a serviceWorkerUpdate event when there is an update to the service worker. This helps in notifying the application about the update.
  2. UI Notification for Service Worker Update:

    • Updated the applet-power component to display a notification dot when there is a service worker update. This provides a visual cue to users indicating that a new version of the application is available.

Type of change