Fix sync status and PWA recovery after inactivity #5
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/pwa-sync-reconnect"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Root cause
The indicator was static. The vendored WS extension retries only selected close codes, lifecycle recovery was missing, and reconnecting did not replay missed broadcasts.
Verification
ef6da27(Test / test, run 23). Initial run exposed Node 22 directory discovery incompatibility; fixed npm test to select *.test.mjs explicitly.Limits
Visual verification
Captured in desktop Chromium against the real local application with synthetic fixture data, not production data. The mobile captures use a 360px-wide mobile emulator; they are not evidence from a physical device or an installed PWA. Network/lifecycle states are simulated.
Desktop live/connected state — Polish fixture
Mobile reconnecting state — Polish fixture
Mobile offline state — Polish fixture