feat(mods): menu theme mods load while the game runs, and two small menu follow-ups #3141
No reviewers
Labels
No labels
area/accessibility
area/audio
area/input
area/install
area/menu
area/mods
area/renderer
area/saves
area/tooling
area/upscaling
beanstalk: approved
beanstalk: failed
beanstalk: needs approval
beanstalk: running
beanstalk: tested
ci: approved
good first issue
gpu/amd
gpu/igpu
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
needs measurements
platform/linux
platform/macos
platform/steam-deck
platform/windows
preview
priority
critical
priority
high
priority
low
regression
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot!3141
Loading…
Reference in a new issue
No description provided.
Delete branch "HumanBean/Longshot:feat/theme-mods-live"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Work in progress: not tried in the game.
Three follow-ups to the menu work, one commit each:
to wait for a restart when copied in. It now joins, switches on and off, and can be removed while the game runs, as a
presets-only mod does since #3105. While it is off, its
theme shows as Modern dark and the player's choice is kept. Its Mods tab row lists "Menu themes".
unchanged: the permission prompt with each permission's words and risk, a code mod's warning and Accept, the grants and
the sandbox are as before. A permission's risk word "unsafe" in the prompt stays.
Testing
Tested: Linux, game-free, before the last rebase:
apitests (559 passed), the system mods' tests inmodtool(37 passed),
sysmod-cheats(59 passed, with #3140's testfix applied temporarily),
longshot-game's menu theme test. The new tests fail withmain's code. After rebasing ontothe current
main(no conflicts):test_i18n_complete,test_menu_i18n,test_doc_anchors; the Rust and mod testswere not run again. Clippy has not linted this (it stopped at an error on
mainthat #3140 fixes). Nothing was run inthe game.
Still to test:
mods, switch it on in the Mods tab, pick itstheme, switch it off, remove it; expecting each to apply at once and Modern dark while it is off (by hand).
label (by hand).
Measurements
Nothing to measure: it acts when a mod is added or switched, and changes texts.
Risks
Checklist
Ready for review
main; the title is a Conventional Commit. (three small follow-ups in one)mise run testpasses (any failure that also fails onmainis named). (not run whole)main, or Measurements says why there is nothing to measure.third_party/untouched; nothing GPL-incompatible.When it applies
tests/that reads changed source is updated, not weakened.mainand here, for a change that shows on screen. (not run)Assisted-by:/Co-Authored-By:trailers.Ready to merge
main, measured again or a comment says why the numbers still hold.🤖 Generated with Claude Code
https://claude.ai/code/session_017vw8e2fJhRpDrY7pgVx6oJ
WIP: feat(mods): menu theme mods load while the game runs, and two small menu follow-upsto feat(mods): menu theme mods load while the game runs, and two small menu follow-ups