[PR #168] [MERGED] Launcher in the new design language #2370

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

📋 Pull Request Information

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

Base: main ← Head: feat/design-launcher


📝 Commits (3)

  • 86149f7 Restyle the launcher in the new design language
  • 275f60e Launcher settings: a switch for the entry in Linux's applications menu
  • 3e39dfa Launcher: a development-build override of the Microsoft endpoint, for the sign-in panel

📊 Changes

8 files changed (+888 additions, -869 deletions)

View changed files

📝 launcher/Cargo.lock (+0 -1)
📝 launcher/Cargo.toml (+0 -1)
📝 launcher/README.md (+3 -4)
➖ launcher/assets/background.jpg (+0 -0)
📝 launcher/src/account.rs (+7 -1)
📝 launcher/src/main.rs (+827 -810)
📝 launcher/src/markdown.rs (+19 -21)
📝 launcher/src/theme.rs (+32 -31)

📄 Description

Stacked on #167 (mark, icons, packaging). Restyles every page and state of the launcher (launcher/, gpui).

  • A top bar (mark, Horizon, the pages as text) replaces the sidebar. A mono footer carries the launcher's version, its update (Restart) and the Discord/Website links.
  • Every page is a display title, one muted line, then an index list. Pill buttons; Play is the one violet thing; selection is an ink pill. The console, notices and the crash report sit on soft plates with no borders. The Play page ends on the faint wordmark.
  • The sunset photograph is gone (and the image dependency): the window is the page colour, light or dark with the system. The opening draws "horizon" letter by letter.
  • Rebased on #164 (Microsoft sign-in): its account UI is restyled into the numbered lists. In Settings, each account is a row (its name; "Microsoft account · plays/signed in"; Play as / Play offline / Sign out), followed by a sign-in row. The device code shows in mono heading type, with Copy code, Open link and Cancel. "Playing as" is row 03 on Play (client mode). The behaviour is #164's, unchanged.
  • Screenshots of the sign-in panel: a development-build-only override, HORIZON_MSA_MICROSOFT_ENDPOINT, points the device-code request at a local mock. Release builds ignore it. The accounts in the shots are a fake accounts.json, and the code HZ7K-QW4R comes from the mock.
  • Settings › Applications menu (Linux only): a switch for the menu entry #167 installs.
  • HORIZON_LAUNCHER_APPEARANCE=light|dark overrides the system appearance (for screenshots and tests).

Checks: fmt, clippy --features gpui/runtime_shaders -D warnings and 26 lib tests pass on the Mac mini. Screenshots are from a Linux debug build on vscreen, 1280×800.

Microsoft accounts (light | dark)

Accounts rows (two accounts, one plays)

accounts

Sign-in code panel

sign-in code

Playing as on Play

playing as

Before → after (dark)

play

play

server

server

versions

versions

notes

notes

settings

settings

Light | dark

play

server

versions

notes

settings

settings-end

picker

States (round 1; unchanged)

opening-dark-1

opening-dark-4

empty-light

unprepared-light

crash-light

crash-dark

Draft: nothing merges before Ludovic says yes.

🤖 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/168 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/14/2026 **Status:** ✅ Merged **Merged:** 10/14/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `feat/design-launcher` --- ### 📝 Commits (3) - [`86149f7`](https://github.com/horizon-rust/horizon/commit/86149f7da6323f7e988a8d000c38d43603dc9442) Restyle the launcher in the new design language - [`275f60e`](https://github.com/horizon-rust/horizon/commit/275f60efec0f892fb0f0f880d2466222083eb73c) Launcher settings: a switch for the entry in Linux's applications menu - [`3e39dfa`](https://github.com/horizon-rust/horizon/commit/3e39dfae33077da512b1898e97313badeb8fd401) Launcher: a development-build override of the Microsoft endpoint, for the sign-in panel ### 📊 Changes **8 files changed** (+888 additions, -869 deletions) <details> <summary>View changed files</summary> 📝 `launcher/Cargo.lock` (+0 -1) 📝 `launcher/Cargo.toml` (+0 -1) 📝 `launcher/README.md` (+3 -4) ➖ `launcher/assets/background.jpg` (+0 -0) 📝 `launcher/src/account.rs` (+7 -1) 📝 `launcher/src/main.rs` (+827 -810) 📝 `launcher/src/markdown.rs` (+19 -21) 📝 `launcher/src/theme.rs` (+32 -31) </details> ### 📄 Description Stacked on #167 (mark, icons, packaging). Restyles every page and state of the launcher (`launcher/`, gpui). - A **top bar** (mark, Horizon, the pages as text) replaces the sidebar. A mono **footer** carries the launcher's version, its update (Restart) and the Discord/Website links. - Every page is a display title, one muted line, then an **index list**. Pill buttons; Play is the one violet thing; selection is an ink pill. The console, notices and the crash report sit on soft plates with no borders. The Play page ends on the faint wordmark. - The **sunset photograph is gone** (and the `image` dependency): the window is the page colour, light or dark with the system. The **opening** draws "horizon" letter by letter. - **Rebased on #164 (Microsoft sign-in):** its account UI is restyled into the numbered lists. In Settings, each account is a row (its name; "Microsoft account · plays/signed in"; Play as / Play offline / Sign out), followed by a sign-in row. The device code shows in mono heading type, with Copy code, Open link and Cancel. "Playing as" is row 03 on Play (client mode). The behaviour is #164's, unchanged. - **Screenshots of the sign-in panel:** a development-build-only override, `HORIZON_MSA_MICROSOFT_ENDPOINT`, points the device-code request at a local mock. Release builds ignore it. The accounts in the shots are a fake `accounts.json`, and the code `HZ7K-QW4R` comes from the mock. - **Settings › Applications menu** (Linux only): a switch for the menu entry #167 installs. - `HORIZON_LAUNCHER_APPEARANCE=light|dark` overrides the system appearance (for screenshots and tests). Checks: fmt, clippy `--features gpui/runtime_shaders -D warnings` and 26 lib tests pass on the Mac mini. Screenshots are from a Linux debug build on vscreen, 1280×800. ### Microsoft accounts (light | dark) **Accounts rows** (two accounts, one plays) ![accounts](https://raw.githubusercontent.com/ludovic111/horizon/0b1672b490a5a707325728a3fd3571fe39866258/round2/accounts/accounts-light-dark.png) **Sign-in code panel** ![sign-in code](https://raw.githubusercontent.com/ludovic111/horizon/0b1672b490a5a707325728a3fd3571fe39866258/round2/accounts/sign-in-code-light-dark.png) **Playing as on Play** ![playing as](https://raw.githubusercontent.com/ludovic111/horizon/0b1672b490a5a707325728a3fd3571fe39866258/round2/accounts/playing-as-light-dark.png) ### Before → after (dark) **play** ![play](https://raw.githubusercontent.com/ludovic111/horizon/64d53bb1d5d8163ef2eea0c8e0196f8549c668c5/round2/launcher/play-before-after-dark.png) **server** ![server](https://raw.githubusercontent.com/ludovic111/horizon/64d53bb1d5d8163ef2eea0c8e0196f8549c668c5/round2/launcher/server-before-after-dark.png) **versions** ![versions](https://raw.githubusercontent.com/ludovic111/horizon/64d53bb1d5d8163ef2eea0c8e0196f8549c668c5/round2/launcher/versions-before-after-dark.png) **notes** ![notes](https://raw.githubusercontent.com/ludovic111/horizon/64d53bb1d5d8163ef2eea0c8e0196f8549c668c5/round2/launcher/notes-before-after-dark.png) **settings** ![settings](https://raw.githubusercontent.com/ludovic111/horizon/64d53bb1d5d8163ef2eea0c8e0196f8549c668c5/round2/launcher/settings-before-after-dark.png) ### Light | dark ![play](https://raw.githubusercontent.com/ludovic111/horizon/64d53bb1d5d8163ef2eea0c8e0196f8549c668c5/round2/launcher/play-light-dark.png) ![server](https://raw.githubusercontent.com/ludovic111/horizon/64d53bb1d5d8163ef2eea0c8e0196f8549c668c5/round2/launcher/server-light-dark.png) ![versions](https://raw.githubusercontent.com/ludovic111/horizon/64d53bb1d5d8163ef2eea0c8e0196f8549c668c5/round2/launcher/versions-light-dark.png) ![notes](https://raw.githubusercontent.com/ludovic111/horizon/64d53bb1d5d8163ef2eea0c8e0196f8549c668c5/round2/launcher/notes-light-dark.png) ![settings](https://raw.githubusercontent.com/ludovic111/horizon/64d53bb1d5d8163ef2eea0c8e0196f8549c668c5/round2/launcher/settings-light-dark.png) ![settings-end](https://raw.githubusercontent.com/ludovic111/horizon/64d53bb1d5d8163ef2eea0c8e0196f8549c668c5/round2/launcher/settings-end-light-dark.png) ![picker](https://raw.githubusercontent.com/ludovic111/horizon/64d53bb1d5d8163ef2eea0c8e0196f8549c668c5/round2/launcher/picker-light-dark.png) ### States (round 1; unchanged) ![opening-dark-1](https://raw.githubusercontent.com/ludovic111/horizon/64d53bb1d5d8163ef2eea0c8e0196f8549c668c5/states/launcher-opening-dark-1.png) ![opening-dark-4](https://raw.githubusercontent.com/ludovic111/horizon/64d53bb1d5d8163ef2eea0c8e0196f8549c668c5/states/launcher-opening-dark-4.png) ![empty-light](https://raw.githubusercontent.com/ludovic111/horizon/64d53bb1d5d8163ef2eea0c8e0196f8549c668c5/states/launcher-empty-light.png) ![unprepared-light](https://raw.githubusercontent.com/ludovic111/horizon/64d53bb1d5d8163ef2eea0c8e0196f8549c668c5/states/launcher-unprepared-light.png) ![crash-light](https://raw.githubusercontent.com/ludovic111/horizon/64d53bb1d5d8163ef2eea0c8e0196f8549c668c5/states/launcher-crash-light.png) ![crash-dark](https://raw.githubusercontent.com/ludovic111/horizon/64d53bb1d5d8163ef2eea0c8e0196f8549c668c5/states/launcher-crash-dark.png) **Draft: nothing merges before Ludovic says yes.** 🤖 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-02 15:55:23 +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#2370
No description provided.