hexlet-codebattle / hexlet-codebattle/codebattle

Bug: Missing online status indicator for match participants when viewed by an unauthenticated user

Open
#2,342 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Elixir
Stars
880
Forks
237
PR merge metrics
No merged PRs in 30d

Description

### Summary

When an unauthenticated user (guest/spectator) views an active match, the presence indicator next to online players shows offline or fails to display correctly.

### Reproduction steps

```bash
1. Start an active match between two players.
2. Open the match page in Incognito mode or as an unauthenticated user (guest).
3. Check the presence indicator next to the players' nicknames.
```

### Expected result

A green status indicator (online) is displayed next to the nicknames of connected active players, regardless of whether the spectator is authenticated.

Image

### Actual result

A gray status indicator (offline) or no indicator is displayed next to the nicknames of active connected participants.

Image

### Browsers

Chrome

### OS

Windows

Contributor guide

Open the contributing guide

Research direction

Reproduce the active match page as an unauthenticated guest in Chrome Incognito and compare the participant presence indicator with an authenticated view. Trace how participant online status reaches the match page, then verify that connected players show a green indicator for guests as well as signed-in viewers.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir, javascript
Domain
backend, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.