[PR #1622] [CLOSED] feat(launcher-ui): create instances from the sidebar plus button #3635

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/1622
Author: @RobertTGreat
Created: 10/24/2026
Status: ❌ Closed

Base: feat/launcher-horizon-modpacks ← Head: feat/launcher-ui-create-instance


📝 Commits (10+)

  • 95d1fb7 fix(launcher): redraw virtualized lists after scroll jumps
  • 0a2c815 fix(launcher): bound content checks across browser searches
  • ce26899 feat(launcher): add isolated instance profiles
  • 24c6053 feat(launcher-ui): simplify Content navigation and filter popovers
  • 2f90616 feat(launcher-ui): organize complete Settings into icon sections
  • 3b6e4b7 feat(launcher-ui): group Versions into Installed and Available
  • 98c49e3 feat(launcher-ui): add Release Radar and prominent sponsorship
  • addbd8c feat(launcher-ui): add the instance Content Workspace
  • 5119c4a feat(launcher-ui): manage instance content from its workspace
  • 86083f5 feat(launcher-ui): add instance Worlds Files and Logs tabs

📊 Changes

21 files changed (+4307 additions, -1287 deletions)

View changed files

📝 launcher/src/agents_page.rs (+16 -10)
📝 launcher/src/browser/horizon.rs (+9 -0)
📝 launcher/src/browser/horizon/pack.rs (+9 -4)
➕ launcher/src/browser_controls.rs (+647 -0)
📝 launcher/src/collection.rs (+11 -2)
➕ launcher/src/content_checks.rs (+99 -0)
📝 launcher/src/cull.rs (+2 -1)
➕ launcher/src/instance_content.rs (+783 -0)
➕ launcher/src/instance_creation.rs (+346 -0)
➕ launcher/src/instance_page.rs (+753 -0)
➕ launcher/src/instance_profile.rs (+427 -0)
➕ launcher/src/instances.rs (+159 -0)
📝 launcher/src/lib.rs (+2 -0)
📝 launcher/src/main.rs (+138 -590)
📝 launcher/src/modpacks.rs (+12 -1)
📝 launcher/src/modpacks_page.rs (+61 -286)
📝 launcher/src/mods_page.rs (+117 -222)
📝 launcher/src/mods_project.rs (+47 -159)
➕ launcher/src/release_pages.rs (+348 -0)
📝 launcher/src/servers_page.rs (+1 -12)

...and 1 more files

📄 Description

🤖 Opened by Robert's AI agent (OpenAI Codex, GPT-6.1 Sol), not by Robert himself.

What and why

Make the Instances + button open a native creation modal with name validation and an installed-build dropdown. Save an independent instance, open its workspace and keep keyboard focus inside the dialog until it closes.

The create-instance modal remains separate from installing registry modpacks; registry installs create the owner’s native profiles.

These are native launcher UI and usability changes: styling follows Horizon’s design system, using square beveled Blocks surfaces, shared tokens, violet actions, Pixelify headings/buttons, Geist text and Pixelarticons. Pagination, virtualized lists and compact controls make large libraries easier to use and keep the launcher responsive.

Registry dependencies

Updated for the owner’s registry implementation: index and .hpack format (#1634) → browser source (#1636) → install, toggles and takedowns (#1637) → Horizon browser UI (#1638) → native pack profiles (#1640).

The registry backend and format remain the owner’s work. This branch builds on #1640 and adapts the launcher UI around it. Related owner PRs remain separate: registry website #1596, submission page #1635, file checks #1642, registry tools #1646, and submission service #1659. The owner’s source provides project, source and report links to those registry pages. This UI series does not deploy that service or add unsupported shader-pack installation.

Draft dependency order

Layer 11 of 17. Depends on #1640. Also depends on https://github.com/ludovic111/horizon/pull/1621; the branch includes the earlier UI layers. The draft targets the existing upstream feat/launcher-horizon-modpacks branch so the owner’s implementation is excluded from the UI diff. Review this layer’s focused diff; GitHub’s Files changed includes the earlier UI layers. Once the owner’s registry stack lands, retarget these drafts to main, merge the UI layers in order, and remove already-landed dependency commits before the next review.

Layer commit: 2e3646f8. Draft status is unchanged.

Validation

  • Every revised layer passes all-target Clippy with -D warnings -A dead_code; the exclusion covers the existing Windows mojang.rs dead-code diagnostics (name_in, link_stays_inside).
  • Assembled tip: 170 tests pass (133 library + 37 binary), with three environment-dependent tests ignored. This includes native registry install/takedown/pack fixtures, .hmod switches, registry page totals and the 10,000-project virtualization regression.
  • Launcher formatting and whitespace checks pass. Test runs use isolated game/launcher/XDG homes, with self-update, audio and telemetry disabled.
  • No new visual walkthrough was performed for this registry revision. The earlier UI preview covered the approved Home composition, artwork, compact controls and a 5,000-mod workspace.
Full-tip repository self-check (layer 17)

pr_ready (tools/pr_ready.py --quick --base origin/feat/launcher-horizon-modpacks on DESKTOP-KI5NGSR, against origin/feat/launcher-horizon-modpacks at dbdc0389f, 21 s)

Check Result
Scope ⚠️ 36 files, +6596 −1739; 8335 lines of code: over 500, split it if it can ship in parts
Cargo.lock ✅ unchanged
Public tree ✅
Python tests ➖ no Python change
rustfmt ➖ no Rust change
clippy ➖ no Rust change
tests ➖ no crate touched
doc tests ➖ no crate touched
tokens.css up to date ➖ theme untouched
launcher rustfmt ✅
launcher clippy ❌ failed (4 s)
launcher tests ✅ 133 passed (13 s)
Parity ➖ not run (--quick): CI's parity job picks the affected harnesses
Label player-facing: feature if players get something new, no label for a fix (release-now if urgent)

Series index

Layer Draft PR
1 fix(launcher): redraw virtualized lists after scroll jumps
2 fix(launcher): bound content checks across browser searches
3 feat(launcher): add isolated instance profiles
4 feat(launcher-ui): simplify Content navigation and filter popovers
5 feat(launcher-ui): organize complete Settings into icon sections
6 feat(launcher-ui): group Versions into Installed and Available
7 feat(launcher-ui): add Release Radar and prominent sponsorship
8 feat(launcher-ui): add the instance Content Workspace
9 feat(launcher-ui): manage instance content from its workspace
10 feat(launcher-ui): add instance Worlds Files and Logs tabs
11 feat(launcher-ui): create instances from the sidebar plus button
12 feat(launcher-ui): select launch instances from the original Home page
13 feat(launcher-ui): make Content cards easier to scan
14 feat(launcher): resolve real instance and content artwork
15 feat(launcher-ui): display real instance modpack and content icons
16 feat(launcher-ui): paginate Content browsing with a View selector
17 feat(launcher-ui): paginate and virtualize instance Content Workspace

🤖 Generated with OpenAI Codex.


🔄 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/1622 **Author:** [@RobertTGreat](https://github.com/RobertTGreat) **Created:** 10/24/2026 **Status:** ❌ Closed **Base:** `feat/launcher-horizon-modpacks` ← **Head:** `feat/launcher-ui-create-instance` --- ### 📝 Commits (10+) - [`95d1fb7`](https://github.com/horizon-rust/horizon/commit/95d1fb79cf4282465a5e1a063bbfc17823c8d33a) fix(launcher): redraw virtualized lists after scroll jumps - [`0a2c815`](https://github.com/horizon-rust/horizon/commit/0a2c815a0368d3d21a5efc6e4307cdcf830362ca) fix(launcher): bound content checks across browser searches - [`ce26899`](https://github.com/horizon-rust/horizon/commit/ce26899c0ecb902cb8374ee15af363390c69ca91) feat(launcher): add isolated instance profiles - [`24c6053`](https://github.com/horizon-rust/horizon/commit/24c6053fba8a4cc3041317d896db8b0973d3b932) feat(launcher-ui): simplify Content navigation and filter popovers - [`2f90616`](https://github.com/horizon-rust/horizon/commit/2f90616fee0daae10a6fb4363e756bf6d061b0c0) feat(launcher-ui): organize complete Settings into icon sections - [`3b6e4b7`](https://github.com/horizon-rust/horizon/commit/3b6e4b7dee5d7984360565fbf31f7a84e5ddb4a6) feat(launcher-ui): group Versions into Installed and Available - [`98c49e3`](https://github.com/horizon-rust/horizon/commit/98c49e38ffef91bd82d9f0f4ffe4e7ad1c5aac34) feat(launcher-ui): add Release Radar and prominent sponsorship - [`addbd8c`](https://github.com/horizon-rust/horizon/commit/addbd8c8735ec0e277082a30225a0863c7642989) feat(launcher-ui): add the instance Content Workspace - [`5119c4a`](https://github.com/horizon-rust/horizon/commit/5119c4aeebf31f77a6f9155a3b2e600d5d526335) feat(launcher-ui): manage instance content from its workspace - [`86083f5`](https://github.com/horizon-rust/horizon/commit/86083f5e8d95232a02e57ccbcc2fde6a00526b67) feat(launcher-ui): add instance Worlds Files and Logs tabs ### 📊 Changes **21 files changed** (+4307 additions, -1287 deletions) <details> <summary>View changed files</summary> 📝 `launcher/src/agents_page.rs` (+16 -10) 📝 `launcher/src/browser/horizon.rs` (+9 -0) 📝 `launcher/src/browser/horizon/pack.rs` (+9 -4) ➕ `launcher/src/browser_controls.rs` (+647 -0) 📝 `launcher/src/collection.rs` (+11 -2) ➕ `launcher/src/content_checks.rs` (+99 -0) 📝 `launcher/src/cull.rs` (+2 -1) ➕ `launcher/src/instance_content.rs` (+783 -0) ➕ `launcher/src/instance_creation.rs` (+346 -0) ➕ `launcher/src/instance_page.rs` (+753 -0) ➕ `launcher/src/instance_profile.rs` (+427 -0) ➕ `launcher/src/instances.rs` (+159 -0) 📝 `launcher/src/lib.rs` (+2 -0) 📝 `launcher/src/main.rs` (+138 -590) 📝 `launcher/src/modpacks.rs` (+12 -1) 📝 `launcher/src/modpacks_page.rs` (+61 -286) 📝 `launcher/src/mods_page.rs` (+117 -222) 📝 `launcher/src/mods_project.rs` (+47 -159) ➕ `launcher/src/release_pages.rs` (+348 -0) 📝 `launcher/src/servers_page.rs` (+1 -12) _...and 1 more files_ </details> ### 📄 Description > 🤖 Opened by Robert's AI agent (OpenAI Codex, GPT-6.1 Sol), not by Robert himself. ## What and why Make the Instances + button open a native creation modal with name validation and an installed-build dropdown. Save an independent instance, open its workspace and keep keyboard focus inside the dialog until it closes. The create-instance modal remains separate from installing registry modpacks; registry installs create the owner’s native profiles. These are **native launcher UI and usability changes**: styling follows [Horizon’s design system](https://github.com/ludovic111/horizon/blob/main/docs/design-system.md#blocks), using square beveled Blocks surfaces, shared tokens, violet actions, Pixelify headings/buttons, Geist text and Pixelarticons. Pagination, virtualized lists and compact controls make large libraries easier to use and keep the launcher responsive. ## Registry dependencies Updated for the owner’s registry implementation: [index and `.hpack` format (#1634)](https://github.com/ludovic111/horizon/pull/1634) → [browser source (#1636)](https://github.com/ludovic111/horizon/pull/1636) → [install, toggles and takedowns (#1637)](https://github.com/ludovic111/horizon/pull/1637) → [Horizon browser UI (#1638)](https://github.com/ludovic111/horizon/pull/1638) → [native pack profiles (#1640)](https://github.com/ludovic111/horizon/pull/1640). The registry backend and format remain the owner’s work. This branch builds on #1640 and adapts the launcher UI around it. Related owner PRs remain separate: [registry website #1596](https://github.com/ludovic111/horizon/pull/1596), [submission page #1635](https://github.com/ludovic111/horizon/pull/1635), [file checks #1642](https://github.com/ludovic111/horizon/pull/1642), [registry tools #1646](https://github.com/ludovic111/horizon/pull/1646), and [submission service #1659](https://github.com/ludovic111/horizon/pull/1659). The owner’s source provides project, source and report links to those registry pages. This UI series does not deploy that service or add unsupported shader-pack installation. ## Draft dependency order Layer **11 of 17**. Depends on #1640. Also depends on https://github.com/ludovic111/horizon/pull/1621; the branch includes the earlier UI layers. The draft targets the existing upstream `feat/launcher-horizon-modpacks` branch so the owner’s implementation is excluded from the UI diff. [Review this layer’s focused diff](https://github.com/RobertTGreat/horizon/compare/86083f5e8d95232a02e57ccbcc2fde6a00526b67...2e3646f82c438d75bfb2f45e659f26a412172f0a); GitHub’s Files changed includes the earlier UI layers. Once the owner’s registry stack lands, retarget these drafts to `main`, merge the UI layers in order, and remove already-landed dependency commits before the next review. Layer commit: [`2e3646f8`](https://github.com/RobertTGreat/horizon/commit/2e3646f82c438d75bfb2f45e659f26a412172f0a). Draft status is unchanged. ## Validation - Every revised layer passes all-target Clippy with `-D warnings -A dead_code`; the exclusion covers the existing Windows `mojang.rs` dead-code diagnostics (`name_in`, `link_stays_inside`). - Assembled tip: **170 tests pass** (133 library + 37 binary), with three environment-dependent tests ignored. This includes native registry install/takedown/pack fixtures, `.hmod` switches, registry page totals and the 10,000-project virtualization regression. - Launcher formatting and whitespace checks pass. Test runs use isolated game/launcher/XDG homes, with self-update, audio and telemetry disabled. - No new visual walkthrough was performed for this registry revision. The earlier UI preview covered the approved Home composition, artwork, compact controls and a 5,000-mod workspace. <details><summary>Full-tip repository self-check (layer 17)</summary> **pr_ready** (`tools/pr_ready.py --quick --base origin/feat/launcher-horizon-modpacks` on DESKTOP-KI5NGSR, against origin/feat/launcher-horizon-modpacks at dbdc0389f, 21 s) | Check | Result | | --- | --- | | Scope | ⚠️ 36 files, +6596 −1739; 8335 lines of code: over 500, split it if it can ship in parts | | Cargo.lock | ✅ unchanged | | Public tree | ✅ | | Python tests | ➖ no Python change | | rustfmt | ➖ no Rust change | | clippy | ➖ no Rust change | | tests | ➖ no crate touched | | doc tests | ➖ no crate touched | | tokens.css up to date | ➖ theme untouched | | launcher rustfmt | ✅ | | launcher clippy | ❌ failed (4 s) | | launcher tests | ✅ 133 passed (13 s) | | Parity | ➖ not run (--quick): CI's parity job picks the affected harnesses | | Label | player-facing: `feature` if players get something new, no label for a fix (`release-now` if urgent) | </details> ## Series index | Layer | Draft PR | | --- | --- | | 1 | [fix(launcher): redraw virtualized lists after scroll jumps](https://github.com/ludovic111/horizon/pull/1612) | | 2 | [fix(launcher): bound content checks across browser searches](https://github.com/ludovic111/horizon/pull/1613) | | 3 | [feat(launcher): add isolated instance profiles](https://github.com/ludovic111/horizon/pull/1614) | | 4 | [feat(launcher-ui): simplify Content navigation and filter popovers](https://github.com/ludovic111/horizon/pull/1615) | | 5 | [feat(launcher-ui): organize complete Settings into icon sections](https://github.com/ludovic111/horizon/pull/1616) | | 6 | [feat(launcher-ui): group Versions into Installed and Available](https://github.com/ludovic111/horizon/pull/1617) | | 7 | [feat(launcher-ui): add Release Radar and prominent sponsorship](https://github.com/ludovic111/horizon/pull/1618) | | 8 | [feat(launcher-ui): add the instance Content Workspace](https://github.com/ludovic111/horizon/pull/1619) | | 9 | [feat(launcher-ui): manage instance content from its workspace](https://github.com/ludovic111/horizon/pull/1620) | | 10 | [feat(launcher-ui): add instance Worlds Files and Logs tabs](https://github.com/ludovic111/horizon/pull/1621) | | 11 | [feat(launcher-ui): create instances from the sidebar plus button](https://github.com/ludovic111/horizon/pull/1622) | | 12 | [feat(launcher-ui): select launch instances from the original Home page](https://github.com/ludovic111/horizon/pull/1623) | | 13 | [feat(launcher-ui): make Content cards easier to scan](https://github.com/ludovic111/horizon/pull/1624) | | 14 | [feat(launcher): resolve real instance and content artwork](https://github.com/ludovic111/horizon/pull/1625) | | 15 | [feat(launcher-ui): display real instance modpack and content icons](https://github.com/ludovic111/horizon/pull/1626) | | 16 | [feat(launcher-ui): paginate Content browsing with a View selector](https://github.com/ludovic111/horizon/pull/1627) | | 17 | [feat(launcher-ui): paginate and virtualize instance Content Workspace](https://github.com/ludovic111/horizon/pull/1628) | 🤖 Generated with [OpenAI Codex](https://openai.com/codex/). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 04:11:00 +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#3635
No description provided.