| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
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
| Back | FazBrowse Home | New Git URL |
Summary
Fixes session history rollback and error toasts that appear when resuming OpenCode web UI on iOS after backgrounding.
Changes
1. Visibility-triggered session resync (pages/session.tsx)
2. SSE auto-reconnect with backoff (context/global-sdk.tsx)
3. Visibility tracking utility (utils/visibility.ts)
4. Background-aware error handling (components/prompt-input.tsx)
Fixes #10721