[PR #7703] [MERGED] launcher: Home's Console tab in glass #7773

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

📋 Pull Request Information

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

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


📝 Commits (1)

  • d4540fa launcher: Home's Console tab in glass

📊 Changes

3 files changed (+237 additions, -38 deletions)

View changed files

📝 launcher/src/console_page.rs (+215 -0)
📝 launcher/src/glass_home_tabs.rs (+12 -32)
📝 launcher/src/servers_page.rs (+10 -6)

📄 Description

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

Redesign 10 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 #7687 (Mods tab).

In the dark appearance, Home's Console tab moves to glass. With it, every Home tab is in the glass look.

What it is

The mockup has no Console tab. Its Overview shows a game log (Logs) only while the game starts. The launcher keeps its Console, built from the mockup's parts:

  • Head: "10 lines from the last run" (13 px at 60 %).
  • Search: the small FIELD (36 px, white at 7 %, 11 % focused, round at 10).
  • Follow: a Toggle with its label.
  • Buttons: Copy and Share log… (QUIET), and the logs folder (ICON_BUTTON).
  • The log: the mockup's Logs: round at 12, black at 25 %, p-4, Geist Mono 12 px on 1.75, white at 75 %.
    • Warnings are in the look's amber and errors in its red, as before.
  • Share log asks first, on a card like the patch log's (white at 4 %, round at 14), with Cancel (QUIET) and Upload (SOLID).
  • With no tab drawing buttons beside the strip any more, the panel's separate button row is removed.

Screenshot

The launcher at 1280×800. The Console has no mockup to compare with.

The lines are from a local build that fills the log at start, for this picture only; the drawing code is this PR's. A scratch home can't start the game (it needs a Microsoft account) or prepare one (it needs a Minecraft folder).

console

Not in the mockup, kept: the Console tab itself, the search, Follow, Copy, Share log and the logs folder.

Unchanged: the light appearance. Next: Overview's rows (instance, memory, resources), then the instance dialog.

Self-check

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

Check Result
Scope ⚠️ 23 files, +1004 −80; 1084 lines of code: over 500, split it if it can ship in parts
Cargo.lock ✅ unchanged
Public tree ✅
Python tests ✅ 612 passed (4 min 28 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 ✅ (15 s)
launcher tests ✅ 452 passed (8 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: 237 insertions(+), 38 deletions(-).

🤖 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/7703 **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-console` --- ### 📝 Commits (1) - [`d4540fa`](https://github.com/horizon-rust/horizon/commit/d4540fa520530b5d0f58021e6765410cc5b14d66) launcher: Home's Console tab in glass ### 📊 Changes **3 files changed** (+237 additions, -38 deletions) <details> <summary>View changed files</summary> 📝 `launcher/src/console_page.rs` (+215 -0) 📝 `launcher/src/glass_home_tabs.rs` (+12 -32) 📝 `launcher/src/servers_page.rs` (+10 -6) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. Redesign 10 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 #7687 (Mods tab). In the dark appearance, Home's **Console** tab moves to glass. With it, every Home tab is in the glass look. ## What it is The mockup has no Console tab. Its Overview shows a game log (`Logs`) only while the game starts. The launcher keeps its Console, built from the mockup's parts: - **Head:** "10 lines from the last run" (13 px at 60 %). - **Search:** the small `FIELD` (36 px, white at 7 %, 11 % focused, round at 10). - **Follow:** a `Toggle` with its label. - **Buttons:** Copy and Share log… (`QUIET`), and the logs folder (`ICON_BUTTON`). - **The log:** the mockup's `Logs`: round at 12, black at 25 %, `p-4`, Geist Mono 12 px on 1.75, white at 75 %. - Warnings are in the look's amber and errors in its red, as before. - **Share log** asks first, on a card like the patch log's (white at 4 %, round at 14), with Cancel (`QUIET`) and Upload (`SOLID`). - With no tab drawing buttons beside the strip any more, the panel's separate button row is removed. ## Screenshot The launcher at 1280×800. The Console has no mockup to compare with. The lines are from a local build that fills the log at start, for this picture only; the drawing code is this PR's. A scratch home can't start the game (it needs a Microsoft account) or prepare one (it needs a Minecraft folder). ![console](https://raw.githubusercontent.com/horizon-rust/horizon/screenshots/launcher-redesign-4/pr11-console/console.png) Not in the mockup, kept: the Console tab itself, the search, Follow, Copy, Share log and the logs folder. Unchanged: the light appearance. Next: Overview's rows (instance, memory, resources), then the instance dialog. ## Self-check **pr_ready** (`tools/pr_ready.py` on ludovics-mac-mini, against origin/main at 0fea17d09, 4 min 55 s) | Check | Result | | --- | --- | | Scope | ⚠️ 23 files, +1004 −80; 1084 lines of code: over 500, split it if it can ship in parts | | Cargo.lock | ✅ unchanged | | Public tree | ✅ | | Python tests | ✅ 612 passed (4 min 28 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 | ✅ (15 s) | | launcher tests | ✅ 452 passed (8 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: 237 insertions(+), 38 deletions(-). 🤖 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:00 +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#7773
No description provided.