[PR #2773] [MERGED] Launcher: a vertical Sculk card in the sidebar, readable at any size #4595

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

📋 Pull Request Information

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

Base: main ← Head: feat/sculk-sidebar-card


📝 Commits (2)

  • cf9fb96 launcher: a vertical Sculk card for the sidebar, readable at any size
  • 964fbe1 Merge origin/main into feat/sculk-sidebar-card

📊 Changes

7 files changed (+290 additions, -14 deletions)

View changed files

📝 docs/design-system.md (+6 -3)
➕ launcher/assets/sculk-card-art.webp (+0 -0)
➕ launcher/assets/sculk-logo.webp (+0 -0)
📝 launcher/lang/fr.json (+5 -0)
📝 launcher/lang/ru.json (+5 -0)
📝 launcher/src/main.rs (+18 -6)
📝 launcher/src/partner.rs (+256 -5)

📄 Description

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

What

The sidebar now shows a Sculk card made for its width, instead of the wide banner shrunk to 228 px. Players said in #general that the shrunk banner's text could not be read ("the ad is hard to see with the scaling, maybe a vertical ad would fit better").

  • Tall card, where the sidebar has the height for it:
    • Sculk's characters (Steve, Alex and the wolf) on top;
    • Sculk's logo;
    • "Your Minecraft server, 24/7 online." with "24/7 online" in Sculk's cyan;
    • "Ready in under a minute";
    • a cyan "Get my server" button;
    • a dashed "HORIZON15 · 15% off" chip.
  • Compact card for short windows (the 960×600 minimum included): the characters beside the logo and headline, the code underneath, so the sidebar's links stay on screen.
  • Text drawn by the launcher, so it stays sharp at any scale and follows its language. French and Russian are added; "Sculk" and "HORIZON15" are never translated.
  • Pictures: the art and logo are cropped from Sculk's own banner only, 2× for Retina. sculk-card-art.webp is 20 KB and sculk-logo.webp is 5 KB.
  • Look: Sculk's dark card, cyan and rounded corners in both themes, as an ad does. Ludovic asked for this; docs/design-system.md now notes this exception to the square blocks.
  • Kept from #2532:
    • the "PARTNER" label;
    • "HIDE" after 180 s;
    • the click to partner::URL;
    • the hover lift.
  • Unchanged: the wide banner (sculk-banner.webp, partner::banner) and the Servers page.

Ludovic saw these screenshots before the PR was opened and approved the card.

Before / after

Each image shows the sidebar before and after at the minimum window (960×600), then before and after at a large one (1400×950). The screenshots were taken on a 1× display.

Dark, English
dark en

Dark, French
dark fr

Light, English
light en

Light, French
light fr

How tested

In launcher/, after merging the latest origin/main:

cargo fmt --check                                                                      ok
cargo clippy --all-targets --locked --features gpui/runtime_shaders -- -D warnings     ok
cargo test --locked --lib --features gpui/runtime_shaders                              193 passed, 2 ignored
cargo test --locked --features gpui/runtime_shaders --bin horizon-launcher partner     2 passed
  • The --lib run includes the i18n test that every string the code asks for has a French and a Russian translation.
  • The two partner tests in the binary check that the banner, the art and the logo each decode as WebP at the size the code lays them out at.
  • Screenshots: the launcher ran on macOS (Metal) with throwaway homes and HORIZON_LAUNCHER_NO_SELF_UPDATE=1, in dark and light, English and French, at the minimum size and a large one.

Needs Ludovic

Nothing.

🤖 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/2773 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/27/2026 **Status:** ✅ Merged **Merged:** 10/27/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `feat/sculk-sidebar-card` --- ### 📝 Commits (2) - [`cf9fb96`](https://github.com/horizon-rust/horizon/commit/cf9fb96efac3f396b5d536241a68a2ed96212575) launcher: a vertical Sculk card for the sidebar, readable at any size - [`964fbe1`](https://github.com/horizon-rust/horizon/commit/964fbe1c297ca6d7ad3531707a28a421c78157e1) Merge origin/main into feat/sculk-sidebar-card ### 📊 Changes **7 files changed** (+290 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `docs/design-system.md` (+6 -3) ➕ `launcher/assets/sculk-card-art.webp` (+0 -0) ➕ `launcher/assets/sculk-logo.webp` (+0 -0) 📝 `launcher/lang/fr.json` (+5 -0) 📝 `launcher/lang/ru.json` (+5 -0) 📝 `launcher/src/main.rs` (+18 -6) 📝 `launcher/src/partner.rs` (+256 -5) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. ## What The sidebar now shows a Sculk card made for its width, instead of the wide banner shrunk to 228 px. Players said in #general that the shrunk banner's text could not be read ("the ad is hard to see with the scaling, maybe a vertical ad would fit better"). - **Tall card**, where the sidebar has the height for it: - Sculk's characters (Steve, Alex and the wolf) on top; - Sculk's logo; - "Your Minecraft server, **24/7 online**." with "24/7 online" in Sculk's cyan; - "Ready in under a minute"; - a cyan "Get my server" button; - a dashed "HORIZON15 · 15% off" chip. - **Compact card** for short windows (the 960×600 minimum included): the characters beside the logo and headline, the code underneath, so the sidebar's links stay on screen. - **Text drawn by the launcher**, so it stays sharp at any scale and follows its language. French and Russian are added; "Sculk" and "HORIZON15" are never translated. - **Pictures:** the art and logo are cropped from Sculk's own banner only, 2× for Retina. `sculk-card-art.webp` is 20 KB and `sculk-logo.webp` is 5 KB. - **Look:** Sculk's dark card, cyan and rounded corners in both themes, as an ad does. Ludovic asked for this; `docs/design-system.md` now notes this exception to the square blocks. - **Kept from #2532:** - the "PARTNER" label; - "HIDE" after 180 s; - the click to `partner::URL`; - the hover lift. - **Unchanged:** the wide banner (`sculk-banner.webp`, `partner::banner`) and the Servers page. Ludovic saw these screenshots before the PR was opened and approved the card. ## Before / after Each image shows the sidebar before and after at the minimum window (960×600), then before and after at a large one (1400×950). The screenshots were taken on a 1× display. **Dark, English** ![dark en](https://raw.githubusercontent.com/ludovic111/horizon/screenshots/sculk-sidebar-2/sculk-sidebar-2/compare-dark-en.png) **Dark, French** ![dark fr](https://raw.githubusercontent.com/ludovic111/horizon/screenshots/sculk-sidebar-2/sculk-sidebar-2/compare-dark-fr.png) **Light, English** ![light en](https://raw.githubusercontent.com/ludovic111/horizon/screenshots/sculk-sidebar-2/sculk-sidebar-2/compare-light-en.png) **Light, French** ![light fr](https://raw.githubusercontent.com/ludovic111/horizon/screenshots/sculk-sidebar-2/sculk-sidebar-2/compare-light-fr.png) ## How tested In `launcher/`, after merging the latest origin/main: ``` cargo fmt --check ok cargo clippy --all-targets --locked --features gpui/runtime_shaders -- -D warnings ok cargo test --locked --lib --features gpui/runtime_shaders 193 passed, 2 ignored cargo test --locked --features gpui/runtime_shaders --bin horizon-launcher partner 2 passed ``` - The `--lib` run includes the i18n test that every string the code asks for has a French and a Russian translation. - The two `partner` tests in the binary check that the banner, the art and the logo each decode as WebP at the size the code lays them out at. - Screenshots: the launcher ran on macOS (Metal) with throwaway homes and `HORIZON_LAUNCHER_NO_SELF_UPDATE=1`, in dark and light, English and French, at the minimum size and a large one. ## Needs Ludovic Nothing. 🤖 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 04:18: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#4595
No description provided.