[PR #2712] [MERGED] server list: the player count's tooltip lists the status sample #4559

Closed
opened 2026-11-03 04:18:03 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/2712
Author: @iLostName
Created: 10/27/2026
Status: ✅ Merged
Merged: 10/29/2026
Merged by: @levzzz5154

Base: main ← Head: server-list-player-tooltip


📝 Commits (2)

  • b201daf server list: the player count's tooltip lists the status sample
  • dbeb13f Merge main into this branch

📊 Changes

1 file changed (+121 additions, -5 deletions)

View changed files

📝 crates/horizon-client/src/multiplayer.rs (+121 -5)

📄 Description

What and why

Hovering a server's player count showed nothing. It now lists the status's players.sample with their § codes styled, and "and N more".

Vanilla reference

ServerStatusPinger$1.handleStatusResponse (ServerData.playerList), ServerSelectionList.OnlineServerEntry.extractContent (onlinePlayersTooltip).

Self-check

pr_ready (tools/pr_ready.py --quick on PC-Lost, against origin/main at 12e0094f1, 3 min 51 s)

Check Result
Scope ✅ 8 files, +168 −5
Cargo.lock ✅ unchanged
Public tree ✅
Python tests ❌ 331 run, FAILED (failures=2, errors=8, skipped=11) (49 s)
rustfmt ✅ (9 s)
clippy ❌ failed (27 s)
tests: horizon-client ❌ 1153 passed, 2 failed (2 min 2 s)
doc tests ✅ 0 passed (20 s)
content root tests ➖ content root untouched
tokens.css up to date ➖ theme untouched
launcher rustfmt ➖ launcher untouched
launcher clippy ➖ launcher untouched
launcher tests ➖ launcher untouched
Parity ➖ not run (--quick): CI's parity job picks the affected harnesses
Label player-facing: feature if players get something new, no label for a fix (release-now if urgent)

Run on Windows: save::session_lock_is_exclusive, crash::stacks_start_at_the_panicking_frame and the Python tests fail there and are unrelated; clippy stops at the duplicate minecraft:rabbit arm in entity_nbt.rs:502, already on main. Scope counts untracked local files.

Screenshots


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/2712 **Author:** [@iLostName](https://github.com/iLostName) **Created:** 10/27/2026 **Status:** ✅ Merged **Merged:** 10/29/2026 **Merged by:** [@levzzz5154](https://github.com/levzzz5154) **Base:** `main` ← **Head:** `server-list-player-tooltip` --- ### 📝 Commits (2) - [`b201daf`](https://github.com/horizon-rust/horizon/commit/b201dafa75d105965e29b1946a4ac3b51e9218b8) server list: the player count's tooltip lists the status sample - [`dbeb13f`](https://github.com/horizon-rust/horizon/commit/dbeb13ff6ba63388cc22e3d0147b170e0aab5ca5) Merge main into this branch ### 📊 Changes **1 file changed** (+121 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/multiplayer.rs` (+121 -5) </details> ### 📄 Description ## What and why Hovering a server's player count showed nothing. It now lists the status's `players.sample` with their `§` codes styled, and "and N more". ## Vanilla reference `ServerStatusPinger$1.handleStatusResponse` (`ServerData.playerList`), `ServerSelectionList.OnlineServerEntry.extractContent` (`onlinePlayersTooltip`). ## Self-check **pr_ready** (`tools/pr_ready.py --quick` on PC-Lost, against origin/main at 12e0094f1, 3 min 51 s) | Check | Result | | --- | --- | | Scope | ✅ 8 files, +168 −5 | | Cargo.lock | ✅ unchanged | | Public tree | ✅ | | Python tests | ❌ 331 run, FAILED (failures=2, errors=8, skipped=11) (49 s) | | rustfmt | ✅ (9 s) | | clippy | ❌ failed (27 s) | | tests: horizon-client | ❌ 1153 passed, 2 failed (2 min 2 s) | | doc tests | ✅ 0 passed (20 s) | | content root tests | ➖ content root untouched | | tokens.css up to date | ➖ theme untouched | | launcher rustfmt | ➖ launcher untouched | | launcher clippy | ➖ launcher untouched | | launcher tests | ➖ launcher untouched | | Parity | ➖ not run (--quick): CI's parity job picks the affected harnesses | | Label | player-facing: `feature` if players get something new, no label for a fix (`release-now` if urgent) | Run on Windows: `save::session_lock_is_exclusive`, `crash::stacks_start_at_the_panicking_frame` and the Python tests fail there and are unrelated; clippy stops at the duplicate `minecraft:rabbit` arm in `entity_nbt.rs:502`, already on main. Scope counts untracked local files. ## Screenshots --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 04:18:03 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#4559
No description provided.