| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Thanks for your contribution! This PR doesn't have a linked issue. All PRs must reference an existing issue. Please:
See CONTRIBUTING.md for details. |
Sorry, something went wrong.
|
The following comment was made by an LLM, it may be inaccurate: No duplicate PRs found |
Sorry, something went wrong.
… on resume - Add visibilitychange listener in session.tsx to resync when tab becomes visible - Refactor global-sdk.tsx SSE consumption with auto-reconnect on clean disconnect - Use exponential backoff (1s-30s) and pause reconnects while hidden - Add visibility tracking utility to detect recent backgrounding - Gate error toasts in prompt-input.tsx when failure likely due to backgrounding - Check if message landed before removing optimistic UI on resume Fixes #10721
|
Closing — mobile UI and PWA issues have been fixed upstream. |
Sorry, something went wrong.
|
iOS backgrounding and SSE reconnection have been fixed upstream. Closing this PR as no longer needed. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
Fixes iOS Safari backgrounding issues where the browser kills network connections when the app is backgrounded. When users return, requests would fail and confusing error toasts would appear.
Closes #10721
Changes
Testing
- 10 unit tests for visibility tracking utility
- Manually verified on iOS Safari with side-by-side comparison video:
- Before: Error toast appears after backgrounding
- After: No error toast, graceful recovery
trim.8FDE21FE-1ABE-460B-94A2-807440206C3E.MOVRelated
Revives approach from closed PR #10723