Skip to content

Offer Match to catalog for an imported HUD - #185

Merged
rndaom merged 2 commits into
mainfrom
rndaom/hud-match-imported
Nov 16, 2026
Merged

rndaom merged 2 commits into
mainfrom
rndaom/hud-match-imported

Conversation

@rndaom

@rndaom rndaom commented Nov 16, 2026

Copy link
Copy Markdown
Owner

Problem

A HUD imported from a file never gets update checks, even when the same HUD is in the catalog. The only way to link it was to remove it and install it again from Browse.

Change

  • An imported HUD that matches one catalog HUD shows Match to catalog in the HUD pane.
  • The match is by HUD id, ignoring case, punctuation and a trailing -master or -main, so a folder such as rayshud-master is recognised.
  • The button is hidden for catalog installs and when no single catalog HUD fits.

Guide, architecture notes and changelog are updated.

Checks

pnpm check, pnpm test

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.
@rndaom
rndaom merged commit fcd0ded into main Nov 16, 2026
11 checks passed
@rndaom
rndaom deleted the rndaom/hud-match-imported 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