[PR #7627] [MERGED] launcher: Home's tabbed glass panel and Overview #7727

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

📋 Pull Request Information

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

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


📝 Commits (1)

  • 057bcfc launcher: Home's tabbed glass panel and Overview

📊 Changes

16 files changed (+603 additions, -24 deletions)

View changed files

📝 launcher/lang/de.json (+6 -1)
📝 launcher/lang/es.json (+6 -1)
📝 launcher/lang/fr.json (+6 -1)
📝 launcher/lang/ja.json (+6 -1)
📝 launcher/lang/pl.json (+6 -1)
📝 launcher/lang/pt-br.json (+6 -1)
📝 launcher/lang/ru.json (+6 -1)
📝 launcher/lang/tr.json (+6 -1)
📝 launcher/lang/uk.json (+6 -1)
📝 launcher/lang/zh.json (+6 -1)
📝 launcher/src/glass.rs (+110 -9)
➕ launcher/src/glass_home_tabs.rs (+396 -0)
📝 launcher/src/glass_ui.rs (+20 -1)
📝 launcher/src/home_tabs.rs (+4 -1)
📝 launcher/src/main.rs (+12 -2)
📝 launcher/src/screenshots_page.rs (+1 -1)

📄 Description

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

Redesign 6 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 #7613 (Home head) → #7566 (glass shell) → #7538 (tokens).

In the dark appearance, Home's tabs become the mockup's TabbedPanel, and Overview becomes its screenshots + patch log.

What it is

  • The cut-out glass plate. The tab strip is the panel's top-left corner:
    • the strip is round at 18 on top, the panel is round at 20, and a 16 px inward curve joins them where the strip ends (the mockup's clip-path);
    • the strip is measured as it is laid out (glass::measure), and the plate is painted as three backdrop pieces;
    • the curve is its own piece, baked with a smooth alpha edge at one texel per device pixel;
    • when the strip is nearly as wide as the panel, the plate is one rounded rectangle, as in the mockup.
  • Tabs (Tabs md) with their icons (Overview, Mods, Worlds, Multiplayer) and counts at 45 %.
  • Overview:
    • the three newest screenshots in an 8:3 mosaic (the first two-thirds wide), with See all opening the Screenshots tab, or "No screenshots yet. Press F2 in the game.";
    • beside them, the Patch log: the newest launcher release's changes by section, without PR numbers or the contributor thanks, with All notes opening Patch notes. It fills its column and scrolls inside, as lg:absolute lg:inset-0 does.
    • Below: what Play still needs (the launcher's rows, unchanged here). The Instance row's actions are in the sidebar's ⋮ menu in this look.

Side by side

Left: the mockup in Chrome at 1280×768. Right: the launcher at 1280×800 with the title bar cut, and the mockup's four demo screenshots in a scratch instance.

home

The strip and the panel's top, mockup above, launcher below:

strip

Gaps, to settle with dezer-x

  • No screenshot blur toggle (the eye before See all). The launcher has no such setting yet.
  • No Game log in Overview while the game starts. The Console tab keeps the log.
  • Patch log:
    • it shows the newest launcher release (Launcher 0.2.97 · 2026-10-28), the mockup's own fallback when no Nightly notes exist. The launcher's Nightlies carry no change list.
    • Dates stay ISO, as on the launcher's Patch notes page; the mockup writes "Nov 1".
  • The other tabs' bodies (Mods, Worlds, Multiplayer, Packs, Screenshots, Console) and the rows under Overview keep the current look. They are next in the series.
  • Maximum memory still sits under Overview. It moves when the instance modal is ported. Ludovic's leaning is the instance modal, to be confirmed.

Self-check

pr_ready (tools/pr_ready.py on ludovics-mac-mini, against origin/main at d51832030, 6 min 3 s)

Check Result
Scope ⚠️ 74 files, +4002 −110; 4071 lines of code: over 500, split it if it can ship in parts
Cargo.lock ✅ unchanged
Public tree ✅
Python tests ✅ 612 passed (2 min 47 s)
rustfmt ✅ (9 s)
clippy ✅ (4 s)
tests: horizon-theme ✅ 12 passed
doc tests ✅ 0 passed (1 s)
content root tests ➖ content root untouched
mod API up to date ➖ native hooks untouched
tokens.css up to date ✅
launcher rustfmt ✅ (2 s)
launcher clippy ✅ (32 s)
launcher tests ✅ 452 passed (25 s)
Parity ➖ 137 affected, to run in CI (no vanilla data here): ambient_sound, anvil_turtle_egg, armor_stand_frost, armor_stand_turtle_egg, arrow, arrow_wind_charge, audio_attributes, auto_jump, block_entity_anim, block_entity_render, block_entity_tickers, block_particles and 125 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: +603 −24, of which 50 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/7627 **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-tabs` --- ### 📝 Commits (1) - [`057bcfc`](https://github.com/horizon-rust/horizon/commit/057bcfcd1a2edb8a2f178d666bf41e16afacf8cc) launcher: Home's tabbed glass panel and Overview ### 📊 Changes **16 files changed** (+603 additions, -24 deletions) <details> <summary>View changed files</summary> 📝 `launcher/lang/de.json` (+6 -1) 📝 `launcher/lang/es.json` (+6 -1) 📝 `launcher/lang/fr.json` (+6 -1) 📝 `launcher/lang/ja.json` (+6 -1) 📝 `launcher/lang/pl.json` (+6 -1) 📝 `launcher/lang/pt-br.json` (+6 -1) 📝 `launcher/lang/ru.json` (+6 -1) 📝 `launcher/lang/tr.json` (+6 -1) 📝 `launcher/lang/uk.json` (+6 -1) 📝 `launcher/lang/zh.json` (+6 -1) 📝 `launcher/src/glass.rs` (+110 -9) ➕ `launcher/src/glass_home_tabs.rs` (+396 -0) 📝 `launcher/src/glass_ui.rs` (+20 -1) 📝 `launcher/src/home_tabs.rs` (+4 -1) 📝 `launcher/src/main.rs` (+12 -2) 📝 `launcher/src/screenshots_page.rs` (+1 -1) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. Redesign 6 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 #7613 (Home head) → #7566 (glass shell) → #7538 (tokens). In the dark appearance, Home's tabs become the mockup's `TabbedPanel`, and Overview becomes its screenshots + patch log. ## What it is - **The cut-out glass plate.** The tab strip is the panel's top-left corner: - the strip is round at 18 on top, the panel is round at 20, and a 16 px inward curve joins them where the strip ends (the mockup's `clip-path`); - the strip is measured as it is laid out (`glass::measure`), and the plate is painted as three backdrop pieces; - the curve is its own piece, baked with a smooth alpha edge at one texel per device pixel; - when the strip is nearly as wide as the panel, the plate is one rounded rectangle, as in the mockup. - **Tabs** (`Tabs` md) with their icons (Overview, Mods, Worlds, Multiplayer) and counts at 45 %. - **Overview:** - the three newest screenshots in an 8:3 mosaic (the first two-thirds wide), with See all opening the Screenshots tab, or "No screenshots yet. Press F2 in the game."; - beside them, the **Patch log**: the newest launcher release's changes by section, without PR numbers or the contributor thanks, with All notes opening Patch notes. It fills its column and scrolls inside, as `lg:absolute lg:inset-0` does. - **Below:** what Play still needs (the launcher's rows, unchanged here). The Instance row's actions are in the sidebar's ⋮ menu in this look. ## Side by side Left: the mockup in Chrome at 1280×768. Right: the launcher at 1280×800 with the title bar cut, and the mockup's four demo screenshots in a scratch instance. ![home](https://raw.githubusercontent.com/horizon-rust/horizon/screenshots/launcher-redesign-4/pr6-tabs/side-tabs.png) The strip and the panel's top, mockup above, launcher below: ![strip](https://raw.githubusercontent.com/horizon-rust/horizon/screenshots/launcher-redesign-4/pr6-tabs/check.png) ## Gaps, to settle with dezer-x - No screenshot blur toggle (the eye before See all). The launcher has no such setting yet. - No Game log in Overview while the game starts. The Console tab keeps the log. - Patch log: - it shows the newest launcher release (`Launcher 0.2.97 · 2026-10-28`), the mockup's own fallback when no Nightly notes exist. The launcher's Nightlies carry no change list. - Dates stay ISO, as on the launcher's Patch notes page; the mockup writes "Nov 1". - The other tabs' bodies (Mods, Worlds, Multiplayer, Packs, Screenshots, Console) and the rows under Overview keep the current look. They are next in the series. - **Maximum memory** still sits under Overview. It moves when the instance modal is ported. Ludovic's leaning is the instance modal, to be confirmed. ## Self-check **pr_ready** (`tools/pr_ready.py` on ludovics-mac-mini, against origin/main at d51832030, 6 min 3 s) | Check | Result | | --- | --- | | Scope | ⚠️ 74 files, +4002 −110; 4071 lines of code: over 500, split it if it can ship in parts | | Cargo.lock | ✅ unchanged | | Public tree | ✅ | | Python tests | ✅ 612 passed (2 min 47 s) | | rustfmt | ✅ (9 s) | | clippy | ✅ (4 s) | | tests: horizon-theme | ✅ 12 passed | | doc tests | ✅ 0 passed (1 s) | | content root tests | ➖ content root untouched | | mod API up to date | ➖ native hooks untouched | | tokens.css up to date | ✅ | | launcher rustfmt | ✅ (2 s) | | launcher clippy | ✅ (32 s) | | launcher tests | ✅ 452 passed (25 s) | | Parity | ➖ 137 affected, to run in CI (no vanilla data here): ambient_sound, anvil_turtle_egg, armor_stand_frost, armor_stand_turtle_egg, arrow, arrow_wind_charge, audio_attributes, auto_jump, block_entity_anim, block_entity_render, block_entity_tickers, block_particles and 125 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: +603 −24, of which 50 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: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#7727
No description provided.