petabridge / petabridge/DrawTogether.NET
Bug: need to add client heartbeat timeouts to detect when users have shut the tab
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 107
- Forks
- 27
- PR merge metrics
- No merged PRs in 30d
Description
We are pretty good about automatically exiting users from sessions whenever they navigate away from a drawing session, but we need to also include a heartbeat system to detect when a user has closed a tab.
Normally we could handle this via WebSocket disposal events but since we're outsourcing that to the Blazor Hub we might need to write some code to explicitly check for this.
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 tracing the existing session-exit handling and the Blazor Hub connection lifecycle mentioned in the issue. Determine how a heartbeat can identify a closed tab despite WebSocket disposal being handled by the Hub; done means users who close a tab are detected and exited from their drawing session.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- distributed-systems, full-stack
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100