[PR #7792] [MERGED] launcher: the instance dialog's Vanilla and Modded parts in glass (redesign) #7822

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

📋 Pull Request Information

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

Base: main ← Head: feat/launcher-glass-instance-java


📝 Commits (1)

  • 112d954 launcher: the instance dialog's Vanilla and Modded parts in glass

📊 Changes

13 files changed (+277 additions, -2 deletions)

View changed files

📝 launcher/lang/de.json (+6 -0)
📝 launcher/lang/es.json (+6 -0)
📝 launcher/lang/fr.json (+6 -0)
📝 launcher/lang/ja.json (+6 -0)
📝 launcher/lang/pl.json (+6 -0)
📝 launcher/lang/pt-br.json (+6 -0)
📝 launcher/lang/ru.json (+6 -0)
📝 launcher/lang/tr.json (+6 -0)
📝 launcher/lang/uk.json (+6 -0)
📝 launcher/lang/zh.json (+6 -0)
📝 launcher/src/glass_instance.rs (+6 -2)
➕ launcher/src/glass_instance_java.rs (+210 -0)
📝 launcher/src/main.rs (+1 -0)

📄 Description

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

The Vanilla and Modded part of the glass instance dialog, ported 1:1 from Anthony S.'s mockup (playhorizon.dev/launcher, instance-modal.tsx). Design reviewer: dezer-x. Stacked on #7778 (the dialog itself).

What it is

  • Minecraft version:
    • Snapshots and Old beside the title (h 32, round 10, white at 14 % when on);
    • the search (FIELD_LG with its icon);
    • Mojang's list on white at 4 %, round 16, scrolling past 264 px: rows round 12, the version 15 px semibold in a 160 px column, "Release · date", the tick in the accent's soft shade;
    • "No version matches “…”." when the search finds none.
  • Loader: one card per loader, four across from 1280 px, else two. Each card has its logo at 40 (round 26 %), its name and the mockup's note, then "Installs the newest stable … for Minecraft …".
    • The cards come from loaders::Kind: Prism Launcher's list (Fabric, Quilt, NeoForge, Forge, LiteLoader), kept where Kind::parse knows the loader.
    • Today that is Fabric and Quilt. NeoForge and Forge (logos and notes already in) appear as soon as their backends land (java-loaders-1).
    • No CurseForge.
  • The picks feed the existing Java instance flow (new_instance.rs). Its change is only made pub(super).

Side by side (mockup left, launcher right, 1280 × 768)

Vanilla
Modded
Modded, scrolled to the loaders

Gaps

  • NeoForge and Forge cards wait for their backends; until then the grid holds two cards.
  • Versions while Mojang's list loads, or if it fails, show a line in the list.
  • No tabular numerals.

pr_ready (tools/pr_ready.py --quick --base origin/feat/launcher-glass-instance-modal on ludovics-mac-mini, against origin/feat/launcher-glass-instance-modal at 11abdd59c, 2 min 2 s)

Check Result
Scope ✅ 13 files, +277 −2
Cargo.lock ✅ unchanged
Public tree ✅
Python tests ✅ 614 passed (1 min 47 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 ✅ (2 s)
launcher clippy ✅ (5 s)
launcher tests ✅ 452 passed (8 s)
Parity ➖ 18 affected, to run in CI (--quick): 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)

🤖 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/7792 **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-instance-java` --- ### 📝 Commits (1) - [`112d954`](https://github.com/horizon-rust/horizon/commit/112d95438785802ee9a3534122e681f152a9e205) launcher: the instance dialog's Vanilla and Modded parts in glass ### 📊 Changes **13 files changed** (+277 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `launcher/lang/de.json` (+6 -0) 📝 `launcher/lang/es.json` (+6 -0) 📝 `launcher/lang/fr.json` (+6 -0) 📝 `launcher/lang/ja.json` (+6 -0) 📝 `launcher/lang/pl.json` (+6 -0) 📝 `launcher/lang/pt-br.json` (+6 -0) 📝 `launcher/lang/ru.json` (+6 -0) 📝 `launcher/lang/tr.json` (+6 -0) 📝 `launcher/lang/uk.json` (+6 -0) 📝 `launcher/lang/zh.json` (+6 -0) 📝 `launcher/src/glass_instance.rs` (+6 -2) ➕ `launcher/src/glass_instance_java.rs` (+210 -0) 📝 `launcher/src/main.rs` (+1 -0) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. The Vanilla and Modded part of the glass instance dialog, ported 1:1 from Anthony S.'s mockup (playhorizon.dev/launcher, `instance-modal.tsx`). Design reviewer: dezer-x. Stacked on #7778 (the dialog itself). **What it is** - **Minecraft version**: - Snapshots and Old beside the title (h 32, round 10, white at 14 % when on); - the search (`FIELD_LG` with its icon); - Mojang's list on white at 4 %, round 16, scrolling past 264 px: rows round 12, the version 15 px semibold in a 160 px column, "Release · date", the tick in the accent's soft shade; - "No version matches “…”." when the search finds none. - **Loader**: one card per loader, four across from 1280 px, else two. Each card has its logo at 40 (round 26 %), its name and the mockup's note, then "Installs the newest stable … for Minecraft …". - The cards come from `loaders::Kind`: Prism Launcher's list (Fabric, Quilt, NeoForge, Forge, LiteLoader), kept where `Kind::parse` knows the loader. - Today that is Fabric and Quilt. NeoForge and Forge (logos and notes already in) appear as soon as their backends land (java-loaders-1). - No CurseForge. - The picks feed the existing Java instance flow (`new_instance.rs`). Its `change` is only made `pub(super)`. **Side by side (mockup left, launcher right, 1280 × 768)** ![Vanilla](https://raw.githubusercontent.com/horizon-rust/horizon/screenshots/launcher-redesign-4/pr-instance-modal/instance-modal-vanilla.png) ![Modded](https://raw.githubusercontent.com/horizon-rust/horizon/screenshots/launcher-redesign-4/pr-instance-modal/instance-modal-modded.png) ![Modded, scrolled to the loaders](https://raw.githubusercontent.com/horizon-rust/horizon/screenshots/launcher-redesign-4/pr-instance-modal/instance-modal-modded-loaders.png) **Gaps** - NeoForge and Forge cards wait for their backends; until then the grid holds two cards. - Versions while Mojang's list loads, or if it fails, show a line in the list. - No tabular numerals. **pr_ready** (`tools/pr_ready.py --quick --base origin/feat/launcher-glass-instance-modal` on ludovics-mac-mini, against origin/feat/launcher-glass-instance-modal at 11abdd59c, 2 min 2 s) | Check | Result | | --- | --- | | Scope | ✅ 13 files, +277 −2 | | Cargo.lock | ✅ unchanged | | Public tree | ✅ | | Python tests | ✅ 614 passed (1 min 47 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 | ✅ (2 s) | | launcher clippy | ✅ (5 s) | | launcher tests | ✅ 452 passed (8 s) | | Parity | ➖ 18 affected, to run in CI (--quick): 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) | 🤖 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:24:48 +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#7822
No description provided.