Skip to content

Add connection-lost detection to operation banner#125

Merged
StudioNirin merged 1 commit into
StudioNirin:mainfrom
Brandon-Haney:pr/connection-lost-detection
Apr 5, 2026
Merged

Add connection-lost detection to operation banner#125
StudioNirin merged 1 commit into
StudioNirin:mainfrom
Brandon-Haney:pr/connection-lost-detection

Conversation

@Brandon-Haney

@Brandon-Haney Brandon-Haney commented Apr 1, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Adds automatic detection when the browser loses connection to the PlexCache server during a running operation
  • The operation banner shows a "Connection lost" state with visual feedback instead of silently failing
  • Reconnects automatically when the server becomes reachable again

Test plan

  • Start a long-running operation (e.g., cache run)
  • Kill/restart the PlexCache server mid-operation
  • Verify banner shows connection-lost state
  • Restart server and verify banner recovers

When the server becomes unreachable during an active session, the banner
pill now detects consecutive poll failures and shows a red "Connection
Lost" state instead of freezing on the last successful response. Auto-
recovers when the server comes back online.
@StudioNirin StudioNirin merged commit 05c0509 into StudioNirin:main Apr 5, 2026
2 checks passed
@Brandon-Haney Brandon-Haney deleted the pr/connection-lost-detection branch April 5, 2026 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants