hexlet-codebattle / hexlet-codebattle/codebattle

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

Đang mở
#2,342 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
Elixir
Star
880
Fork
237
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
elixir, javascript
Lĩnh vực
backend, frontend
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
58/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.