From 54882b0c80a0275a194c4eb502a1f321237be21a Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Fri, 19 Dec 2025 07:10:24 +0000 Subject: [PATCH] feat: Add simplified socket connection diagram Co-authored-by: vignesh.surendran --- socket_status_flow_simple.svg | 93 +++++++++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 socket_status_flow_simple.svg diff --git a/socket_status_flow_simple.svg b/socket_status_flow_simple.svg new file mode 100644 index 0000000..3e102f5 --- /dev/null +++ b/socket_status_flow_simple.svg @@ -0,0 +1,93 @@ + + + + + + + + + + + + Socket connection (simplified) + A simpler state flow: Connecting ’ Connected, with Disconnected / No Internet handling and UI updates. + + + + Socket + + + Internet + + + + Connecting + + + Connected + + + Disconnected + + + Reconnecting + + + No Internet + + + + Status UI + Shows: + - Connecting + - Connected + - Disconnected + - No Internet + + + + start/connect + + + offline + + + + success + + + drop/error + + + retry + + + backoff + + + still offline + + + internet back + + + + + + + + + + Solid arrows: state transitions + + Dashed arrows: UI updates based on current state +