[PR #786] [MERGED] Add Open Mod Folder buttons to the mods screens #2809

Closed
opened 2026-11-02 15:59:13 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/786
Author: @LookImEcho-Rick
Created: 10/17/2026
Status: ✅ Merged
Merged: 10/18/2026
Merged by: @ludovic111

Base: main ← Head: codex/issue-780-open-mod-folder


📝 Commits (1)

  • 1ffdb5f Add open mod folder buttons

📊 Changes

3 files changed (+118 additions, -4 deletions)

View changed files

📝 crates/horizon-client/src/game/options.rs (+5 -0)
📝 crates/horizon-client/src/options_horizon.rs (+73 -3)
📝 crates/horizon-client/src/options_ui.rs (+40 -1)

📄 Description

What and why

Add an Open Mod Folder button to the Classic Mods footer and Horizon Mods section. It creates the horizon-mods directory when needed, then opens it with the existing platform folder helper. Fixes #780.

Vanilla reference

Horizon-only: this is an action for Horizon's .hmod mod UI, so no vanilla classes or methods apply.

Self-check

pr_ready (tools/pr_ready.py --quick on Rick, against origin/main at e4f8154cb, 1 min 50 s)

Check Result
Scope ✅ 3 files, +118 −4
Cargo.lock ✅ unchanged
Public tree ✅
Python tests ➖ no Python change
rustfmt ❌ failed on Windows with OS error 206 (filename or extension too long); cargo fmt -p horizon-client -- --check passes
clippy ✅ (28 s)
tests: horizon-client ❌ 833 passed, 4 failed on this Windows run
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

The four full-suite failures are in crash stack path normalization, float rounding, pack cache directory permissions, and save session locking. Issue-specific mods tests pass (3/3). The debug game was launched and the Horizon Mods button was manually confirmed working.


🔄 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/786 **Author:** [@LookImEcho-Rick](https://github.com/LookImEcho-Rick) **Created:** 10/17/2026 **Status:** ✅ Merged **Merged:** 10/18/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `codex/issue-780-open-mod-folder` --- ### 📝 Commits (1) - [`1ffdb5f`](https://github.com/horizon-rust/horizon/commit/1ffdb5f3f5aeb9660bc3a2d5b644a905233cf257) Add open mod folder buttons ### 📊 Changes **3 files changed** (+118 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/options.rs` (+5 -0) 📝 `crates/horizon-client/src/options_horizon.rs` (+73 -3) 📝 `crates/horizon-client/src/options_ui.rs` (+40 -1) </details> ### 📄 Description ## What and why Add an **Open Mod Folder** button to the Classic Mods footer and Horizon Mods section. It creates the `horizon-mods` directory when needed, then opens it with the existing platform folder helper. Fixes #780. ## Vanilla reference Horizon-only: this is an action for Horizon's `.hmod` mod UI, so no vanilla classes or methods apply. ## Self-check **pr_ready** (`tools/pr_ready.py --quick` on Rick, against origin/main at e4f8154cb, 1 min 50 s) | Check | Result | | --- | --- | | Scope | ✅ 3 files, +118 −4 | | Cargo.lock | ✅ unchanged | | Public tree | ✅ | | Python tests | ➖ no Python change | | rustfmt | ❌ failed on Windows with OS error 206 (filename or extension too long); `cargo fmt -p horizon-client -- --check` passes | | clippy | ✅ (28 s) | | tests: horizon-client | ❌ 833 passed, 4 failed on this Windows run | | 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` | The four full-suite failures are in crash stack path normalization, float rounding, pack cache directory permissions, and save session locking. Issue-specific mods tests pass (3/3). The debug game was launched and the Horizon Mods button was manually confirmed working. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-02 15:59:13 +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#2809
No description provided.