[PR #4392] [MERGED] Launcher: the sign-in sheet in the night look (R5) #5602

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

📋 Pull Request Information

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

Base: main ← Head: feat/launcher-night-sign-in


📝 Commits (10+)

  • bbc9c46 Launcher: Home's hero in the night look (R4)
  • 95825f8 Launcher: translate Folder and Version, drop the strings Home no longer has
  • 2b78aa1 Launcher: Play's steps while it gets ready, in the night look (R4b)
  • 5a42da4 Launcher: test the time left and the steps' order
  • c81de0f Launcher: translate the steps' strings, drop the old preparing line
  • 0cbb5ba Launcher: the sign-in sheet in the night look (R5)
  • c7cc6e1 Launcher: Home says Ready to play only when Play would start the game
  • f26519b Merge branch 'feat/launcher-night-home' into feat/launcher-night-steps
  • 5e2d9e7 Merge branch 'feat/launcher-night-home' into feat/launcher-night-sign-in
  • 486e300 Merge remote-tracking branch 'origin/main' into feat/launcher-night-home

📊 Changes

15 files changed (+1027 additions, -480 deletions)

View changed files

📝 docs/design-system.md (+14 -0)
📝 launcher/lang/de.json (+13 -4)
📝 launcher/lang/es.json (+13 -4)
📝 launcher/lang/fr.json (+13 -4)
📝 launcher/lang/pl.json (+13 -4)
📝 launcher/lang/ru.json (+13 -4)
📝 launcher/lang/uk.json (+13 -4)
📝 launcher/lang/zh.json (+13 -4)
📝 launcher/src/backend.rs (+38 -0)
➕ launcher/src/home.rs (+530 -0)
📝 launcher/src/instances_page.rs (+1 -1)
📝 launcher/src/main.rs (+75 -362)
📝 launcher/src/owner_page.rs (+196 -88)
📝 launcher/src/shell.rs (+81 -0)
📝 launcher/src/theme.rs (+1 -1)

📄 Description

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

Ludovic has seen the screenshots and approved it (2026-10-30). Stacked on #4382 and #4391: this branch contains them and its base is main, so the diff shows them too. Lands after them.

Redesign step R5 (plan R0, screen 2): the sign-in sheet.

What

The owner gate's screen (owner_page.rs) becomes a sheet in the night look:

  • an opaque plate cut in steps over the dimmed launcher (the launcher stays visible behind it);
  • "Sign in to play", then why, in three short lines: the Microsoft account that owns Minecraft: Java
    Edition, like other launchers; no Minecraft install needed (Horizon downloads it from Mojang for that
    account); worlds, offline names and settings stay where they are;
  • the code in mono on a raised box with Copy code, the page shown as typed ("microsoft.com/link");
  • Open link (or Sign in before a code) as the main action, Not now quiet, and "Waiting for
    Microsoft… the window goes on by itself." under them.

Unchanged: the gate itself (when it shows, the owner check, Play without an owner, Not now's effect), the
sign-in flow and its errors (shown in the raised box).

HORIZON_LAUNCHER_PAGE=sign-in shows the sheet with a made-up code (K7Q-4MXR) for screenshots: nothing
asks Microsoft. i18n: the three new strings in the 7 languages. Test: the link as typed.

Screenshots (real launcher, scratch homes, 1280×800 at 1x, Mac mini)

  • code: ~/builds/horizon/launcher-redesign-3/r5-sign-in-code-night-1280x800.png, r5-sign-in-code-dawn-1280x800.png
  • first run, before a code: r5-sign-in-first-night-1280x800.png

Performance (launcher CPU over 45 s at rest after 15 s, release, interleaved with R4 and R4b)

Build Idle CPU (% of one core) RSS
R4 (#4382) 0.89 / 0.93 / 0.89 111–117 MB
R5 0.91 / 0.78 / 0.78 111–112 MB

Self-check (scope counts #4382 and #4391 too: this branch contains them)

pr_ready (tools/pr_ready.py on ludovics-mac-mini, against origin/main at d5f484c89, 5 min 26 s)

Check Result
Scope ⚠️ 15 files, +1027 −480; 1493 lines of code: over 500, split it if it can ship in parts
Cargo.lock ✅ unchanged
Public tree ✅
Python tests ✅ 480 passed (1 min 35 s)
rustfmt ➖ no Rust change
clippy ➖ no Rust change
tests ➖ no crate touched
doc tests ➖ no crate touched
content root tests ➖ content root untouched
tokens.css up to date ➖ theme untouched
launcher rustfmt ✅ (1 s)
launcher clippy ✅ (1 min 10 s)
launcher tests ✅ 280 passed (2 min 40 s)
Parity ➖ 1 affected, to run in CI (no vanilla data here): lan_integration
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/4392 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/30/2026 **Status:** ✅ Merged **Merged:** 10/30/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `feat/launcher-night-sign-in` --- ### 📝 Commits (10+) - [`bbc9c46`](https://github.com/horizon-rust/horizon/commit/bbc9c46c17a8da48e1de7275defd3286f4f432dd) Launcher: Home's hero in the night look (R4) - [`95825f8`](https://github.com/horizon-rust/horizon/commit/95825f818ce2fb1dafe775952f4c4afb0e906c35) Launcher: translate Folder and Version, drop the strings Home no longer has - [`2b78aa1`](https://github.com/horizon-rust/horizon/commit/2b78aa173533eee0c92a4f42231f7b1b98b2a819) Launcher: Play's steps while it gets ready, in the night look (R4b) - [`5a42da4`](https://github.com/horizon-rust/horizon/commit/5a42da4fe1ffd9f6c8432d9b0b1fee9e9f652ed2) Launcher: test the time left and the steps' order - [`c81de0f`](https://github.com/horizon-rust/horizon/commit/c81de0f908b62e83af52c7195b9cbe2ec2e66916) Launcher: translate the steps' strings, drop the old preparing line - [`0cbb5ba`](https://github.com/horizon-rust/horizon/commit/0cbb5bae35d2dd8137723cee94917815c543424e) Launcher: the sign-in sheet in the night look (R5) - [`c7cc6e1`](https://github.com/horizon-rust/horizon/commit/c7cc6e1256f05bb2a388d056f7a48e63b6a3a4d1) Launcher: Home says Ready to play only when Play would start the game - [`f26519b`](https://github.com/horizon-rust/horizon/commit/f26519bb53c4c6d99076ccd39a6d7793ff647c8e) Merge branch 'feat/launcher-night-home' into feat/launcher-night-steps - [`5e2d9e7`](https://github.com/horizon-rust/horizon/commit/5e2d9e758b708a6e4617e96a1fcfaaf7191e04db) Merge branch 'feat/launcher-night-home' into feat/launcher-night-sign-in - [`486e300`](https://github.com/horizon-rust/horizon/commit/486e3001d73934331a400e64342f30a565e7cbd9) Merge remote-tracking branch 'origin/main' into feat/launcher-night-home ### 📊 Changes **15 files changed** (+1027 additions, -480 deletions) <details> <summary>View changed files</summary> 📝 `docs/design-system.md` (+14 -0) 📝 `launcher/lang/de.json` (+13 -4) 📝 `launcher/lang/es.json` (+13 -4) 📝 `launcher/lang/fr.json` (+13 -4) 📝 `launcher/lang/pl.json` (+13 -4) 📝 `launcher/lang/ru.json` (+13 -4) 📝 `launcher/lang/uk.json` (+13 -4) 📝 `launcher/lang/zh.json` (+13 -4) 📝 `launcher/src/backend.rs` (+38 -0) ➕ `launcher/src/home.rs` (+530 -0) 📝 `launcher/src/instances_page.rs` (+1 -1) 📝 `launcher/src/main.rs` (+75 -362) 📝 `launcher/src/owner_page.rs` (+196 -88) 📝 `launcher/src/shell.rs` (+81 -0) 📝 `launcher/src/theme.rs` (+1 -1) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. Ludovic has seen the screenshots and approved it (2026-10-30). Stacked on #4382 and #4391: this branch contains them and its base is main, so the diff shows them too. Lands after them. Redesign step R5 (plan R0, screen 2): the sign-in sheet. ## What The owner gate's screen (`owner_page.rs`) becomes a sheet in the night look: - an **opaque plate** cut in steps over the dimmed launcher (the launcher stays visible behind it); - **"Sign in to play"**, then why, in three short lines: the Microsoft account that owns Minecraft: Java Edition, like other launchers; **no Minecraft install needed** (Horizon downloads it from Mojang for that account); worlds, offline names and settings stay where they are; - the **code** in mono on a raised box with **Copy code**, the page shown as typed ("microsoft.com/link"); - **Open link** (or Sign in before a code) as the main action, **Not now** quiet, and "Waiting for Microsoft… the window goes on by itself." under them. Unchanged: the gate itself (when it shows, the owner check, Play without an owner, Not now's effect), the sign-in flow and its errors (shown in the raised box). `HORIZON_LAUNCHER_PAGE=sign-in` shows the sheet with a made-up code (K7Q-4MXR) for screenshots: nothing asks Microsoft. i18n: the three new strings in the 7 languages. Test: the link as typed. ## Screenshots (real launcher, scratch homes, 1280×800 at 1x, Mac mini) - code: `~/builds/horizon/launcher-redesign-3/r5-sign-in-code-night-1280x800.png`, `r5-sign-in-code-dawn-1280x800.png` - first run, before a code: `r5-sign-in-first-night-1280x800.png` ## Performance (launcher CPU over 45 s at rest after 15 s, release, interleaved with R4 and R4b) | Build | Idle CPU (% of one core) | RSS | |---|---|---| | R4 (#4382) | 0.89 / 0.93 / 0.89 | 111–117 MB | | **R5** | **0.91 / 0.78 / 0.78** | 111–112 MB | ## Self-check (scope counts #4382 and #4391 too: this branch contains them) **pr_ready** (`tools/pr_ready.py` on ludovics-mac-mini, against origin/main at d5f484c89, 5 min 26 s) | Check | Result | | --- | --- | | Scope | ⚠️ 15 files, +1027 −480; 1493 lines of code: over 500, split it if it can ship in parts | | Cargo.lock | ✅ unchanged | | Public tree | ✅ | | Python tests | ✅ 480 passed (1 min 35 s) | | rustfmt | ➖ no Rust change | | clippy | ➖ no Rust change | | tests | ➖ no crate touched | | doc tests | ➖ no crate touched | | content root tests | ➖ content root untouched | | tokens.css up to date | ➖ theme untouched | | launcher rustfmt | ✅ (1 s) | | launcher clippy | ✅ (1 min 10 s) | | launcher tests | ✅ 280 passed (2 min 40 s) | | Parity | ➖ 1 affected, to run in CI (no vanilla data here): lan_integration | | 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 05:13:42 +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#5602
No description provided.