Skip to content

Point wrong-pane imports at Mods - #186

Merged
rndaom merged 4 commits into
mainfrom
rndaom/wrong-pane-imports
Nov 16, 2026
Merged

rndaom merged 4 commits into
mainfrom
rndaom/wrong-pane-imports

Conversation

@rndaom

@rndaom rndaom commented Nov 16, 2026

Copy link
Copy Markdown
Owner

Problem

Importing the wrong kind of file in the HUD or Viewmodels pane only produced a failure message. Nothing said where the file does belong.

Change

  • Importing something that is not a HUD in the HUD pane leaves a "That isn't a HUD" notice with Open Mods.
  • Importing a pack that holds more than viewmodel files in Viewmodels leaves a matching notice with Open Mods.
  • Both failures now carry their own error code so the UI does not have to match on message text.

Sounds is unchanged: its file picker already accepts only audio.

Guide, architecture notes and changelog are updated.

Checks

pnpm check, pnpm test, cargo fmt --all --check, cargo clippy --workspace --all-targets -- -D warnings, cargo test --workspace --locked

An imported HUD that is also in the catalog now shows Match to catalog, so it can get update checks without being reinstalled. Folder names such as rayshud-master match their catalog HUD; the button stays hidden when no single catalog HUD fits.
Importing something that is not a HUD in the HUD pane, or a pack with more than viewmodel files in Viewmodels, now leaves a notice with an Open Mods button instead of only a failure message.
@rndaom
rndaom merged commit 03de584 into main Nov 16, 2026
11 checks passed
@rndaom
rndaom deleted the rndaom/wrong-pane-imports branch November 16, 2026 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant