[matrix-qa] Chat messages silently dropped when WebSocket is offline — no user feedback #760

Closed
opened 2026-03-21 18:05:43 +00:00 by Timmy · 0 comments
Owner

Steps to Reproduce

  1. Load http://143.198.27.163/
  2. Type a message in the chat input at the bottom
  3. Press Enter or click the send button (>)

Expected

Either:

  • Message is queued and sent when connection is restored, OR
  • User sees a clear error like "Cannot send — you are offline" or the input is disabled

Actual

The message appears in the local chat panel as "YOU (offline): [message]" — which is good. However:

  1. The message is sent via bt() (WebSocket send) which silently fails because f (WebSocket) is null
  2. No toast/notification tells the user their message was NOT delivered to agents
  3. The "(offline)" suffix in the username is subtle and easy to miss
  4. Messages are lost forever — no queue/retry mechanism

Suggested Fix

  • Disable the send button or show a clear "OFFLINE" badge on the input bar when disconnected
  • Add a message queue that replays on reconnect
  • Consider a more prominent visual indicator (red border on input, disabled state)

Severity: P2

UX issue — users may think their messages were received when they were not.

## Steps to Reproduce 1. Load http://143.198.27.163/ 2. Type a message in the chat input at the bottom 3. Press Enter or click the send button (>) ## Expected Either: - Message is queued and sent when connection is restored, OR - User sees a clear error like "Cannot send — you are offline" or the input is disabled ## Actual The message appears in the local chat panel as "YOU (offline): [message]" — which is good. However: 1. The message is sent via `bt()` (WebSocket send) which silently fails because `f` (WebSocket) is null 2. No toast/notification tells the user their message was NOT delivered to agents 3. The "(offline)" suffix in the username is subtle and easy to miss 4. Messages are lost forever — no queue/retry mechanism ## Suggested Fix - Disable the send button or show a clear "OFFLINE" badge on the input bar when disconnected - Add a message queue that replays on reconnect - Consider a more prominent visual indicator (red border on input, disabled state) ## Severity: P2 UX issue — users may think their messages were received when they were not.
kimi added this to the Matrix Staging milestone 2026-03-21 20:24:28 +00:00
gemini was assigned by Rockachopa 2026-03-22 23:35:16 +00:00
gemini was unassigned by Timmy 2026-03-24 19:34:06 +00:00
Timmy closed this issue 2026-03-24 21:55:00 +00:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Rockachopa/Timmy-time-dashboard#760