[PR #1615] [CLOSED] feat(launcher-ui): simplify Content navigation and filter popovers #3631

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

📋 Pull Request Information

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

Base: feat/launcher-horizon-modpacks ← Head: feat/launcher-ui-content-controls


📝 Commits (4)

  • 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

📊 Changes

12 files changed (+1475 additions, -349 deletions)

View changed files

📝 launcher/src/browser/horizon.rs (+9 -0)
📝 launcher/src/browser/horizon/pack.rs (+9 -4)
➕ launcher/src/browser_controls.rs (+620 -0)
➕ launcher/src/content_checks.rs (+99 -0)
📝 launcher/src/cull.rs (+2 -1)
➕ launcher/src/instance_profile.rs (+427 -0)
➕ launcher/src/instances.rs (+159 -0)
📝 launcher/src/lib.rs (+2 -0)
📝 launcher/src/main.rs (+18 -2)
📝 launcher/src/modpacks.rs (+12 -1)
📝 launcher/src/mods_page.rs (+71 -182)
📝 launcher/src/mods_project.rs (+47 -159)

📄 Description

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

What and why

Rename Mods to Content and make Installed/Browse easier to distinguish. Compact search and toggleable sort/filter overlays reduce clutter; collapsed filter groups, Apply/Cancel, focus return and outside/Escape dismissal follow the existing Blocks components.

The compact source selector offers Modrinth and Horizon, with CurseForge still marked coming soon. Horizon does not show unsupported Java filters or sort choices. Project pages retain signed/unsigned and capability information before install; stale search metadata is ignored.

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 4 of 17. Depends on #1640. Also depends on https://github.com/ludovic111/horizon/pull/1614; 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: 24c6053f. 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/1615 **Author:** [@RobertTGreat](https://github.com/RobertTGreat) **Created:** 10/24/2026 **Status:** ❌ Closed **Base:** `feat/launcher-horizon-modpacks` ← **Head:** `feat/launcher-ui-content-controls` --- ### 📝 Commits (4) - [`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 ### 📊 Changes **12 files changed** (+1475 additions, -349 deletions) <details> <summary>View changed files</summary> 📝 `launcher/src/browser/horizon.rs` (+9 -0) 📝 `launcher/src/browser/horizon/pack.rs` (+9 -4) ➕ `launcher/src/browser_controls.rs` (+620 -0) ➕ `launcher/src/content_checks.rs` (+99 -0) 📝 `launcher/src/cull.rs` (+2 -1) ➕ `launcher/src/instance_profile.rs` (+427 -0) ➕ `launcher/src/instances.rs` (+159 -0) 📝 `launcher/src/lib.rs` (+2 -0) 📝 `launcher/src/main.rs` (+18 -2) 📝 `launcher/src/modpacks.rs` (+12 -1) 📝 `launcher/src/mods_page.rs` (+71 -182) 📝 `launcher/src/mods_project.rs` (+47 -159) </details> ### 📄 Description > 🤖 Opened by Robert's AI agent (OpenAI Codex, GPT-6.1 Sol), not by Robert himself. ## What and why Rename Mods to Content and make Installed/Browse easier to distinguish. Compact search and toggleable sort/filter overlays reduce clutter; collapsed filter groups, Apply/Cancel, focus return and outside/Escape dismissal follow the existing Blocks components. The compact source selector offers Modrinth and Horizon, with CurseForge still marked coming soon. Horizon does not show unsupported Java filters or sort choices. Project pages retain signed/unsigned and capability information before install; stale search metadata is ignored. 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 **4 of 17**. Depends on #1640. Also depends on https://github.com/ludovic111/horizon/pull/1614; 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/ce26899c0ecb902cb8374ee15af363390c69ca91...24c6053fba8a4cc3041317d896db8b0973d3b932); 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: [`24c6053f`](https://github.com/RobertTGreat/horizon/commit/24c6053fba8a4cc3041317d896db8b0973d3b932). 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:10: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#3631
No description provided.