feat(frontend): add polling fallback and reconnect logic for SSE (#577)#672
feat(frontend): add polling fallback and reconnect logic for SSE (#577)#672onyillto wants to merge 2 commits intoLabsCrypt:mainfrom
Conversation
…sCrypt#577) - Fall back to setInterval polling every 30s when SSE connection fails - Add exponential backoff auto-reconnect after connection drops - Expose polling status for "Live" / "Refreshing every 30s" UI indicator - Guard against SSR by checking window.EventSource availability closes:577
|
The codebase issues on main have been resolved and all CI checks are passing now. Please rebase your branch to pull in the latest changes before continuing. Thanks for your patience. |
ogazboiz
left a comment
There was a problem hiding this comment.
Critical syntax error in WalletProvider.tsx: disconnectWallet function is defined inside signTransaction, replacing its closing throw statement and brace. This won't compile. Branch name pooling is a typo for polling. The useSSE polling changes are fine but the WalletProvider is broken.
|
heads up, a few important changes just landed on main that affect your PR:
please rebase on latest main: git fetch upstream
git rebase upstream/main
git push --force-with-lease |
closes:577