[PR #2532] [MERGED] launcher: Sculk's banner at the sidebar's foot, hideable once seen #4401

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

📋 Pull Request Information

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

Base: main ← Head: feat/sculk-sidebar


📝 Commits (2)

  • b0783da launcher: Sculk's banner at the foot of the sidebar, seen without scrolling
  • 12bf15c launcher: the sidebar's partner banner can be hidden once it has been seen

📊 Changes

3 files changed (+71 additions, -5 deletions)

View changed files

📝 launcher/src/backend.rs (+7 -0)
📝 launcher/src/main.rs (+57 -2)
📝 launcher/src/partner.rs (+7 -3)

📄 Description

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

Ludovic asked for the Sculk partner banner to be visible when the launcher opens, without scrolling, and without being intrusive.

What changes

  • Home no longer shows the banner under its rows. Nobody saw it there without scrolling.
  • The sidebar shows it small (228 × 84 px, under its PARTNER label) above the Discord and Website links, on every page except Servers. Servers keeps its large banner, so it never appears twice.
  • A "HIDE" appears beside its label once the banner has been on screen for 3 minutes, counted over every start (partner_seen_secs in settings.json, saved each minute; partner::SEEN_BEFORE_HIDE). Clicking it hides the sidebar banner for good (partner_hidden). Ludovic asked for this: people see it first, then it is not intrusive.
  • The click, the bundled picture and the URL (https://my.sculkhosting.com/ref/horizon) are unchanged.

Checked

  • Launcher built and run with isolated homes (mktemp HORIZON_HOME, HORIZON_LAUNCHER_HOME, XDG dirs, no self-update, no audio). On Home at 1180×792, the banner sits at the foot of the sidebar, fully visible, and Play is untouched.
  • cargo clippy --all-targets --locked -D warnings in launcher/ is clean.
  • cargo test --lib is green.

🤖 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/2532 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/26/2026 **Status:** ✅ Merged **Merged:** 10/26/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `feat/sculk-sidebar` --- ### 📝 Commits (2) - [`b0783da`](https://github.com/horizon-rust/horizon/commit/b0783dac38d9fa238ecd2a38aadc0049936506a2) launcher: Sculk's banner at the foot of the sidebar, seen without scrolling - [`12bf15c`](https://github.com/horizon-rust/horizon/commit/12bf15cfd7658e118b29a1f695f64554b140168f) launcher: the sidebar's partner banner can be hidden once it has been seen ### 📊 Changes **3 files changed** (+71 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `launcher/src/backend.rs` (+7 -0) 📝 `launcher/src/main.rs` (+57 -2) 📝 `launcher/src/partner.rs` (+7 -3) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. Ludovic asked for the Sculk partner banner to be visible when the launcher opens, without scrolling, and without being intrusive. ## What changes - Home no longer shows the banner under its rows. Nobody saw it there without scrolling. - The sidebar shows it small (228 × 84 px, under its `PARTNER` label) above the Discord and Website links, on every page except Servers. Servers keeps its large banner, so it never appears twice. - A "HIDE" appears beside its label once the banner has been on screen for 3 minutes, counted over every start (`partner_seen_secs` in settings.json, saved each minute; `partner::SEEN_BEFORE_HIDE`). Clicking it hides the sidebar banner for good (`partner_hidden`). Ludovic asked for this: people see it first, then it is not intrusive. - The click, the bundled picture and the URL (`https://my.sculkhosting.com/ref/horizon`) are unchanged. ## Checked - Launcher built and run with isolated homes (mktemp `HORIZON_HOME`, `HORIZON_LAUNCHER_HOME`, XDG dirs, no self-update, no audio). On Home at 1180×792, the banner sits at the foot of the sidebar, fully visible, and Play is untouched. - `cargo clippy --all-targets --locked -D warnings` in launcher/ is clean. - `cargo test --lib` is green. 🤖 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:16:54 +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#4401
No description provided.