[PR #2618] [MERGED] launcher: Export… on Home's Instance row #4478

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

📋 Pull Request Information

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

Base: main ← Head: feat/launcher-export-ui


📝 Commits (1)

  • 4482ff6 launcher: Export… on Home's Instance row

📊 Changes

4 files changed (+244 additions, -1 deletions)

View changed files

📝 launcher/README.md (+9 -0)
➕ launcher/src/export_page.rs (+213 -0)
📝 launcher/src/instances_page.rs (+18 -1)
📝 launcher/src/main.rs (+4 -0)

📄 Description

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

Clean room: designed from the feature list in briefs/launcher-features-1.md; no other launcher's code, docs or assets were read.

Launcher features, item 10, part 2: the window side of the export from the PR this one is stacked on.

  • Home's Instance row gets Export… (it reads Close export while the panel is open). The panel under the row offers .mrpack or .zip, each with a line on what it means, and a switch for each of the instance's worlds (all off by default). It also says what never goes in.
  • Export runs in the background. The file goes to exports/ in the launcher's data folder under a free name ("Hardcore (2).mrpack"). The panel then says what was written and offers Show in folder. Writing there instead of opening a save dialog keeps the flow one click, and --out covers the CLI.
  • Picking another instance closes the panel.
  • launcher/README.md: an Export bullet.

Proof

  • fmt, clippy -D warnings and the launcher tests: as in the base PR.
  • Window run, scratch homes, Hardcore instance: Export… opens the panel; Hardcore 1 switched on; Export wrote exports/Hardcore.mrpack (25 MB, 15 files, Fresh Animations listed by its Modrinth download).
Row Panel A world on Exported

🤖 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/2618 **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/launcher-export-ui` --- ### 📝 Commits (1) - [`4482ff6`](https://github.com/horizon-rust/horizon/commit/4482ff63f3d0a335ffa5b82ae54ac743d6e5203d) launcher: Export… on Home's Instance row ### 📊 Changes **4 files changed** (+244 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `launcher/README.md` (+9 -0) ➕ `launcher/src/export_page.rs` (+213 -0) 📝 `launcher/src/instances_page.rs` (+18 -1) 📝 `launcher/src/main.rs` (+4 -0) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. Clean room: designed from the feature list in briefs/launcher-features-1.md; no other launcher's code, docs or assets were read. Launcher features, item 10, part 2: the window side of the export from the PR this one is stacked on. - Home's Instance row gets **Export…** (it reads **Close export** while the panel is open). The panel under the row offers **.mrpack** or **.zip**, each with a line on what it means, and a switch for each of the instance's worlds (all off by default). It also says what never goes in. - **Export** runs in the background. The file goes to `exports/` in the launcher's data folder under a free name ("Hardcore (2).mrpack"). The panel then says what was written and offers **Show in folder**. Writing there instead of opening a save dialog keeps the flow one click, and `--out` covers the CLI. - Picking another instance closes the panel. - launcher/README.md: an Export bullet. ## Proof - fmt, clippy `-D warnings` and the launcher tests: as in the base PR. - Window run, scratch homes, Hardcore instance: Export… opens the panel; Hardcore 1 switched on; Export wrote `exports/Hardcore.mrpack` (25 MB, 15 files, Fresh Animations listed by its Modrinth download). | Row | Panel | A world on | Exported | |---|---|---|---| | ![](https://raw.githubusercontent.com/ludovic111/horizon/screenshots/launcher-features/export/row.png) | ![](https://raw.githubusercontent.com/ludovic111/horizon/screenshots/launcher-features/export/panel.png) | ![](https://raw.githubusercontent.com/ludovic111/horizon/screenshots/launcher-features/export/world-on.png) | ![](https://raw.githubusercontent.com/ludovic111/horizon/screenshots/launcher-features/export/exported.png) | 🤖 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:17:26 +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#4478
No description provided.