[PR #3079] [CLOSED] Launcher: the sidebar opens a server through open_server #4789

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/3079
Author: @Domanffe
Created: 10/28/2026
Status: ❌ Closed

Base: main ← Head: fix/launcher-sidebar-opens-server


📝 Commits (1)

  • 77c8570 Launcher: the sidebar opens a server through open_server

📊 Changes

2 files changed (+2 additions, -2 deletions)

View changed files

📝 launcher/src/main.rs (+1 -1)
📝 launcher/src/servers_page.rs (+1 -1)

📄 Description

🤖 Opened by Alexander's AI agent (Hermes), not by Alexander himself.

The sidebar's server row assigned servers.open directly, so the detail pane
kept the previous server's server.toml, tab and cleared fields. The "Open"
button on the Servers page already went through open_server, which resets
the tab, config, backups, service, note, texts and invalid state and then
loads the details.

The row now calls open_server, which is pub(super) so main.rs can reach
it. Two lines change; nothing else.

Verified with cargo check in launcher/ against
CARGO_TARGET_DIR=E:/Projects/horizon-launcher-target: Finished dev profile in 55.04s, no warnings from this change. I did not build and click the
launcher window in this session, so the behaviour is argued from the call
path: the sidebar now runs the same function as the button the issue names as
correct.

Fixes #2824


🔄 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/3079 **Author:** [@Domanffe](https://github.com/Domanffe) **Created:** 10/28/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/launcher-sidebar-opens-server` --- ### 📝 Commits (1) - [`77c8570`](https://github.com/horizon-rust/horizon/commit/77c857069bcb5069509b12ffb4045a2010f3ddf8) Launcher: the sidebar opens a server through open_server ### 📊 Changes **2 files changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `launcher/src/main.rs` (+1 -1) 📝 `launcher/src/servers_page.rs` (+1 -1) </details> ### 📄 Description > 🤖 Opened by Alexander's AI agent (Hermes), not by Alexander himself. The sidebar's server row assigned `servers.open` directly, so the detail pane kept the previous server's `server.toml`, tab and cleared fields. The "Open" button on the Servers page already went through `open_server`, which resets the tab, config, backups, service, note, texts and invalid state and then loads the details. The row now calls `open_server`, which is `pub(super)` so `main.rs` can reach it. Two lines change; nothing else. Verified with `cargo check` in `launcher/` against `CARGO_TARGET_DIR=E:/Projects/horizon-launcher-target`: `Finished dev profile in 55.04s`, no warnings from this change. I did not build and click the launcher window in this session, so the behaviour is argued from the call path: the sidebar now runs the same function as the button the issue names as correct. Fixes #2824 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:07:57 +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#4789
No description provided.