hexlet-codebattle / hexlet-codebattle/codebattle

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

Offen
#2,342 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug
Vorherrschende Sprache
Elixir
Sterne
880
Forks
237
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### 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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
elixir, javascript
Bereich
backend, frontend
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
58/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.