feat(mods): a Mods page for the Rust launcher, with Discover, repositories and reviews #292

Merged
HumanBean merged 15 commits from HumanBean/LongshotLauncher:feat/rust-launcher-mods into main 2026-12-03 05:41:30 +00:00
Owner

Players need a Mods page in the Rust launcher: a place to see what is installed, find mods in repositories, and be asked before a mod's code or permissions are trusted. Contributors and testers need a pull request's version built on their own PC, with nothing installed but the launcher. This does both, on today's main.

What changed

  • Mods page: your mods as cards with a switch, built-in mods in a collapsed group, a side card with Settings, Details, Update, Uninstall and the load order (keyboard and controller reach all of it). Dragging a mod stays inside the list.
  • Add mods (Discover): search the repositories' mods, a hundred at a time; Install (a small pill on every row), Details, Uninstall. A repository card and a tidier repositories dialog.
  • One review dialog for install, update, uninstall, unsafe code and adding a repository. Nothing is installed or added until the review is confirmed.
  • Manual add reads what you chose: a .lsmod, a mod folder or zip, a folder or zip of romfs/exefs (also in an Atmosphere layout), or a file inside a mod. Each goes through the same review. Each refusal says what was found and what to do: wrong format, 7z/RAR, empty, several mods, a damaged zip, another game's files, and so on.
  • Mods change while the game plays: installing, updating, adding, ordering and removing a repository's mod no longer wait for the game to close; the game loads the list at its next start. Replacing or deleting a mod's own folder still waits.
  • Errors in a card (ErrorCard): title, summary, the builder's log tail, Copy. Used for the Mods page and for a failed build.
  • Pull request versions built on this PC: the launcher uses Longshot's build-tools crate (a checked copy in vendor/build-tools, scripts/build_tools.py). It downloads the commit's source, installs the tools its tools.lock names, compiles that commit's own builder once, and lets it build the version. No compiler, CMake, Ninja, Python, git or archiver is needed on Linux or Windows. A commit too old to build says so on its card. The build's cache is kept to 8 GB.
  • Progress: the download and the build show in the Download row. One bar covers the four steps and never goes back. Compiling the builder shows cargo's own count ("Compiling the builder (n/m crates)…").
  • Translations: every new text is in all catalogs. Claude wrote them; native speakers have not checked them.
  • Also: src/storage/reclaim.rs reformatted as rustfmt writes it (main failed cargo fmt --check).

Follow-up from testing

  • The import, add and remove dialogs no longer cut off their last line: the body's scroll view had 8px of padding the dialog's height did not count.
  • Remove repository says what removing does: installed mods stay but get no updates, and a build needs the repository back if their files leave the cache.
  • Keys are monospace inline code, and a repository's card shows more of its key.
  • Repositories can be dragged into order (grip, Ctrl+Space or Y, arrows). The higher one wins when two offer the same mod.
  • A selected mod shows its description and a link to its source above the licence. This needs Longshot mod-api 72711731 (manifest description/sourceCode, index description/source_code).
  • Versions: "PR #2822" and "Main" with the commit underneath; the pull request card is under the size; no release notes for pull request or main versions.
  • Storage lists "Builds from source" with Remove, the data cleanup includes it, and the 8 GB cap is applied after each build too. Nothing is deleted while a build holds its lock.
  • The import review names only the folders that are there, Discover's rows no longer show a version beside Install, and modules can be chosen while the builder downloads.

Head 33a86bb2: fmt, clippy, 388 tests (2 ignored), translations and the release build pass on Linux. The Windows clippy and the source build figures above are from the earlier head c120f177.

Tested

All on Linux (RTX 3090 PC), through the PC's job queue, on this head:

  • cargo fmt --check, cargo clippy --workspace --all-targets -D warnings on Linux and for Windows (x86_64-pc-windows-gnullvm, llvm-mingw), cargo test --workspace (383 passed, 2 ignored), scripts/translations.py, tests/test_launcher_core.py, scripts/build_tools.py check against Longshot mod-api b9bf697b, and cargo build --release: all pass.
  • A source build of Longshot mod-api (b9bf697b) through the launcher's own build (e2e_source_build), from an empty cache, to a version whose info answers:
    • First build: 236 s in all. Source 2 s; the tools 56 s (245 MB downloaded); the commit's builder 86 s (917 crates); the version 93 s. About 6.5 GB in from-source/.
    • Second build of the same commit: 41 s (the builder kept, so 3.6 s for it; the version 37 s).
    • The crate count went from 0/917 to 916/917 and its total never changed.

Note: adding_the_same_release_twice_creates_distinct_instances and copies_verified_artifacts_without_sharing_files_or_profile_data refuse to run, and fail, while any longshot-builder or game runs on the PC. They passed here because none was running.

Still to test

  • On Windows: the launcher has not been run there. The Windows build passes clippy, but nobody has run a pull request build or a manual add on Windows.
  • The game itself: playing with mods changed while it runs, and installing into a real game profile.
  • The Mods page, the error card and the Download row's bar, checked by eye. Screenshots need retaking for this head.
  • Native speakers' check of the translations.

🤖 Generated with Claude Code

https://claude.ai/code/session_017vw8e2fJhRpDrY7pgVx6oJ

Players need a Mods page in the Rust launcher: a place to see what is installed, find mods in repositories, and be asked before a mod's code or permissions are trusted. Contributors and testers need a pull request's version built on their own PC, with nothing installed but the launcher. This does both, on today's main. ## What changed - **Mods page:** your mods as cards with a switch, built-in mods in a collapsed group, a side card with Settings, Details, Update, Uninstall and the load order (keyboard and controller reach all of it). Dragging a mod stays inside the list. - **Add mods (Discover):** search the repositories' mods, a hundred at a time; Install (a small pill on every row), Details, Uninstall. A repository card and a tidier repositories dialog. - **One review dialog** for install, update, uninstall, unsafe code and adding a repository. Nothing is installed or added until the review is confirmed. - **Manual add reads what you chose:** a .lsmod, a mod folder or zip, a folder or zip of romfs/exefs (also in an Atmosphere layout), or a file inside a mod. Each goes through the same review. Each refusal says what was found and what to do: wrong format, 7z/RAR, empty, several mods, a damaged zip, another game's files, and so on. - **Mods change while the game plays:** installing, updating, adding, ordering and removing a repository's mod no longer wait for the game to close; the game loads the list at its next start. Replacing or deleting a mod's own folder still waits. - **Errors in a card** (`ErrorCard`): title, summary, the builder's log tail, Copy. Used for the Mods page and for a failed build. - **Pull request versions built on this PC:** the launcher uses Longshot's build-tools crate (a checked copy in `vendor/build-tools`, `scripts/build_tools.py`). It downloads the commit's source, installs the tools its `tools.lock` names, compiles that commit's own builder once, and lets it build the version. No compiler, CMake, Ninja, Python, git or archiver is needed on Linux or Windows. A commit too old to build says so on its card. The build's cache is kept to 8 GB. - **Progress:** the download and the build show in the Download row. One bar covers the four steps and never goes back. Compiling the builder shows cargo's own count ("Compiling the builder (n/m crates)…"). - **Translations:** every new text is in all catalogs. Claude wrote them; native speakers have not checked them. - Also: `src/storage/reclaim.rs` reformatted as rustfmt writes it (main failed `cargo fmt --check`). ## Follow-up from testing - The import, add and remove dialogs no longer cut off their last line: the body's scroll view had 8px of padding the dialog's height did not count. - Remove repository says what removing does: installed mods stay but get no updates, and a build needs the repository back if their files leave the cache. - Keys are monospace inline code, and a repository's card shows more of its key. - Repositories can be dragged into order (grip, Ctrl+Space or Y, arrows). The higher one wins when two offer the same mod. - A selected mod shows its description and a link to its source above the licence. This needs Longshot `mod-api` 72711731 (manifest `description`/`sourceCode`, index `description`/`source_code`). - Versions: "PR #2822" and "Main" with the commit underneath; the pull request card is under the size; no release notes for pull request or main versions. - Storage lists "Builds from source" with Remove, the data cleanup includes it, and the 8 GB cap is applied after each build too. Nothing is deleted while a build holds its lock. - The import review names only the folders that are there, Discover's rows no longer show a version beside Install, and modules can be chosen while the builder downloads. Head 33a86bb2: fmt, clippy, 388 tests (2 ignored), translations and the release build pass on Linux. The Windows clippy and the source build figures above are from the earlier head c120f177. ## Tested All on Linux (RTX 3090 PC), through the PC's job queue, on this head: - `cargo fmt --check`, `cargo clippy --workspace --all-targets -D warnings` on Linux and for Windows (`x86_64-pc-windows-gnullvm`, llvm-mingw), `cargo test --workspace` (383 passed, 2 ignored), `scripts/translations.py`, `tests/test_launcher_core.py`, `scripts/build_tools.py check` against Longshot `mod-api` b9bf697b, and `cargo build --release`: all pass. - A source build of Longshot `mod-api` (b9bf697b) through the launcher's own build (`e2e_source_build`), from an empty cache, to a version whose `info` answers: - First build: 236 s in all. Source 2 s; the tools 56 s (245 MB downloaded); the commit's builder 86 s (917 crates); the version 93 s. About 6.5 GB in `from-source/`. - Second build of the same commit: 41 s (the builder kept, so 3.6 s for it; the version 37 s). - The crate count went from 0/917 to 916/917 and its total never changed. Note: `adding_the_same_release_twice_creates_distinct_instances` and `copies_verified_artifacts_without_sharing_files_or_profile_data` refuse to run, and fail, while any `longshot-builder` or game runs on the PC. They passed here because none was running. ## Still to test - On Windows: the launcher has not been run there. The Windows build passes clippy, but nobody has run a pull request build or a manual add on Windows. - The game itself: playing with mods changed while it runs, and installing into a real game profile. - The Mods page, the error card and the Download row's bar, checked by eye. Screenshots need retaking for this head. - Native speakers' check of the translations. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_017vw8e2fJhRpDrY7pgVx6oJ
feat(mods): a Mods page for the Rust launcher, with Discover, repositories and reviews
All checks were successful
PR title / Conventional Commit title (pull_request) Successful in 4s
08844a5df3
The Mods page reads the builder's format 1 documents, as #268 does, in #284's style:
- Your mods and a collapsed Built in group as Saves-style cards; required built-in mods always on, the rest switchable.
- Add mods is Discover: search the repositories' mods, Install, Details, Uninstall; Add manually opens a file picker; Manage repositories is #284's side panel.
- One review dialog for install, update, uninstall, unsafe code and repositories: what a mod asks for, what it installs, its licence, a repository's key.
- One set of mod actions on the card, Discover's panel and the Details page.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017vw8dyKi9X9AgqbaPS28uY
HumanBean changed title from WIP: feat(mods): a Mods page for the Rust launcher, with Discover, repositories and reviews to feat(mods): a Mods page for the Rust launcher, with Discover, repositories and reviews 2026-11-27 00:37:56 +00:00
HumanBean changed target branch from rust-slint-launcher to main 2026-11-27 14:23:57 +00:00
HumanBean force-pushed feat/rust-launcher-mods from 08844a5df3
All checks were successful
PR title / Conventional Commit title (pull_request) Successful in 4s
to b13272c4b0
Some checks failed
CI / What the change needs (pull_request) Successful in 4s
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Successful in 13s
PR title / Conventional Commit title (pull_request) Successful in 8s
CI / Rust formatting, lint and tests (pull_request) Successful in 4m9s
CI / Release packages and stable upgrades (pull_request) Failing after 1h0m4s
2026-11-27 14:42:58 +00:00
Compare
Author
Owner

Rebased onto main after #284 merged (old head 08844a5d, new head b13272c4). Also adds the Mods page's texts to every catalog, since main's translations check now finds them. fmt, clippy, cargo test (171 passed), the release build and the translations check pass through the job queue.

Rebased onto main after #284 merged (old head 08844a5d, new head b13272c4). Also adds the Mods page's texts to every catalog, since main's translations check now finds them. fmt, clippy, cargo test (171 passed), the release build and the translations check pass through the job queue.
Author
Owner

Rebased onto main again (old head b13272c4, new head d33cb08c, on #299). Only ui/game-versions.slint (kept #301's layout, with the Add version button primary) and the catalogs conflicted. fmt, clippy, cargo test (173 passed), the release build and the translations check pass through the job queue.

Rebased onto main again (old head b13272c4, new head d33cb08c, on #299). Only ui/game-versions.slint (kept #301's layout, with the Add version button primary) and the catalogs conflicted. fmt, clippy, cargo test (173 passed), the release build and the translations check pass through the job queue.
HumanBean force-pushed feat/rust-launcher-mods from b13272c4b0
Some checks failed
CI / What the change needs (pull_request) Successful in 4s
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Successful in 13s
PR title / Conventional Commit title (pull_request) Successful in 8s
CI / Rust formatting, lint and tests (pull_request) Successful in 4m9s
CI / Release packages and stable upgrades (pull_request) Failing after 1h0m4s
to d33cb08c71
Some checks failed
CI / What the change needs (pull_request) Successful in 9s
PR title / Conventional Commit title (pull_request) Successful in 10s
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Successful in 15s
CI / Rust formatting, lint and tests (pull_request) Successful in 12m47s
CI / Release packages and stable upgrades (pull_request) Failing after 1h0m3s
2026-11-27 17:44:45 +00:00
Compare
Author
Owner

Rebased onto main (#318) again (old head d33cb08c, new head 1c08ce08). #318's switching mods while the game runs now also covers a required dependency's enable. One #318 test now starts from an accepted mod, because this page shows a mod awaiting its code review as off. fmt, clippy, cargo test (182 passed), the release build and the translations check pass through the job queue.

Rebased onto main (#318) again (old head d33cb08c, new head 1c08ce08). #318's switching mods while the game runs now also covers a required dependency's enable. One #318 test now starts from an accepted mod, because this page shows a mod awaiting its code review as off. fmt, clippy, cargo test (182 passed), the release build and the translations check pass through the job queue.
HumanBean force-pushed feat/rust-launcher-mods from d33cb08c71
Some checks failed
CI / What the change needs (pull_request) Successful in 9s
PR title / Conventional Commit title (pull_request) Successful in 10s
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Successful in 15s
CI / Rust formatting, lint and tests (pull_request) Successful in 12m47s
CI / Release packages and stable upgrades (pull_request) Failing after 1h0m3s
to 1c08ce08ba
Some checks failed
CI / What the change needs (pull_request) Successful in 6s
PR title / Conventional Commit title (pull_request) Successful in 6s
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Successful in 11s
CI / Rust formatting, lint and tests (pull_request) Successful in 9m36s
CI / Release packages and stable upgrades (pull_request) Failing after 1h0m2s
2026-11-27 22:18:10 +00:00
Compare
HumanBean force-pushed feat/rust-launcher-mods from 1c08ce08ba
Some checks failed
CI / What the change needs (pull_request) Successful in 6s
PR title / Conventional Commit title (pull_request) Successful in 6s
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Successful in 11s
CI / Rust formatting, lint and tests (pull_request) Successful in 9m36s
CI / Release packages and stable upgrades (pull_request) Failing after 1h0m2s
to 5f40bf927b
Some checks failed
CI / What the change needs (pull_request) Successful in 4s
PR title / Conventional Commit title (pull_request) Successful in 6s
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Successful in 10s
CI / Rust formatting, lint and tests (pull_request) Failing after 13m23s
CI / Release packages and stable upgrades (pull_request) Failing after 30m29s
2026-12-01 18:34:57 +00:00
Compare
Author
Owner

Rebased onto main (#388): new head 5f40bf92 (was 1c08ce08). Conflicts resolved, including the mods page taking main's HeaderStatus, ListCard and changed-switches work. UI now uses the shared ListCard, Pressable, SideSheet and ConfirmDialog, icons instead of text glyphs, and repository rows are reachable by keyboard and controller. Cold-review fixes: Enter selects a card instead of toggling it, the page notes show, disk refresh keeps open reviews, command timeouts corrected. fmt, clippy, cargo test (298) and the translations check pass. Screenshots need retaking.

Rebased onto main (#388): new head 5f40bf92 (was 1c08ce08). Conflicts resolved, including the mods page taking main's HeaderStatus, ListCard and changed-switches work. UI now uses the shared ListCard, Pressable, SideSheet and ConfirmDialog, icons instead of text glyphs, and repository rows are reachable by keyboard and controller. Cold-review fixes: Enter selects a card instead of toggling it, the page notes show, disk refresh keeps open reviews, command timeouts corrected. fmt, clippy, cargo test (298) and the translations check pass. Screenshots need retaking.
HumanBean force-pushed feat/rust-launcher-mods from 5f40bf927b
Some checks failed
CI / What the change needs (pull_request) Successful in 4s
PR title / Conventional Commit title (pull_request) Successful in 6s
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Successful in 10s
CI / Rust formatting, lint and tests (pull_request) Failing after 13m23s
CI / Release packages and stable upgrades (pull_request) Failing after 30m29s
to 5776ba7eb6
Some checks failed
CI / What the change needs (pull_request) Successful in 5s
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Successful in 10s
PR title / Conventional Commit title (pull_request) Successful in 5s
CI / Rust formatting, lint and tests (pull_request) Failing after 12m6s
CI / Release packages and stable upgrades (pull_request) Failing after 31m7s
2026-12-01 19:34:28 +00:00
Compare
Author
Owner

Final pass, new head 5776ba7e (was 5f40bf92): the pull-request block in Add version now follows the data and cache folder button, and a built PR version shows its title, author and BigBean line in the Versions sidebar; an ErrorCard (with Copy) for failures at the foot of the main area; Discover paging, dash search words, the restart marker, cleaned review values; every new text in all catalogs; the unreachable Manual/Emulators sections and the hidden toggles removed. fmt, clippy, tests (306), translations and the release build pass; a second cold review's fixes are in. Screenshots to retake.

Final pass, new head 5776ba7e (was 5f40bf92): the pull-request block in Add version now follows the data and cache folder button, and a built PR version shows its title, author and BigBean line in the Versions sidebar; an ErrorCard (with Copy) for failures at the foot of the main area; Discover paging, dash search words, the restart marker, cleaned review values; every new text in all catalogs; the unreachable Manual/Emulators sections and the hidden toggles removed. fmt, clippy, tests (306), translations and the release build pass; a second cold review's fixes are in. Screenshots to retake.
feat(versions): a pull request's version is built by its own CI-built builder, downloaded in parts and checked by SHA-256
Some checks failed
CI / What the change needs (pull_request) Successful in 3s
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Successful in 8s
PR title / Conventional Commit title (pull_request) Successful in 5s
CI / Rust formatting, lint and tests (pull_request) Successful in 12m7s
CI / Release packages and stable upgrades (pull_request) Failing after 33m3s
9f0b276887
fix(versions): a CI builder's card says pull request only for one; the old-processor note names main and PRs
Some checks failed
CI / What the change needs (pull_request) Successful in 2s
PR title / Conventional Commit title (pull_request) Successful in 4s
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Successful in 6s
CI / Rust formatting, lint and tests (pull_request) Has been cancelled
CI / Release packages and stable upgrades (pull_request) Has been cancelled
c9860121e0
main's and mod-api's builders get titles of their own ("This version's builder isn't ready yet", ...),
translated in every catalog; a test holds each state's title to its kind. The wizard's note for a processor
the prebuilt versions can't run no longer offers the removed build from source.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016o1k1SQVyAWsujjFVd8Wuc
The Add version dialog and the Versions sidebar show a pull request as one
card: its number as a chip, its title on one line (all of it on hover), the
author and commit, and a badge saying whether a BigBean approved it. The Add
dialog drops the rule above it, says the warning in one short line with an
icon, and its box reads "Build and run this commit".

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Longshot's pr-builder.yml is now "Builders for the launcher" with Linux builder, Windows builder and Publish
jobs; Forgejo names a status <workflow> / <job> (<event>), so the launcher reads the contexts that start
"Builders for the launcher /".

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016o1k1SQVyAWsujjFVd8Wuc
fix(versions): the PR builder's not-ready card sits under the approval box, and the game file check waits instead of failing
Some checks failed
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Has been cancelled
CI / Rust formatting, lint and tests (pull_request) Has been cancelled
CI / Release packages and stable upgrades (pull_request) Has been cancelled
PR title / Conventional Commit title (pull_request) Has been cancelled
7d2beba602
HumanBean force-pushed feat/rust-launcher-mods from 7d2beba602
Some checks failed
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Has been cancelled
CI / Rust formatting, lint and tests (pull_request) Has been cancelled
CI / Release packages and stable upgrades (pull_request) Has been cancelled
PR title / Conventional Commit title (pull_request) Has been cancelled
to 219390dade
Some checks failed
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Has been cancelled
CI / Rust formatting, lint and tests (pull_request) Has been cancelled
CI / Release packages and stable upgrades (pull_request) Has been cancelled
PR title / Conventional Commit title (pull_request) Has been cancelled
2026-12-01 23:17:29 +00:00
Compare
fix(versions): a pull request's card shows its whole title, its BigBean badge follows the author and commit, and its version has no pr- tag line
Some checks failed
CI / What the change needs (pull_request) Successful in 5s
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Successful in 10s
PR title / Conventional Commit title (pull_request) Successful in 6s
CI / Rust formatting, lint and tests (pull_request) Successful in 12m13s
CI / Release packages and stable upgrades (pull_request) Has been cancelled
3a36867df9
The Installed mods list gets a drag handle on each of the player's own mods: the held row lifts (scale and shadow), the
others slide out of the way, it settles into its place and the order is saved with the builder's `mod order --up|--down`
(one step a place; a refusal takes the steps back, reads the builder's order and shows the error card). Ctrl+Space or the
controller's Y grabs a row, Up and Down move it, A, Enter, Space or Y drop it and B or Escape put it back. The index math
is in src/mods/reorder.rs (tested) and the widget is ReorderList in ui/widgets.slint.

Mods and Saves share EmptyState (normal and warning kinds); with no game version installed both say so and send the
player to Versions.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
feat(pr-build): a pull request's version is built on the PC by that commit's own builder, which the launcher compiles with the toolchain the commit pins
Some checks failed
CI / What the change needs (pull_request) Successful in 4s
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Successful in 11s
PR title / Conventional Commit title (pull_request) Successful in 6s
CI / Rust formatting, lint and tests (pull_request) Successful in 13m17s
CI / Release packages and stable upgrades (pull_request) Failing after 15m8s
bfb7ef0f4a
Longshot's CI builder download is gone (its route and its error states). The launcher gets the commit's source, Rust and
build tools by the commit's own pins (renhdrum.py, tools.lock; SHA-256 checked, unpacked in Rust, into the builder's
own cache), CMake, Ninja, Python and glslang by its own, compiles the commit's longshot-builder, checks its protocol and
runs its `from-source --archive`. An older commit with no `from-source` falls back to the nightly's. Error cards say which
step stopped; the contributor warning and the pull request number confirmation stay.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
feat(versions): a pull request's description is its version's release notes
Some checks failed
CI / What the change needs (pull_request) Successful in 4s
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Successful in 11s
PR title / Conventional Commit title (pull_request) Successful in 8s
CI / Rust formatting, lint and tests (pull_request) Has been cancelled
CI / Release packages and stable upgrades (pull_request) Has been cancelled
1de8c3e444
HumanBean force-pushed feat/rust-launcher-mods from 1de8c3e444
Some checks failed
CI / What the change needs (pull_request) Successful in 4s
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Successful in 11s
PR title / Conventional Commit title (pull_request) Successful in 8s
CI / Rust formatting, lint and tests (pull_request) Has been cancelled
CI / Release packages and stable upgrades (pull_request) Has been cancelled
to 444730ec60
Some checks failed
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Has been cancelled
CI / Rust formatting, lint and tests (pull_request) Has been cancelled
CI / Release packages and stable upgrades (pull_request) Has been cancelled
PR title / Conventional Commit title (pull_request) Has been cancelled
2026-12-02 02:12:00 +00:00
Compare
feat(mods): a repository card, a tidier repositories dialog and an Install button on every Discover row (#292)
Some checks failed
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Has been cancelled
CI / Rust formatting, lint and tests (pull_request) Has been cancelled
CI / Release packages and stable upgrades (pull_request) Has been cancelled
PR title / Conventional Commit title (pull_request) Has been cancelled
9be23883d0
fix(mods): Discover's Install button is a small pill centred in its row, not the row's full height
Some checks failed
CI / What the change needs (pull_request) Successful in 3s
PR title / Conventional Commit title (pull_request) Successful in 4s
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Successful in 7s
CI / Rust formatting, lint and tests (pull_request) Successful in 13m55s
CI / Release packages and stable upgrades (pull_request) Failing after 14m14s
df467e8c52
fix(mods): a dragged mod stays inside the list, and only a mod taken with the keys says Grabbed
Some checks failed
CI / What the change needs (pull_request) Successful in 3s
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Successful in 8s
PR title / Conventional Commit title (pull_request) Successful in 4s
CI / Rust formatting, lint and tests (pull_request) Successful in 12m58s
CI / Release packages and stable upgrades (pull_request) Failing after 15m16s
04e56d86b0
fix(mods): buttons side by side in the mod panel are the same width
Some checks failed
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Has been cancelled
CI / Rust formatting, lint and tests (pull_request) Has been cancelled
CI / Release packages and stable upgrades (pull_request) Has been cancelled
PR title / Conventional Commit title (pull_request) Has been cancelled
da15f8136e
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017vw8e2fJhRpDrY7pgVx6oJ
fix(mods): a mod is installed or added only once its review is confirmed
Some checks failed
CI / What the change needs (pull_request) Successful in 5s
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Successful in 11s
PR title / Conventional Commit title (pull_request) Successful in 6s
CI / Rust formatting, lint and tests (pull_request) Successful in 13m0s
CI / Release packages and stable upgrades (pull_request) Failing after 13m24s
87858cc4b6
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017vw8e2fJhRpDrY7pgVx6oJ
fix(launcher): a pull request's build shows in the Download row with one bar and cargo's count, and mods change while the game plays
Some checks failed
CI / What the change needs (pull_request) Successful in 5s
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Successful in 10s
PR title / Conventional Commit title (pull_request) Successful in 6s
CI / Rust formatting, lint and tests (pull_request) Successful in 12m53s
CI / Release packages and stable upgrades (pull_request) Failing after 13m56s
3075355ae7
The Download row has the download, the source, the shaders and the builder's compile; the Game file row only the file's
own check. One bar for the four steps that never goes back, and the crates done of all (cargo's own count). Installing,
updating, adding, ordering and removing a repository's mod no longer wait for the game to close: the builder writes the
list under the profile's edit lock, and the running game loads it at its next start. A mod's own folder replaced or
deleted still waits.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017vw8e2fJhRpDrY7pgVx6oJ
HumanBean force-pushed feat/rust-launcher-mods from 3075355ae7
Some checks failed
CI / What the change needs (pull_request) Successful in 5s
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Successful in 10s
PR title / Conventional Commit title (pull_request) Successful in 6s
CI / Rust formatting, lint and tests (pull_request) Successful in 12m53s
CI / Release packages and stable upgrades (pull_request) Failing after 13m56s
to c120f177b1
Some checks failed
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Has been cancelled
CI / Rust formatting, lint and tests (pull_request) Has been cancelled
CI / Release packages and stable upgrades (pull_request) Has been cancelled
PR title / Conventional Commit title (pull_request) Has been cancelled
2026-12-02 21:02:06 +00:00
Compare
Author
Owner

Updated for the new head c120f177: rebased onto current main, with manual add, mods changing while the game plays, the build-tools cleanup and the Windows build fix. The history was rewritten (the old head was 3075355a).

Updated for the new head c120f177: rebased onto current main, with manual add, mods changing while the game plays, the build-tools cleanup and the Windows build fix. The history was rewritten (the old head was 3075355a).
fix(launcher): optional modules can be chosen while the builder downloads and the game file is checked
Some checks failed
CI / What the change needs (pull_request) Successful in 4s
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Successful in 9s
PR title / Conventional Commit title (pull_request) Successful in 6s
CI / Rust formatting, lint and tests (pull_request) Has been cancelled
CI / Release packages and stable upgrades (pull_request) Has been cancelled
de8b045a5b
The Build page's module cards refused to open while anything was busy, though their choices are only read when the build starts.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017vw8e2fJhRpDrY7pgVx6oJ
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017vw8e2fJhRpDrY7pgVx6oJ
The review dialogs measured their body without the scroll view's 8px end padding, so the box was always 8px short and
the fade covered its last lines: the body's scroll view has no end padding now. Removing a repository is a review like
the others (what happens to its installed mods, its address, "Remove repository"). The Add dialog's key and the
repository card's key are inline code in a monospace family this PC has (Typography.mono-family: Slint does not resolve
"monospace"), the card's showing 14 + 6 characters. The repositories' list uses the mods' ReorderList and a shared
ReorderHandle (pointer, Ctrl+Space or Y, arrows): source order decides which repository wins a clash. A selected mod
shows its description (installed: its manifest's; Discover: the index's) and a SOURCE CODE link above its licence,
opened in the browser only when https://.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017vw8e2fJhRpDrY7pgVx6oJ
A row's title and the side panel's were the raw tag (pr-2822-7d5f9718); the commit is now a small line under the title
(VersionRow.subtitle), as on the list. The pull request card moved below Size on disk, and Release notes shows only
for a release.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017vw8e2fJhRpDrY7pgVx6oJ
feat(storage): the build cache from source is on the Storage page and in the data cleanup, and its 8 GB cap holds after a build too
Some checks failed
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Has been cancelled
CI / Rust formatting, lint and tests (pull_request) Has been cancelled
CI / Release packages and stable upgrades (pull_request) Has been cancelled
PR title / Conventional Commit title (pull_request) Has been cancelled
33a86bb2af
<cache>/longshot-builder/from-source is listed as "Builds from source" (Build tools) with its size and Remove, and
the launcher's data cleanup takes it; both hold its two locks first (launcher.lock, longshot-builder.lock), so nothing
goes while a build holds it. The cap is applied again once the version is built, taking the builder's lock only when
it is free.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017vw8e2fJhRpDrY7pgVx6oJ
Author
Owner

Pushed 33a86bb2: the changes from testing the launcher (see "Follow-up from testing" in the description).

Pushed 33a86bb2: the changes from testing the launcher (see "Follow-up from testing" in the description).
fix(mods): a row's switch is centred with its label, and the handle sits closer to the icon
Some checks failed
CI / What the change needs (pull_request) Successful in 5s
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Successful in 11s
PR title / Conventional Commit title (pull_request) Successful in 6s
CI / Rust formatting, lint and tests (pull_request) Successful in 11m59s
CI / Release packages and stable upgrades (pull_request) Failing after 41m58s
d40e3897e3
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017vw8e2fJhRpDrY7pgVx6oJ
Member

🤖 A player building MagicBeanDev/Longshot#2966 (4571673d) from the Launcher gets scripts/renhdrum.py has no RUST_VERSION. The Launcher uses the newest nightly's builder, made from main, and it can't read mod-api's tools.lock layout. This pull request looks like the fix. From reading the code, the order matters:

  • This one released before mod-api merges: today's main, and pull requests based on it, are refused as too old, since their tools.lock names no Rust.
  • mod-api merged first: main builds fail with this error until the next nightly. After that, Linux still fails with today's Launcher, which looks for Longshot.x86_64 where the new builder makes Longshot.

Could the two go out together, or could the Launcher keep the nightly builder for commits with the old layout? Nothing was built or run from the pull request. The checks were code reading, plus main's two parsers run on both trees' files.

🤖 A player building https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/2966 (4571673d) from the Launcher gets `scripts/renhdrum.py has no RUST_VERSION`. The Launcher uses the newest nightly's builder, made from main, and it can't read mod-api's `tools.lock` layout. This pull request looks like the fix. From reading the code, the order matters: - This one released before mod-api merges: today's main, and pull requests based on it, are refused as too old, since their `tools.lock` names no Rust. - mod-api merged first: main builds fail with this error until the next nightly. After that, Linux still fails with today's Launcher, which looks for `Longshot.x86_64` where the new builder makes `Longshot`. Could the two go out together, or could the Launcher keep the nightly builder for commits with the old layout? Nothing was built or run from the pull request. The checks were code reading, plus main's two parsers run on both trees' files.
fix(players): a profile's settings are read and written in the form its version's game keeps them
Some checks failed
CI / What the change needs (pull_request) Successful in 3s
PR title / Conventional Commit title (pull_request) Successful in 4s
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Successful in 8s
CI / Rust formatting, lint and tests (pull_request) Successful in 11m24s
CI / Release packages and stable upgrades (pull_request) Failing after 45m9s
bdb5f5d952
A game whose build record lists the settings_folder capability keeps a profile's settings in
settings/settings.toml (and reads settings/settings.ini, copied from the profile's settings.ini, once
before it has written one). The Game language row, a reused build's language and an update's language
now edit that file, in its ["system/interface"] table, every other line kept; the Saved/Default row
reads it; a version's removal keeps a profile-less game's settings/ and config/ files. Older games keep
settings.ini.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017vw8e2fJhRpDrY7pgVx6oJ
Game.status is drawn through Locale.t, but these three were set as bare literals no catalog had, so
they showed in English in every language. They are i18n::key()s now (scripts/translations.py sees
them) with a line in each full catalog.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017vw8e2fJhRpDrY7pgVx6oJ
fix(i18n): the launcher's status lines, notices, notes and dialog titles are translated, and translations.py refuses a bare one
Some checks failed
CI / What the change needs (pull_request) Successful in 6s
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Successful in 12s
PR title / Conventional Commit title (pull_request) Successful in 6s
CI / Rust formatting, lint and tests (pull_request) Successful in 13m45s
CI / Release packages and stable upgrades (pull_request) Failing after 32m14s
5b488614bf
The Preferences, Update and mod store status lines, the diagnostics' Saved and Sent lines, the tools note, the
notices, the requirements summary and the file dialogs' titles were set from Rust as bare English, drawn as they
came. They go through i18n::now() now: the text in the language the launcher shows (kept by bind and Preferences),
with a line in each full catalog. scripts/translations.py finds now() keys and fails on a set_<property>("...")
literal that is not wrapped (file names and internal phases excepted).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017vw8e2fJhRpDrY7pgVx6oJ
feat(mods): the Repositories sheet suggests no repository: the builder adds the default one
Some checks failed
CI / What the change needs (pull_request) Successful in 5s
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Successful in 11s
PR title / Conventional Commit title (pull_request) Successful in 6s
CI / Rust formatting, lint and tests (pull_request) Failing after 43s
CI / Release packages and stable upgrades (pull_request) Failing after 31m58s
d5661413ee
MagicBeanDev/LongshotMods comes from the builder's mod tools now, already added with its key pinned, so the
suggestion box and its two strings (in every catalog) are gone; the empty state stays for a player who removed it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017vw8e2fJhRpDrY7pgVx6oJ
HumanBean deleted branch feat/rust-launcher-mods 2026-12-03 05:41:30 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
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
MagicBeanDev/LongshotLauncher!292
No description provided.