[PR #1064] [MERGED] Fix section headings in classic video settings search #3018

Closed
opened 2026-11-02 16:00:51 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/1064
Author: @rdbtCVS
Created: 10/20/2026
Status: ✅ Merged
Merged: 10/21/2026
Merged by: @ludovic111

Base: main ← Head: t3/fix-settings-subheadings


📝 Commits (1)

  • 800fbc7 Fix classic video search section headings

📊 Changes

1 file changed (+101 additions, -18 deletions)

View changed files

📝 crates/horizon-client/src/options_ui.rs (+101 -18)

📄 Description

What and why

Fixes #894.

Keep the section subheadings (Display, Quality & Performance, and Preferences) above matching settings in classic Video Settings search results. Previously, entering any search query removed every subheading. Sections with no matching settings stay hidden, and navigation remains available.

Added regression coverage for matches in each section, full-width settings, multiple matches and sections, case-insensitive queries, no results, and clearing the search.

Vanilla reference

Horizon-only settings search. Existing vanilla section captions and heading rendering are reused.

Visual validation

Rendered the actual classic UI with prepared English resources: searching Fullscreen retains Display; searching Distance retains Quality & Performance above its four matching settings.

Self-check

pr_ready (tools/pr_ready.py on archlinux, against origin/main at defaa7cd2, 12 min 6 s)

Check Result
Scope ✅ 1 files, +101 −18
Cargo.lock ✅ unchanged
Public tree ✅
Python tests ➖ no Python change
rustfmt ✅ (25 s)
clippy ✅ (6 min 14 s)
tests: horizon-client ✅ 1032 passed (5 min 20 s)
tokens.css up to date ➖ theme untouched
launcher rustfmt ➖ launcher untouched
launcher clippy ➖ launcher untouched
launcher tests ➖ launcher untouched
Parity ➖ not run (no vanilla data here): 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)

🔄 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/1064 **Author:** [@rdbtCVS](https://github.com/rdbtCVS) **Created:** 10/20/2026 **Status:** ✅ Merged **Merged:** 10/21/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `t3/fix-settings-subheadings` --- ### 📝 Commits (1) - [`800fbc7`](https://github.com/horizon-rust/horizon/commit/800fbc757e26d48222cd8f66cd5d3d1b1af4870d) Fix classic video search section headings ### 📊 Changes **1 file changed** (+101 additions, -18 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/options_ui.rs` (+101 -18) </details> ### 📄 Description ## What and why Fixes #894. Keep the section subheadings (Display, Quality & Performance, and Preferences) above matching settings in classic Video Settings search results. Previously, entering any search query removed every subheading. Sections with no matching settings stay hidden, and navigation remains available. Added regression coverage for matches in each section, full-width settings, multiple matches and sections, case-insensitive queries, no results, and clearing the search. ## Vanilla reference Horizon-only settings search. Existing vanilla section captions and heading rendering are reused. ## Visual validation Rendered the actual classic UI with prepared English resources: searching `Fullscreen` retains Display; searching `Distance` retains Quality & Performance above its four matching settings. ## Self-check **pr_ready** (`tools/pr_ready.py` on archlinux, against origin/main at defaa7cd2, 12 min 6 s) | Check | Result | | --- | --- | | Scope | ✅ 1 files, +101 −18 | | Cargo.lock | ✅ unchanged | | Public tree | ✅ | | Python tests | ➖ no Python change | | rustfmt | ✅ (25 s) | | clippy | ✅ (6 min 14 s) | | tests: horizon-client | ✅ 1032 passed (5 min 20 s) | | tokens.css up to date | ➖ theme untouched | | launcher rustfmt | ➖ launcher untouched | | launcher clippy | ➖ launcher untouched | | launcher tests | ➖ launcher untouched | | Parity | ➖ not run (no vanilla data here): 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) | --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-02 16:00:51 +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#3018
No description provided.