decentraland / decentraland/godot-explorer

NEARBY: Add back the live user count

Open
#2,877 0 comments 0 reactions 1 assignee Claimed by @sdilauro View on GitHub
claw-created mobile
Dominant language
Rust
Stars
18
Forks
19
Avg merge
4d 2h
Merged PRs (30d)
43

Description

## **⚠️ Problem:**
NEARBY tab title lost its user count during the Social panel redesign — code comment confirms it's now static ("NEARBY", no count), unlike FRIENDS/REQUESTS which keep "(n)" labels. Users can't tell scene population at a glance without opening the tab.

Image

## **🏁 Scope:**
Restore a live count on the NEARBY tab (`Nearby (n)`), matching the FRIENDS/REQUESTS "(n)" pattern already in `friends_panel.gd`. Driven by `nearby_list.list_size`, updated on `size_changed` like the other tabs.

## **📝 Deliverables:**
- [ ] NEARBY tab title shows `Nearby (n)`, n = current nearby player count
- [ ] Count updates live on `nearby_list.size_changed`, same trigger as FRIENDS/REQUESTS counts
- [ ] Count hidden/omitted at 0, consistent with empty-state handling already in place

## **🔗 References:**
- [decentraland/godot-explorer#2792](https://github.com/decentraland/godot-explorer/pull/2792) — Social section redesign PR that shipped the NEARBY tab as static title, no count (regression source)
- [decentraland/godot-explorer#2786](https://github.com/decentraland/godot-explorer/issues/2786) — Social Section Redesign spec issue; Figma scope never called out dropping the count

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.