[PR #7522] [MERGED] port_map: the light-removal cite and the chat a reconfiguration keeps #7644

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/7522
Author: @MSedgeMC
Created: 11/2/2026
Status: ✅ Merged
Merged: 11/2/2026
Merged by: @ludovic111

Base: main ← Head: chore/led2-client-002


📝 Commits (2)

  • 2aeb566 port_map: repair the citations map-check rejects
  • 9079b9d notes: rewrite the gaps that closed

📊 Changes

1 file changed (+3 additions, -3 deletions)

View changed files

📝 tools/port_map/client-002.tsv (+3 -3)

📄 Description

tools/port_map/client-002.tsv: the one citation map-check rejected is repaired, and two notes that said a reconfiguration loses the chat are rewritten.

Citation repaired (this was the file's only map-check problem)

  • ClientPacketListener.queueLightRemoval -> crates/horizon-client-render/src/streaming.rs::Streaming::forget_columns (was Streaming::forget, which no longer exists) — the column's light is dropped with the column (self.lit.remove), still with no per-section clearing.

Notes rewritten

  • ClientPacketListener.<init>: the chat is cleared on join (hud_disconnected resets the tab list, boss overlay, toasts, debug charts and titles but not the chat) while a reconfiguration keeps it — Event::Reconfiguring flushes the held-back chat and leaves the state in place, and ChatComponent.storeState is named at remote.rs:1214.
  • ClientPacketListener.handleConfigurationStart: repointed from net.rs::receive_play to crates/horizon-client/src/game/remote.rs::Game::poll_remote, whose Event::Reconfiguring arm flushes the chat, sends its acknowledgement, closes dialogs, drops the level and its LOD, and records remote.reconfiguring. The screen is what is still missing, so the note keeps that half as a player: gap — the flag is read only by game/native_net.rs:148, nothing draws it.

The file's two missing rows were rechecked and stay: handleSelectAdvancementsTab (the server's tab choice is ignored) and getPlayerInfoIgnoreCase (still unsure:; no case-insensitive profile lookup for chat senders).

Map-check (the file had a problem before this change):

PORT_LEDGER_OUT=/tmp/led-led python3 tools/port_ledger.py map-check tools/port_map/client-002.tsv
147 rows, no problems.

Proven: Streaming::forget_columns's body (the lit removal and the pending-section pass), the Event::Reconfiguring arm in poll_remote, hud_disconnected's field list, and that nothing reads remote.reconfiguring except native_net.rs:148. map-check on this file went from client-002.tsv:19 ... no fn ... Streaming::forget to no problems.

Not proven: no in-game check; no proxy reconfiguration was run to watch the chat survive it, and no reconfiguring screen was drawn because there is none.


🔄 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/7522 **Author:** [@MSedgeMC](https://github.com/MSedgeMC) **Created:** 11/2/2026 **Status:** ✅ Merged **Merged:** 11/2/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `chore/led2-client-002` --- ### 📝 Commits (2) - [`2aeb566`](https://github.com/horizon-rust/horizon/commit/2aeb5664ed5722de31f0b9eb8822ef5003525eb9) port_map: repair the citations map-check rejects - [`9079b9d`](https://github.com/horizon-rust/horizon/commit/9079b9d0bb45725c28d0dfb5ed8874a79d0f4016) notes: rewrite the gaps that closed ### 📊 Changes **1 file changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `tools/port_map/client-002.tsv` (+3 -3) </details> ### 📄 Description `tools/port_map/client-002.tsv`: the one citation map-check rejected is repaired, and two notes that said a reconfiguration loses the chat are rewritten. **Citation repaired** (this was the file's only `map-check` problem) - `ClientPacketListener.queueLightRemoval` -> `crates/horizon-client-render/src/streaming.rs::Streaming::forget_columns` (was `Streaming::forget`, which no longer exists) — the column's light is dropped with the column (`self.lit.remove`), still with no per-section clearing. **Notes rewritten** - `ClientPacketListener.<init>`: the chat is cleared on join (`hud_disconnected` resets the tab list, boss overlay, toasts, debug charts and titles but not the chat) while a reconfiguration keeps it — `Event::Reconfiguring` flushes the held-back chat and leaves the state in place, and `ChatComponent.storeState` is named at `remote.rs:1214`. - `ClientPacketListener.handleConfigurationStart`: repointed from `net.rs::receive_play` to `crates/horizon-client/src/game/remote.rs::Game::poll_remote`, whose `Event::Reconfiguring` arm flushes the chat, sends its acknowledgement, closes dialogs, drops the level and its LOD, and records `remote.reconfiguring`. The screen is what is still missing, so the note keeps that half as a `player:` gap — the flag is read only by `game/native_net.rs:148`, nothing draws it. The file's two `missing` rows were rechecked and stay: `handleSelectAdvancementsTab` (the server's tab choice is ignored) and `getPlayerInfoIgnoreCase` (still `unsure:`; no case-insensitive profile lookup for chat senders). Map-check (the file had a problem before this change): ``` PORT_LEDGER_OUT=/tmp/led-led python3 tools/port_ledger.py map-check tools/port_map/client-002.tsv 147 rows, no problems. ``` **Proven:** `Streaming::forget_columns`'s body (the `lit` removal and the pending-section pass), the `Event::Reconfiguring` arm in `poll_remote`, `hud_disconnected`'s field list, and that nothing reads `remote.reconfiguring` except `native_net.rs:148`. `map-check` on this file went from `client-002.tsv:19 ... no fn ... Streaming::forget` to `no problems`. **Not proven:** no in-game check; no proxy reconfiguration was run to watch the chat survive it, and no reconfiguring screen was drawn because there is none. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 07:21:17 +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#7644
No description provided.