PWATestPanel
Client diagnostic surface for standalone display mode, install prompt availability, and service worker readiness.
Exports
- Default export:
PWATestPanel— no props
Behavior
- On mount: sets
isStandalonefromdisplay-mode: standaloneor iOSnavigator.standalone; probesnavigator.serviceWorker.ready(active/error/not supported). - Listens for
beforeinstallpromptto flipinstallPromptAvailable. - Test Install Prompt dispatches synthetic
beforeinstallpromptonwindow. - Static checklist of implemented PWA features (manifest, SW, offline, icons, etc.).
Sources: src/app/components/dev-tools/PWATestPanel.tsx