[PR #7687] [MERGED] launcher: Home's Mods tab in glass #7762

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

📋 Pull Request Information

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

Base: main ← Head: feat/launcher-glass-home-mods


📝 Commits (1)

  • 103bc04 launcher: Home's Mods tab in glass

📊 Changes

15 files changed (+300 additions, -28 deletions)

View changed files

📝 launcher/lang/de.json (+5 -1)
📝 launcher/lang/es.json (+5 -1)
📝 launcher/lang/fr.json (+5 -1)
📝 launcher/lang/ja.json (+5 -1)
📝 launcher/lang/pl.json (+5 -1)
📝 launcher/lang/pt-br.json (+5 -1)
📝 launcher/lang/ru.json (+5 -1)
📝 launcher/lang/tr.json (+5 -1)
📝 launcher/lang/uk.json (+5 -1)
📝 launcher/lang/zh.json (+5 -1)
➕ launcher/src/glass_home_mods.rs (+226 -0)
📝 launcher/src/glass_home_tabs.rs (+1 -4)
📝 launcher/src/instance_mods.rs (+12 -12)
📝 launcher/src/main.rs (+1 -0)
📝 launcher/src/servers_page.rs (+10 -2)

📄 Description

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

Redesign 9 of the series that ports Anthony S.'s launcher mockup (playhorizon.dev/launcher) 1:1 to the GPUI launcher. Design reviewer: dezer-x. Stacked on #7682 (Packs, Screenshots).

In the dark appearance, Home's Mods tab becomes the mockup's InstanceMods.

What it is

  • The head: "4 mods in Horizon" (13 px at 60 %) with + Find mods (QUIET with its icon), which opens the Mods page.
  • The rows: one ROW per mod: its 36 px icon round at 9 (PixelIcon), the name (14 px medium), "2.0.0 · Horizon" (13 px at 55 %).
  • Empty: "No mods in {instance} yet. Find mods", the link as in the mockup.
  • A modpack's hundreds of rows are still built only near the view.

Side by side

Left: the mockup in Chrome at 1280×768. Right: the launcher at 1280×800 with the title bar cut. The mockup's first four mods are seeded into a scratch home; they are off there.

mods

Not in the mockup, kept (real features, fitted to its patterns)

  • The filter: the mockup's small FIELD (36 px, white at 7 %, 11 % focused, round at 10), before Find mods.
  • Update all (N) (QUIET) in the head, and a mod's Update x.y (QUIET, 32 px) at its row's end.
  • The on/off Toggle at the row's end. The mockup removes a mod with a 🗑 under the pointer; the launcher turns it off here and removes it on the Mods page, as before.
  • Native mods keep their build and GitHub actions at the row's end, in their current look, along with the native build panel and the install progress plate. They are ported with the Mods page.
  • A mod without an icon gets the lists' plain tile with the puzzle icon; the mockup draws generated pixel art.
  • The second line names the mod's source (Horizon, Modrinth, a local file) where the mockup's demo names an author: the launcher doesn't keep authors.

Unchanged: the light appearance and the Console tab (next).

Self-check

pr_ready (tools/pr_ready.py on ludovics-mac-mini, against origin/main at 0fea17d09, 2 min 19 s)

Check Result
Scope ⚠️ 22 files, +783 −58; 841 lines of code: over 500, split it if it can ship in parts
Cargo.lock ✅ unchanged
Public tree ✅
Python tests ✅ 612 passed (2 min 12 s)
rustfmt ➖ no Rust change
clippy ➖ no Rust change
tests ➖ no crate touched
doc tests ➖ no crate touched
content root tests ➖ content root untouched
mod API up to date ➖ native hooks untouched
tokens.css up to date ➖ theme untouched
launcher rustfmt ✅ (1 s)
launcher clippy ✅ (1 s)
launcher tests ✅ 452 passed (3 s)
Parity ➖ 18 affected, to run in CI (no vanilla data here): anvil_turtle_egg, armor_stand_frost, armor_stand_turtle_egg, arrow_wind_charge, boat_authority, boat_paddle_reset, boat_submerged, dragon_contacts, dragon_render, enchantment_components, fishing_hook_entities, inline_object and 6 more
Label player-facing: feature if players get something new, no label for a fix (release-now if urgent)

The Scope line counts the PRs below this one in the stack. This PR alone: 300 insertions(+), 28 deletions(-), of which 40 lines are translations.

🤖 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/7687 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 11/2/2026 **Status:** ✅ Merged **Merged:** 11/2/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `feat/launcher-glass-home-mods` --- ### 📝 Commits (1) - [`103bc04`](https://github.com/horizon-rust/horizon/commit/103bc04b6980bf5e6ebe49b09b3f1ac222db9f51) launcher: Home's Mods tab in glass ### 📊 Changes **15 files changed** (+300 additions, -28 deletions) <details> <summary>View changed files</summary> 📝 `launcher/lang/de.json` (+5 -1) 📝 `launcher/lang/es.json` (+5 -1) 📝 `launcher/lang/fr.json` (+5 -1) 📝 `launcher/lang/ja.json` (+5 -1) 📝 `launcher/lang/pl.json` (+5 -1) 📝 `launcher/lang/pt-br.json` (+5 -1) 📝 `launcher/lang/ru.json` (+5 -1) 📝 `launcher/lang/tr.json` (+5 -1) 📝 `launcher/lang/uk.json` (+5 -1) 📝 `launcher/lang/zh.json` (+5 -1) ➕ `launcher/src/glass_home_mods.rs` (+226 -0) 📝 `launcher/src/glass_home_tabs.rs` (+1 -4) 📝 `launcher/src/instance_mods.rs` (+12 -12) 📝 `launcher/src/main.rs` (+1 -0) 📝 `launcher/src/servers_page.rs` (+10 -2) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. Redesign 9 of the series that ports Anthony S.'s launcher mockup (playhorizon.dev/launcher) 1:1 to the GPUI launcher. Design reviewer: dezer-x. Stacked on #7682 (Packs, Screenshots). In the dark appearance, Home's **Mods** tab becomes the mockup's `InstanceMods`. ## What it is - **The head:** "4 mods in Horizon" (13 px at 60 %) with **+ Find mods** (`QUIET` with its icon), which opens the Mods page. - **The rows:** one `ROW` per mod: its 36 px icon round at 9 (`PixelIcon`), the name (14 px medium), "2.0.0 · Horizon" (13 px at 55 %). - **Empty:** "No mods in {instance} yet. **Find mods**", the link as in the mockup. - A modpack's hundreds of rows are still built only near the view. ## Side by side Left: the mockup in Chrome at 1280×768. Right: the launcher at 1280×800 with the title bar cut. The mockup's first four mods are seeded into a scratch home; they are off there. ![mods](https://raw.githubusercontent.com/horizon-rust/horizon/screenshots/launcher-redesign-4/pr10-mods/side-mods.png) ## Not in the mockup, kept (real features, fitted to its patterns) - **The filter:** the mockup's small `FIELD` (36 px, white at 7 %, 11 % focused, round at 10), before Find mods. - **Update all (N)** (`QUIET`) in the head, and a mod's **Update x.y** (`QUIET`, 32 px) at its row's end. - **The on/off `Toggle`** at the row's end. The mockup removes a mod with a 🗑 under the pointer; the launcher turns it off here and removes it on the Mods page, as before. - **Native mods** keep their build and GitHub actions at the row's end, in their current look, along with the native build panel and the install progress plate. They are ported with the Mods page. - A mod without an icon gets the lists' plain tile with the puzzle icon; the mockup draws generated pixel art. - The second line names the mod's source (Horizon, Modrinth, a local file) where the mockup's demo names an author: the launcher doesn't keep authors. Unchanged: the light appearance and the Console tab (next). ## Self-check **pr_ready** (`tools/pr_ready.py` on ludovics-mac-mini, against origin/main at 0fea17d09, 2 min 19 s) | Check | Result | | --- | --- | | Scope | ⚠️ 22 files, +783 −58; 841 lines of code: over 500, split it if it can ship in parts | | Cargo.lock | ✅ unchanged | | Public tree | ✅ | | Python tests | ✅ 612 passed (2 min 12 s) | | rustfmt | ➖ no Rust change | | clippy | ➖ no Rust change | | tests | ➖ no crate touched | | doc tests | ➖ no crate touched | | content root tests | ➖ content root untouched | | mod API up to date | ➖ native hooks untouched | | tokens.css up to date | ➖ theme untouched | | launcher rustfmt | ✅ (1 s) | | launcher clippy | ✅ (1 s) | | launcher tests | ✅ 452 passed (3 s) | | Parity | ➖ 18 affected, to run in CI (no vanilla data here): anvil_turtle_egg, armor_stand_frost, armor_stand_turtle_egg, arrow_wind_charge, boat_authority, boat_paddle_reset, boat_submerged, dragon_contacts, dragon_render, enchantment_components, fishing_hook_entities, inline_object and 6 more | | Label | player-facing: `feature` if players get something new, no label for a fix (`release-now` if urgent) | The Scope line counts the PRs below this one in the stack. This PR alone: 300 insertions(+), 28 deletions(-), of which 40 lines are translations. 🤖 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 07:23:54 +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#7762
No description provided.