Skip to content

Add connection incident history and hover diagnostics - #102

Merged
fkesheh merged 1 commit into
mainfrom
feat/connection-diagnostics
Sep 17, 2026
Merged

fkesheh merged 1 commit into
mainfrom
feat/connection-diagnostics

Conversation

@fkesheh

@fkesheh fkesheh commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Cloud outages currently leave a message over the terminal and little evidence to inspect once connectivity recovers. Move the explanation into a hover/focus/click panel on the connection indicator and retain a downloadable incident history after recovery.

  • Record UTC cloud event/error codes, browser connectivity and visibility changes, direct bridge counts, token-refresh HTTP status, and observed outage duration in a bounded 100-event in-memory history.
  • Compare timed WebSocket-open and website checks during an outage, throttled to once every 30 seconds; allow manual checks after recovery.
  • Download a local JSON report without tokens, nonces, user IDs, or endpoint credentials/query strings. Nothing is uploaded.
  • Close diagnostic sockets on completion, timeout, and cancellation, and clarify that browser failures alone cannot identify an ISP problem.

History lasts for the current tab and is cleared on account change. Browser online status is only a hint, and website probes may be served by a service worker. This does not add server-side metrics or persistent telemetry.

Validation: all 254 UI tests pass on latest main; npx tsc --noEmit and git diff --check pass. Tests cover panel interaction, recovery history, probe throttling, credential stripping, history bounds, and socket cleanup. No live outage test performed for these changes.

@vercel

vercel Bot commented Sep 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
ftown Ready Ready Preview Sep 17, 2026 1:11pm UTC

Request Review

@fkesheh
fkesheh merged commit effc327 into main Sep 17, 2026
5 checks passed
@fkesheh
fkesheh deleted the feat/connection-diagnostics branch September 17, 2026 15:20

This branch was successfully deployed

1 active deployment
Preview c7f11a9b Deployed Sep 17, 2026 by vercel[bot]
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.

1 participant