Skip to content

ServiceWorker and reload prompt - #111

Merged
daveisadork merged 9 commits into
mainfrom
feat/reload-prompt
Oct 1, 2026
Merged

daveisadork merged 9 commits into
mainfrom
feat/reload-prompt

Conversation

@daveisadork

Copy link
Copy Markdown
Owner

Add a new ServiceWorker, which provides some useful new functionality. Specifically, UI is cached locally, so things like opening settings modals will no longer fail if the server gets updated while the page is loaded. Also, you will be notified to refresh the page if the server has been updated with a newer version:

image

This is especially helpful when the app is "installed" (e.g. "Add to home screen" on iOS/iPadOS, "Install and create shortcut..." on Android, etc) and the app shell does not provide a refresh/reload control.

Additionally, the switch to Vite PWA also simplifies managing the manifest and icons.

@daveisadork
daveisadork merged commit 7d2fb1a into main Oct 1, 2026
1 check passed
@daveisadork
daveisadork deleted the feat/reload-prompt branch October 1, 2026 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant