[PR #1638] [MERGED] Launcher Mods page: Horizon's registry beside Modrinth #3653

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/1638
Author: @ludovic111
Created: 10/24/2026
Status: ✅ Merged
Merged: 10/25/2026
Merged by: @ludovic111

Base: main ← Head: feat/launcher-horizon-tab


📝 Commits (2)

  • f602ad6 Launcher Mods page: Horizon's registry beside Modrinth
  • 41e68ae Merge feat/launcher-horizon-mods (main merged) into feat/launcher-horizon-tab

📊 Changes

4 files changed (+184 additions, -22 deletions)

View changed files

📝 launcher/src/browser/horizon.rs (+9 -0)
📝 launcher/src/browser/images.rs (+3 -1)
📝 launcher/src/mods_page.rs (+171 -21)
📝 launcher/src/mods_project.rs (+1 -0)

📄 Description

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

Stacked on #1637 (installing from the registry); review #1636 and #1637 first.

What

The launcher's Mods page gets Horizon beside Modrinth (and CurseForge, coming soon): mods and resource packs from Horizon's own reviewed registry.

  • Each result says whether it is signed and what a mod may do, in the game's words, before Install; no download counts, and the "everything" toggle and Java filters are hidden for it (everything listed is made for Horizon).
  • Installed registry mods get an on/off switch (horizon-mods.txt); one the registry took down is turned off when the page loads, says why, and can't be turned back on.
  • HORIZON_LAUNCHER_SOURCE=horizon opens the page on the registry, for screenshots. The images list allows the registry's icons host.

Based on main with RobertTGreat's #1576 (virtualized mod lists): the result and installed rows stay in its cull columns, and the lists are measured again when a row grows (the trust lines arrive after the search) or the installed list is read again after a takedown.

Checked

Launcher clippy and tests (122) pass. The isolated launcher (fresh HORIZON_HOME, HORIZON_LAUNCHER_HOME, XDG_*, telemetry off, a local test registry) on the Mods page, Horizon selected: the installed coords_hud with its switch, and the result with its trust and capabilities line. Screenshot attached in the agent's report (launcher-horizon-mods.png).

pr_ready (tools/pr_ready.py --quick --base feat/launcher-horizon-mods on ludovics-mac-mini, against feat/launcher-horizon-mods at b49fd602d, 2 min 24 s)

Check Result
Scope ✅ 4 files, +184 −22
Cargo.lock ✅ unchanged
Public tree ✅
Python tests ➖ no Python change
rustfmt ➖ no Rust change
clippy ➖ no Rust change
tests ➖ no crate touched
doc tests ➖ no crate touched
tokens.css up to date ➖ theme untouched
launcher rustfmt ✅ (3 s)
launcher clippy ✅ (18 s)
launcher tests ✅ 122 passed (46 s)
Parity ➖ no harness affected
Label player-facing: feature if players get something new, no label for a fix (release-now if urgent)

🤖 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/1638 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/24/2026 **Status:** ✅ Merged **Merged:** 10/25/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `feat/launcher-horizon-tab` --- ### 📝 Commits (2) - [`f602ad6`](https://github.com/horizon-rust/horizon/commit/f602ad6fe303ccd7aafe18514855b29c1dfa6058) Launcher Mods page: Horizon's registry beside Modrinth - [`41e68ae`](https://github.com/horizon-rust/horizon/commit/41e68aeb76c459e3e3a99bd2f2d989d315fdb1d4) Merge feat/launcher-horizon-mods (main merged) into feat/launcher-horizon-tab ### 📊 Changes **4 files changed** (+184 additions, -22 deletions) <details> <summary>View changed files</summary> 📝 `launcher/src/browser/horizon.rs` (+9 -0) 📝 `launcher/src/browser/images.rs` (+3 -1) 📝 `launcher/src/mods_page.rs` (+171 -21) 📝 `launcher/src/mods_project.rs` (+1 -0) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. Stacked on #1637 (installing from the registry); review #1636 and #1637 first. ## What The launcher's Mods page gets **Horizon** beside Modrinth (and CurseForge, coming soon): mods and resource packs from Horizon's own reviewed registry. - Each result says whether it is signed and what a mod may do, in the game's words, before **Install**; no download counts, and the "everything" toggle and Java filters are hidden for it (everything listed is made for Horizon). - Installed registry mods get an on/off switch (`horizon-mods.txt`); one the registry took down is turned off when the page loads, says why, and can't be turned back on. - `HORIZON_LAUNCHER_SOURCE=horizon` opens the page on the registry, for screenshots. The images list allows the registry's icons host. Based on main with RobertTGreat's #1576 (virtualized mod lists): the result and installed rows stay in its `cull` columns, and the lists are measured again when a row grows (the trust lines arrive after the search) or the installed list is read again after a takedown. ## Checked Launcher clippy and tests (122) pass. The isolated launcher (fresh `HORIZON_HOME`, `HORIZON_LAUNCHER_HOME`, `XDG_*`, telemetry off, a local test registry) on the Mods page, Horizon selected: the installed coords_hud with its switch, and the result with its trust and capabilities line. Screenshot attached in the agent's report (`launcher-horizon-mods.png`). **pr_ready** (`tools/pr_ready.py --quick --base feat/launcher-horizon-mods` on ludovics-mac-mini, against feat/launcher-horizon-mods at b49fd602d, 2 min 24 s) | Check | Result | | --- | --- | | Scope | ✅ 4 files, +184 −22 | | Cargo.lock | ✅ unchanged | | Public tree | ✅ | | Python tests | ➖ no Python change | | rustfmt | ➖ no Rust change | | clippy | ➖ no Rust change | | tests | ➖ no crate touched | | doc tests | ➖ no crate touched | | tokens.css up to date | ➖ theme untouched | | launcher rustfmt | ✅ (3 s) | | launcher clippy | ✅ (18 s) | | launcher tests | ✅ 122 passed (46 s) | | Parity | ➖ no harness affected | | Label | player-facing: `feature` if players get something new, no label for a fix (`release-now` if urgent) | 🤖 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 04:11:11 +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#3653
No description provided.