[PR #7103] [MERGED] Port map: client2-015's stats narration rows cite the narrator #7341

Closed
opened 2026-11-03 06:37:57 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

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

Base: main ← Head: chore/narrator-client2-015-b


📝 Commits (1)

  • 3a1098e Port map: client2-015's stats narration rows cite the narrator

📊 Changes

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

View changed files

📝 tools/port_map/client2-015.tsv (+2 -2)

📄 Description

Two rows of tools/port_map/client2-015.tsv said the stats screen's narration text was
skipped because "Horizon has no narrator output". The narrator exists and the stats
screen records both texts, so the rows now name where.

Verdicts corrected:

  • StatsScreen.GeneralStatisticsList.Entry.getNarration ->
    inline crates/horizon-client/src/game/stats_screen.rs::Game::draw_stats, from
    skip:other: the general list's hovered row is recorded as
    narrator.select(<label> <value>), which is the method (Component.empty() plus the
    label, a space, the value and getValueText(), wrapped in narrator.select).
  • StatsScreen.MobsStatisticsList.MobRow.getNarration -> inline ...::Game::draw_stats:
    the mobs list's hovered row is narrator.select(joinForNarration(kills, killed by)),
    the same CommonComponents.joinForNarration the method uses.

Both lists are ObjectSelectionLists narrated through screen_narrator.rs::narrate's
list arm, so only the text itself was missing from the file.

Nothing else in the file changed. Open PR #6958 touches this file's other rows and
leaves these two as they were; the rows here are lines 40 and 55 and do not overlap its
hunks.

PORT_LEDGER_OUT=/tmp/pledger-n2 python3 tools/port_ledger.py map-check tools/port_map/client2-015.tsv
149 rows, no problems.

Proven: the ledger here is built from the 26.3 client and server jars at main;
both classes, methods and the cited fn resolve; the two vanilla texts are read from the
bytes of getNarration (narrator.select, joinForNarration), and the two Horizon
texts from Game::draw_stats.

Not proven: no listen to the narration in a running client; these are ledger rows,
not behaviour changes.


🔄 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/7103 **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/narrator-client2-015-b` --- ### 📝 Commits (1) - [`3a1098e`](https://github.com/horizon-rust/horizon/commit/3a1098e7bd87a74ec56ae31dbbb7d8e1a88245f5) Port map: client2-015's stats narration rows cite the narrator ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `tools/port_map/client2-015.tsv` (+2 -2) </details> ### 📄 Description Two rows of `tools/port_map/client2-015.tsv` said the stats screen's narration text was skipped because "Horizon has no narrator output". The narrator exists and the stats screen records both texts, so the rows now name where. Verdicts corrected: - `StatsScreen.GeneralStatisticsList.Entry.getNarration` -> `inline crates/horizon-client/src/game/stats_screen.rs::Game::draw_stats`, from `skip:other`: the general list's hovered row is recorded as `narrator.select(<label> <value>)`, which is the method (`Component.empty()` plus the label, a space, the value and `getValueText()`, wrapped in `narrator.select`). - `StatsScreen.MobsStatisticsList.MobRow.getNarration` -> `inline ...::Game::draw_stats`: the mobs list's hovered row is `narrator.select(joinForNarration(kills, killed by))`, the same `CommonComponents.joinForNarration` the method uses. Both lists are `ObjectSelectionList`s narrated through `screen_narrator.rs::narrate`'s list arm, so only the text itself was missing from the file. Nothing else in the file changed. Open PR #6958 touches this file's other rows and leaves these two as they were; the rows here are lines 40 and 55 and do not overlap its hunks. ``` PORT_LEDGER_OUT=/tmp/pledger-n2 python3 tools/port_ledger.py map-check tools/port_map/client2-015.tsv 149 rows, no problems. ``` **Proven:** the ledger here is built from the 26.3 client and server jars at `main`; both classes, methods and the cited fn resolve; the two vanilla texts are read from the bytes of `getNarration` (`narrator.select`, `joinForNarration`), and the two Horizon texts from `Game::draw_stats`. **Not proven:** no listen to the narration in a running client; these are ledger rows, not behaviour changes. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:37:57 +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#7341
No description provided.