Implement connection status indicator
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Issue
User doesn't know if WebSocket is connected, connecting, or disconnected.
Current State
isConnectedproperty exists but isn't used for visual feedback- App appears unresponsive if connection fails
- No indication of reconnection attempts
Desired State
- Eye pulsates differently based on connection state:
- Connected: smooth breathing animation (current)
- Connecting: faster pulse (2-3 pulses/sec)
- Disconnected: red tint or error state
Implementation
- Update animation logic to check
isConnectedproperty - Add intermediate connection state (
isConnecting) - Consider different color overlays for error states
- Test with gateway unavailability
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the eye animation logic and the existing isConnected property, then trace how connection and reconnection states are represented. Add the connecting state and state-specific visual feedback, and verify the connected, connecting, disconnected, and gateway-unavailable cases in the app.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100