Fix queue list silent crash and missing uploaded status
Three fixes for queue list not updating: 1. Safe getBlob fallback - works even if old storage.js is cached by the service worker (no Storage.getBlob method) 2. Include 'uploaded' status in active filter - photos briefly in uploaded state (between upload and verify) were invisible 3. Wrap all interval refreshes in try/catch so one error doesn't silently kill all future updates Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
// NextSnap Service Worker
|
||||
// Provides offline-first caching for the app shell
|
||||
|
||||
const CACHE_VERSION = 'nextsnap-v17';
|
||||
const APP_SHELL_CACHE = 'nextsnap-shell-v13';
|
||||
const RUNTIME_CACHE = 'nextsnap-runtime-v13';
|
||||
const CACHE_VERSION = 'nextsnap-v18';
|
||||
const APP_SHELL_CACHE = 'nextsnap-shell-v14';
|
||||
const RUNTIME_CACHE = 'nextsnap-runtime-v14';
|
||||
|
||||
// Assets to cache on install
|
||||
const APP_SHELL_ASSETS = [
|
||||
|
||||
Reference in New Issue
Block a user