[PR #5343] [MERGED] Narrate options lists, key binds, pack lists and dialogs as vanilla does #6225

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/5343
Author: @leifiyoo
Created: 10/31/2026
Status: ✅ Merged
Merged: 10/31/2026
Merged by: @ludovic111

Base: main ← Head: narrator/11-options-lists


📝 Commits (3)

  • 741cc76 Narrate options lists, key binds, pack lists and dialogs as vanilla does
  • 3ef1e50 Merge #5342's main merge into #5343 (main merged, conflicts resolved below)
  • 1cab2e7 Merge main into #5343 (options_ui: main's shader-option tooltips and fitted labels beside tooltip_text)

📊 Changes

3 files changed (+452 additions, -91 deletions)

View changed files

📝 crates/horizon-client-render/src/options_ui.rs (+334 -85)
📝 crates/horizon-client-render/src/pack_screen.rs (+47 -6)
📝 crates/horizon-client/src/game/dialogs.rs (+71 -0)

📄 Description

🤖 Opened by leifiyoo's AI agent (Claude), not by leifiyoo.

Part 11 of 16 of the narrator series. All 16 PRs have to be merged, in this order, for the narrator to work completely: #5333 → #5334 → #5335 → #5336 → #5337 → #5338 → #5339 → #5340 → #5341 → #5342 → #5343 → #5344 → #5346 → #5347 → #5348 → #5349. Each PR builds on the one before it (stacked branches), so until the previous one is merged this PR's diff also shows its commits; merging only some of them, or out of order, leaves the narrator unfinished.

Stacked on #5342 — merge that first; until then this PR also shows its commits.

The options pages' lists, the key binds, the language and pack lists and server dialogs are now read with the row's place, its widget, and tooltips as hints.

What vanilla does

  • OptionsList / KeyBindsList are ContainerObjectSelectionLists: the row under the mouse or focused, its position, its widget and header rows; CycleButtons narrate the value a click moves to; key binds narrator.controls.bound / unbound / reset; tooltips are hints.
  • LanguageSelectScreen's and PackSelectionScreen's lists are ObjectSelectionLists; PackSelectionScreen and its ConfirmScreen name themselves.
  • DialogScreen: title, warning button, Checkboxes, CycleButtons, EditBoxes / MultiLineEditBoxes named after their input's label, button tooltips.

What changed

  • crates/horizon-client-render/src/options_ui.rs (tooltips computed once in tooltip_text, including main's graphics API tooltip, and shared by drawing and narration; main's splitscreen and HDR calibration state kept beside the list's row bands), pack_screen.rs; crates/horizon-client/src/game/dialogs.rs (single- and multi-line inputs).

How it was tested

  • clippy (all targets) clean at this tip; fmt; cargo test -p horizon-client-render --lib options_ui.

🤖 Generated with Claude Code


🔄 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/5343 **Author:** [@leifiyoo](https://github.com/leifiyoo) **Created:** 10/31/2026 **Status:** ✅ Merged **Merged:** 10/31/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `narrator/11-options-lists` --- ### 📝 Commits (3) - [`741cc76`](https://github.com/horizon-rust/horizon/commit/741cc760705bd9e12174f9b1d04f6d9e0b252d1c) Narrate options lists, key binds, pack lists and dialogs as vanilla does - [`3ef1e50`](https://github.com/horizon-rust/horizon/commit/3ef1e50576a266514fde48ae3cae9ba3e9119040) Merge #5342's main merge into #5343 (main merged, conflicts resolved below) - [`1cab2e7`](https://github.com/horizon-rust/horizon/commit/1cab2e7411d4aea2df7d5b30efb65d7008f6e0b7) Merge main into #5343 (options_ui: main's shader-option tooltips and fitted labels beside tooltip_text) ### 📊 Changes **3 files changed** (+452 additions, -91 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client-render/src/options_ui.rs` (+334 -85) 📝 `crates/horizon-client-render/src/pack_screen.rs` (+47 -6) 📝 `crates/horizon-client/src/game/dialogs.rs` (+71 -0) </details> ### 📄 Description > 🤖 Opened by leifiyoo's AI agent (Claude), not by leifiyoo. **Part 11 of 16 of the narrator series.** All 16 PRs have to be merged, in this order, for the narrator to work completely: #5333 → #5334 → #5335 → #5336 → #5337 → #5338 → #5339 → #5340 → #5341 → #5342 → #5343 → #5344 → #5346 → #5347 → #5348 → #5349. Each PR builds on the one before it (stacked branches), so until the previous one is merged this PR's diff also shows its commits; merging only some of them, or out of order, leaves the narrator unfinished. Stacked on #5342 — merge that first; until then this PR also shows its commits. The options pages' lists, the key binds, the language and pack lists and server dialogs are now read with the row's place, its widget, and tooltips as hints. ## What vanilla does - `OptionsList` / `KeyBindsList` are `ContainerObjectSelectionList`s: the row under the mouse or focused, its position, its widget and header rows; `CycleButton`s narrate the value a click moves to; key binds `narrator.controls.bound` / `unbound` / `reset`; tooltips are hints. - `LanguageSelectScreen`'s and `PackSelectionScreen`'s lists are `ObjectSelectionList`s; `PackSelectionScreen` and its `ConfirmScreen` name themselves. - `DialogScreen`: title, warning button, `Checkbox`es, `CycleButton`s, `EditBox`es / `MultiLineEditBox`es named after their input's label, button tooltips. ## What changed - `crates/horizon-client-render/src/options_ui.rs` (tooltips computed once in `tooltip_text`, including main's graphics API tooltip, and shared by drawing and narration; main's splitscreen and HDR calibration state kept beside the list's row bands), `pack_screen.rs`; `crates/horizon-client/src/game/dialogs.rs` (single- and multi-line inputs). ## How it was tested - clippy (all targets) clean at this tip; fmt; `cargo test -p horizon-client-render --lib options_ui`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:16:04 +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#6225
No description provided.