reactive-python / reactive-python/reactpy
Give Feedback About Connection State
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 8.1k
- Forks
- 332
- PR merge metrics
- No merged PRs in 30d
Description
Current Situation
Presently, if connection to a websocket is lost we log to the console. This is fine for debugging purposes, but for users it could be frustrating if the page simply stops working for what would seem like no apparent reason.
Proposed Actions
When a websocket disconnects we should add a model to the lower right of the screen explaining as much which will disappear after some time. What exactly is should should be configurable though so that different clients are able to hook into the Websocket's life-cycle events. Doing this would also address similar proposals.
Work Items
- https://github.com/idom-team/idom/issues/525
- implement a log message queue showing the state of the WebSocket to the user beyond just the developer console.
Contributor guide
No contributing guide indexed for this repository
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 reviewing issue 525 and locating the current websocket disconnect logging path. The work is done when disconnect state is shown to users in a lower-right message queue, disappears after some time, and the lifecycle messaging is configurable for different clients.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- frontend, networking
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100